Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frames

 
Lisa Smith
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Swing / AWT
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You just have to call the setPosition(), setSize() or setBounds() function. Look at the Java API for the appropriate one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic