Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!

Martina Renworth

Greenhorn
+ Follow
since Feb 14, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Martina Renworth

Originally posted by nish vats:
Actually i have developed calculator using swings..now i want to develop exe so that it can be directly run from desktop...anybody can help me out..
thanks in advance


Check out JSmooth
17 years ago
Yes using Foxtrot in the listener is an excellent idea. I think a lot of the perceived performance problems in Swing are due to too much activity in the event listeners, which holds up the AWT thread. Even a few innocuous looking lines can create many objects behind the scenes, best to run them in their own thread.

The problem is that neither SwingWorker nor Foxtrot is part of J2SE. Not too many books discuss them either. Only smart Googlers and readers of the Java Tutorial find out about these things. :roll:
17 years ago
jLabel.repaint();
17 years ago
Swing is a fine GUI framework. I love working with it. However, the Windows LAF is not quite good enough. The standard Swing file open/save dialogs are atrocious. Even my mum thinks they look weird. Sun managed to screw up the system font in 5.0 :roll: so that it looks even uglier than before.
At least JGoodies corrects most of these issues.

The most popular SWT app around is probably Azureus, the bitorrent client. I doubt the average user knows it is a Java app, it is so snappy. I cannot believe a Swing equivalent would be anywhere near as responsive. But I'm willing to be proved otherwise.
17 years ago