Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic