|
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
MiGLayout causes GUI do lag
| Author |
Message |
|
MiGMaster
Joined: Tue Apr 19, 2011 6:48 pm Posts: 8
|
 MiGLayout causes GUI do lag
Hi,
When I add a tab containing lots of components to a JTabbedPane, it takes a while for the tab to be added. When running jvisualvm to profile the application, it appears that about 90% of the time taken to add this tab is spent in MiGLayouts methods.
It takes about a second for the tab to be added. MiGLayout is used quite a few times in the tab which is added (I think 26).
When not using MiGLayout and using standard swing layouts instead, the tab is pretty much added instantly.
Any ideas on what's wrong, and how I might fix it? Do you need more information on this?
Cheers
|
| Sat May 07, 2011 5:48 pm |
|
 |
|
MiG Support
Site Admin
Joined: Mon Dec 06, 2004 4:24 pm Posts: 2485 Location: Sweden
|
 Re: MiGLayout causes GUI do lag
Hello,
If you can make the simplest possible test case that is slow I will have look at it.
I assume you are using the latest version?
Cheers, Mikael
|
| Sat May 07, 2011 5:50 pm |
|
 |
|
MiGMaster
Joined: Tue Apr 19, 2011 6:48 pm Posts: 8
|
 Re: MiGLayout causes GUI do lag
Yes, I am using version 3.7.4. I will make a simple example and post it here in a short while (after I've eaten = ) )
|
| Sat May 07, 2011 5:55 pm |
|
 |
|
MiGMaster
Joined: Tue Apr 19, 2011 6:48 pm Posts: 8
|
 Re: MiGLayout causes GUI do lag
I'm having trouble reproducing a simple example that causes the same lag, but I will get back to you when I have managed to figure out exactly what the problem is
|
| Tue May 10, 2011 1:40 pm |
|
|
|
Page 1 of 1
|
[ 4 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
|
|