• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

General question about GUI design

 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just thinking about the constraints in a PDA, and I'd like to know what you guys think about Layout Managers and GUIs.
Let's say you have a small GUI (duh, it's a PDA!), with just a few buttons and a couple of TextFields. What do you think would be the best solution (in general)?
1) having a single powerfull Layout Manager (such as GridBagLayout), with a few GridBagConstraints
2) or maybe a mix of Layouts, containing two or three Panels, each one with its own Layout Manager (simple ones such as FlowLayout)
On the desktop I usually like to use GridBagLayout, and when something doesn't work, I just insert a Panel with its own Layout. But I don't know if that'd be overdoing it for a PDA.
I don't have a PDA to test my applications, so that's why I ask your opinion guys.
Cheers
Fernando
 
Daryl Wilding-McBride
Author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In terms of using layout managers, I think the principles are similar to desktop development, only in a smaller area. You use what you need to use to get the display right. So don't feel that you need to cut down on the number of layout managers.
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>> So don't feel that you need to cut down on the number of layout managers
Great, then I'll use GridBagLayout and when nessesary include a simpler one inside it
Thanks again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic