Forums Register Login

multithreaded client ?

+Pie Number of slices to send: Send
Hidehoo Rangers,
Do you think it's necessary to process code that's not related to the screen (fe booking a flight) in a thread different from the AWT event Dispatching Thread ?
I mean, do you have a multithreaded client ?
I worked out a framework where all the event listeners are implementations 1 top level event listener that manages exception handling. Doing so, I have only one place to worry about exceptions. But if it's realy necessary to use the AWT Event dispatching thread only for painting jobs, things get pretty complicated at this top level event listener. My implementations works but I wonder if the code complexity is worth the effort.
Any suggestions ?
Thanks
+Pie Number of slices to send: Send
Yes, I have a multithreaded client. But I wouldn't if I had joined this forum earlier.
The assignment's GUI complexity is not worth the effort.
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 480 times.
Similar Threads
Listening keyboard and mouse events in the background
How EventDispatchThread starts a new thread ?
Using a FocusListener, How does Java choose when to return or wait for a method call or Thread run?
Concurrent Modification Exception Bug
event-dispatching thread
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:04:34.