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

Using the GridBagLayout

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My assignment says about the userinterface

It must be composed exclusively with components from the Java Foundation Classes (Swing components).

The GridBagLayout is from awt package.
Can i use the gridbag layout to layout the components??
 
Liviu Carausu
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure that you can use the GridBagLayout.
I think that the statement about Swing components says for example that you have to use lightweight components of Swing and not the heavyweight from AWT. This means, for example use javax.swing.JDialog and not java.awt.Dialog.

Greetings,
Liviu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic