View unanswered posts | View active topics It is currently Tue Apr 25, 2017 11:33 am



Reply to topic  [ 2 posts ] 
 Frame not opened in correct dimensions. 
Author Message

Joined: Fri Mar 26, 2010 10:44 am
Posts: 1
Post Frame not opened in correct dimensions.
i have build an application using miglayout.
the frame opened in Windows is alright but when i run this application in Mac then it can't opened in right dimensions.
The image path of frames are as follows:

https://s3.amazonaws.com/MacUI/mac_layo ... OVeREtQ%3D


https://s3.amazonaws.com/MacUI/win_layo ... vq2nHH0%3D


Fri Mar 26, 2010 12:11 pm
Profile
Site Admin

Joined: Mon Dec 06, 2004 4:24 pm
Posts: 2485
Location: Sweden
Post Re: Frame not opened in correct dimensions.
Hello,

This is probably a timing issue. Do you create the GUI on the EDT?

Try invoking .pack() using SwingUtilities.invokeLater().

Cheers,
Mikael


Fri Mar 26, 2010 6:31 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.