wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Frames" Watch "Frames" New topic
Author

Frames

Lisa Smith
Ranch Hand

Joined: Sep 24, 2002
Posts: 57
I would like to know how to create four frames in each corner of the screen. I know how to create the frame but I don't know how to place them in each corner.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to Swing / AWT


"JavaRanch, where the deer and the Certified play" - David O'Meara
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
You just have to call the setPosition(), setSize() or setBounds() function. Look at the Java API for the appropriate one.


Java API Documentation
The Java Tutorial
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Frames