Ticket #12679

Problems with Swing
Eröffnet am: 2008-06-04 01:37 Letztes Update: 2008-07-12 15:28

Auswertung:
Verantwortlicher:
Typ:
Status:
Offen [Owner assigned]
Komponente:
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

Swing seems to be very slow. This could be because of
lack of a JIT, or lack of graphics acceleration, or
maybe just a lack of megahertz. However, certain
components seem worse than others. I tried using a
JTree inside a JScrollPane, and it was extremely
unresponsive. It took a long time or forever to show
child nodes of the root. Also a Panel inside a
JScrollPane, the JScrollPane was very slow - I drag the
scroll box and it takes a couple of seconds maybe until
it follows me. I hold down on a blank part of the
scrollbar and it starts moving towards me slowly - and
then all of a sudden it is under my finger.
But the worst problem is that JFileChooser is very
slow. I could not double click on a folder to enter it
- it just went into rename mode. There's no real-time
feedback that I'm selecting it to continue
double-tapping - I have to wait a few seconds to see if
I tapped it in the right spot. And the AWT FileDialog
doesn't let you browse for directories, so if I want
the user to choose a directory I had to make a custom
dialog with a similar system to Vista's directory bar -
a set of drop-downs. But the java.awt.ScrollPane
doesn't seem to scroll all the way to the end of the
component.

Ticket-Verlauf (2/2 Historien)

2008-06-18 03:34 Aktualisiert von: naftoligug
Kommentar
Logged In: YES
user_id=34856

If someone wants to test and see if the problem is a problem
with GNU Classpath on any VM or platform, you can ask me for
my source code.
2008-07-12 15:28 Aktualisiert von: None
Kommentar
Logged In: NO

I'm fully second the author. Swing work very slow. It's
almost impossible work with stylus dragging.

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden