i saw somewhere that in GUI design, having
is a good practise,why??....but i am unable to visualize what exactly happens...how does it handle asynchronous events??...can somebody please give me an example where if i dont use EventQueue, and the problems caused by it.....
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.
Don't get me started about those stupid light bulbs.