• 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

Layouts

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

do you know some links to extensive swing layouts description?
I need general description, pros/cons and possible examples.

Thanks in advance,
Radek
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure I am telling you anything new.

I presume you have been through the Java tutorial about layout managers? In fact anybody ought to try the Java tutorial first for most questions.

Cay Horstmann (cf Horstmann C, Cornell G, Core Java 2, vol I-Fundamentals, Santa Clara: Sun Microsystems Press, 2004, pages 430-440) and this website) has his own ideas about GridBagLayout, and has a "helper" class which you can download from the website cited. I agree with him that it makes GridBagLayout much much easier to use.

BTW: If you really are a "greenhorn," borrow the book from the library rather than buying it. It is not suitable for beginners.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic