• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

multithreaded client ?

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic