Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2006

Tip: Looking for answers? Try searching our database.

swing speed

Thread view: 
Tomislav - 29 Jan 2006 17:42 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?

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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.