R
Ryan Phelps
If your swing thread is so busy redrawing one component (~125 repaint
requests/sec, only able to perform ~9 repaints/sec) what happens to
your swing widgets? My Swing widgets, buttons, menus, etc., don't
show up except under special circumstances.
Special circumstances are when they have focus and paint the little
dashed line around the button, or I click on their area and change
their state -- stuff like that. Essentially, there has to be
something that explicitly redraws the widgets in order for them to
show up. My custom widget shows up great, it's constantly redrawing.
My particular application is reading around 125 X-Y profiles from a
remote measurement device and displaying them in a home-grown graph
JComponent in an applet.
Thanks.
requests/sec, only able to perform ~9 repaints/sec) what happens to
your swing widgets? My Swing widgets, buttons, menus, etc., don't
show up except under special circumstances.
Special circumstances are when they have focus and paint the little
dashed line around the button, or I click on their area and change
their state -- stuff like that. Essentially, there has to be
something that explicitly redraws the widgets in order for them to
show up. My custom widget shows up great, it's constantly redrawing.
My particular application is reading around 125 X-Y profiles from a
remote measurement device and displaying them in a home-grown graph
JComponent in an applet.
Thanks.