• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

General question about GUI design

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic