Take a look at the anchor property.
Edit: You'll also need to look at the weightx property. You can read about it in the general notes for the GridBagLayout class.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Take a look at the anchor property.
Edit: You'll also need to look at the weightx property. You can read about it in the general notes for the GridBagLayout class.
And weighty , of course (if he wants the upperleft, otherwise he'll just get the left. ;-)
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494