• Post Reply Bookmark Topic Watch Topic
  • New Topic

Valid / Invalid Layout managers

 
agriffin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will Sun penalize me for using "AWT" layout managers, like FlowLayout or GridBagLayout? Technically these are not part of Swing's package, and I didn't want to get burned on such an insignificant thing.
Thanks,
Andrew
 
Rick Fortier
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used CardLayout and GridBagLayout and passed. Aren't all layout managers from AWT?
 
Kevin Yip
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my case Sun only mentioned Components have to be from JFC(Swing). Not Layout managers.
 
agriffin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys. Rick - javax.swing now includes a BoxLayout, which made me think it wasn't an AWT layout.
Thanks again,
Andrew
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
agriffin
Welcome to Javaranch. We follow certain conventions with respect to the User name as given in the document here .
Your user name does not follow these conventions. Please re-register with a name following these conventions.
Thanks.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!