Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » center frame
center frame [message #501552] Wed, 02 December 2009 18:53
Mik  is currently offline Mik Friend
Messages: 4
Registered: November 2009
Junior Member
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? Embarrassed

this.setLocation((Toolkit.getDefaultToolkit().getScreenSize( ).width/2)-(getSize().width/2), (Toolkit.getDefaultToolkit().getScreenSize().height/2)-(getS ize().height/2));

[Updated on: Thu, 03 December 2009 17:07]

Report message to a moderator

Previous Topic:Eclipse 3.5 dropins installation
Next Topic:center frame
Goto Forum:
  


Current Time: Thu Dec 18 10:36:34 GMT 2014

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

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