Incidencia #12679

Problems with Swing
Abrir Fecha: 2008-06-04 01:37 Última actualización: 2008-07-12 15:28

Informador:
Propietario:
Tipo:
Estado:
Open [Owner assigned]
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

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 History (2/2 Histories)

2008-06-18 03:34 Updated by: naftoligug
Comentario
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 Updated by: None
Comentario
Logged In: NO

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

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar