File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes EventQueue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "EventQueue" Watch "EventQueue" New topic


Harsh Chiki

Joined: Jul 11, 2011
Posts: 1
i saw somewhere that in GUI design, having
is a good practise,why??....but i am unable to visualize what exactly does it handle asynchronous events??...can somebody please give me an example where if i dont use EventQueue, and the problems caused by it.....
Darryl Burke

Joined: May 03, 2008
Posts: 5115

luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46349
Welcome to the Ranch

Please always indent your posted code correctly in code tags; I have tried not quite successfully to correct your indentation. that is because you are using tabs; you should always use spaces for indentation.
I agree. Here's the link:
subject: EventQueue
It's not a secret anymore!