Forums Register Login

SwingWorker

+Pie Number of slices to send: Send
Hi All
I am facing a flickering problem in applet when using SwingWorker class from sun i want to do some background processing in event thread SwingUtilities.invokeLater did help me but not that much GUI used to get freeze to prevent that i have used SwingWorker seems to be everything is working fine but some flickering is happening in applet can somebody tell me why is it happening and what is the solution for the same
pls note This problem arise when applet is loaded with huge data
pls help required urgently
Rishi
+Pie Number of slices to send: Send
You'll need to post some code to show what you are doing... SwingWorker is basically just a way to use threading, that's not important... it's important to see what you are doing with the threading!
+Pie Number of slices to send: Send
For more clearance
I am sending u a chunk of code that is as follows :
on JTextField focusLost()
{
settting Object attributes which in turn firing a state changed event
}
public void stateChanged()
{
//doing some processing which was taking a long time so i added SwingWorker for the same now gui is not getting freezed but JtextField flickers
}
I hope this is much clear
looking forward to yr help
Rishi
Die Fledermaus does not fear such a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1147 times.
Similar Threads
Help on SwingWorker
Applet gives Flickering
JTree flicker
Problems with Applets in HTML Document
JApplet - Flickering
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:46:58.