aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Empty Panels Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Empty Panels" Watch "Empty Panels" New topic
Author

Empty Panels

Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Hi,
I'm redesigning my GUI (again!) and was wondering if it was considered bad practice or anything like that to have a few
blank Panels in your GUI just to make the layout managers display things the way you want them.
With Respect,
Matt
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I don't believe so. But before you do that, are you sure you can't use layoutmanager like GridBag to handle them?
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
GridBag would definately work, but the problem I have with GridBag is that occassionally you can make small changes to your GUI and it might require that you totally rework everything. I'm probably just prejudice because I find GridBag complicated and frustrating.
Matt
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Yeah Matt. GridBag is a bitch. I spend alot of time on it, it's the most powerful layout manager. After awhile, I'm kind of used to it now.
 
 
subject: Empty Panels
 
Threads others viewed
Adding a JPanel to BoxLayout from
Custom label+text field component
GUI advice appreciated
grid bag panels overlap : please HELP if you can
Collapsible Panel?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com