The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Re: Absolute Positioning in GUI

Posted by Brian Sanders on November 28, 2001 at 1:22 PM

I'm assuming what you're asking is how you make a frame with components that the user can add and move around. The easiest way to do this is with a desktop pane and internal frames. See How to Use Internal Frames in the Java Tutorial for this approach.

If you just want to specify an absolute position (without allowing the user to move the components), you might want to use a null layout manager. See here for the tutorial section on this.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us