are there any standard patterns of developing a swing application ?
For me the problem is this -
I have a panel, I keep adding components to it.. some of them are panels, textboxes, dropdowns etc. There are some other rendered on top of these.
How do I know which component was clicked/active/focussed ? where do I place listener and what kind of listener?