Skip to main content



      Home
Home » Archived » Visual Editor (VE) » center frame
center frame [message #617531] Wed, 02 December 2009 13:53
Eclipse UserFriend
I have a bit of code, that I normally use to center a frame that I made "by hand", but somehow, It doesn't seem to have an effect on VE created frames. What could I be doing wrong? :blush:

this.setLocation((Toolkit.getDefaultToolkit().getScreenSize( ).width/2)-(getSize().width/2), (Toolkit.getDefaultToolkit().getScreenSize().height/2)-(getS ize().height/2));
Previous Topic:center frame
Next Topic:Can't set new file editor: NullPointerException
Goto Forum:
  


Current Time: Sat May 17 03:03:56 EDT 2025

Powered by FUDForum. Page generated in 0.05742 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top