• Post Reply Bookmark Topic Watch Topic
  • New Topic

opening a frame right beneath the calling button

 
Fon Drank
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I have a button that calls a pop up frame.

when using frame.setLocationRelativeTo(button), it centers my frame around the button. But I want the location of the frame to be right underneath the button. Is there an easy way to accomplish this?
 
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!