I've started building a small swing app in Netbeans 5.0 using the matisse GUI
builder and I've noticed it's a bit sluggish, no matter where I run it: linux,
windows, AMD, Intel. Anyone have any clue as to why the Netbeans GUI (also
swing) is so much more responsive then my (dummy, no actions!) GUI?
TIA,
Tomislav
IchBin - 29 Jan 2006 21:52 GMT
> I've started building a small swing app in Netbeans 5.0 using the
> matisse GUI builder and I've noticed it's a bit sluggish, no matter
[quoted text clipped - 4 lines]
> TIA,
> Tomislav
The new matisse is nice but when it gets down to the nitty gritty it
would be best to build on your own. You really can not build anything
heavy using GUI builders. Sometimes I may use to just drag and drop the
objects but always end up modifying the code. So I try to stay away from
them. 'What you put into it is what you will get out of it'.
- IMHO..

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
David Segall - 30 Jan 2006 13:20 GMT
>> I've started building a small swing app in Netbeans 5.0 using the
>> matisse GUI builder and I've noticed it's a bit sluggish, no matter
[quoted text clipped - 12 lines]
>
>- IMHO..
Why do you modify the code? I ask because my impression is that most
of the GUI code is either calls to the operating system or waiting for
user input. Does a profiler tell you that the code you are modifying
is slowing your application down?
David Segall - 30 Jan 2006 13:14 GMT
>I've started building a small swing app in Netbeans 5.0 using the matisse GUI
>builder and I've noticed it's a bit sluggish, no matter where I run it: linux,
>windows, AMD, Intel. Anyone have any clue as to why the Netbeans GUI (also
>swing) is so much more responsive then my (dummy, no actions!) GUI?
It's probably because you don't use your application. Remember that
the first time a Java program is loaded a JVM is loaded with it and
each line of code is compiled the first time it is executed.
Tomislav - 30 Jan 2006 17:47 GMT
> It's probably because you don't use your application. Remember that
> the first time a Java program is loaded a JVM is loaded with it and
> each line of code is compiled the first time it is executed.
I don't think so. The GUI's responsiveness seems to vary and is (just)
acceptable at the moment. Hm.
Still, it's not the computing environment: when I say "my GUI's slow" I mean
it's slower than the (obviously very well optimized) netbeans GUI. To be
absolutely precise, the menus don't follow the mouse movement as quickly, for
example.
But it doesn't seem like a major problem at the moment.
t.n.a.