Has anyone else noticed that in an application where the component cannot get repainted immediately, the alpha value is not changed for a period of time?
In my current app, a JLabel has Color(1.0f, 0.0f, 0.0f, .20f) applied to the background. The red is noticably pink when set, but there is ~1 second delay between that pinkish color and the correct translucent dark red color. This is due mostly to the immense TCP/IP traffic going on, but I have seperate threads running just about everywhere I can to help eliminate that.
This is not a critical problem, but it is noticable and ugly. This effect was much more visible when an incorrect listener fired, recusing into the method that changed the background ~20 times a sec. The JLabel flashed more pink than the correct color,
Would doing this in another thread help? I assume so, but I already have around 5 running to avoid screen-update deadlock.
gubmo
In my current app, a JLabel has Color(1.0f, 0.0f, 0.0f, .20f) applied to the background. The red is noticably pink when set, but there is ~1 second delay between that pinkish color and the correct translucent dark red color. This is due mostly to the immense TCP/IP traffic going on, but I have seperate threads running just about everywhere I can to help eliminate that.
This is not a critical problem, but it is noticable and ugly. This effect was much more visible when an incorrect listener fired, recusing into the method that changed the background ~20 times a sec. The JLabel flashed more pink than the correct color,
Would doing this in another thread help? I assume so, but I already have around 5 running to avoid screen-update deadlock.
gubmo