Meaningless Drivel is fun!
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Frames" Watch "Frames" New topic


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"

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
I agree. Here's the link:
subject: Frames
It's not a secret anymore!