• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it a bug?

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a method called addLayoutComponent(String name, Component comp) in CardLayout is shown depreciated using javac, but it's not specified in the latest API Specification.
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What SDK are you using? The API docs for 1.4.2 show it to be deprecated. Here's the link: CardLayout.addLayoutComponent
[ May 03, 2004: Message edited by: Michael Morris ]
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!