The Artima Developer Community
Sponsored Link •

Design Forum
How to use Layout of Swing efficiently and correctly?

1 reply on 1 page. Most recent reply: May 28, 2002 3:29 PM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
jackfang

Posts: 2
Nickname: jack
Registered: May, 2002

How to use Layout of Swing efficiently and correctly? Posted: May 18, 2002 6:19 AM
Reply to this message Reply
Advertisement
I 'm puzzled in the layout of Swing and AWT ,it isn't as easy as VB,and sometimes it's hard to control.somebody tell me how and why to use layout ?


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: How to use Layout of Swing efficiently and correctly? Posted: May 28, 2002 3:29 PM
Reply to this message Reply
You are partly right using Layout managers can sometimes be a pain, but then you could also envisage to get a proper IDE like JBuilder to do that for your self :-)

Also, you could just go / look for some of the hard code version of the LayoutManagers wher eyou just pass the location of the Component position.

But don't go for th easy track, just create your own placers based upon the GridBagLayoutManager.

Thomas SMETS,
SCJP2 - Brussels

Flat View: This topic has 1 reply on 1 page
Topic: How to use Layout of Swing efficiently and correctly? Previous Topic   Next Topic Topic: Thousand of BeanId in the bin directory

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use