It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes swing application architecture ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing application architecture ?" Watch "swing application architecture ?" New topic

swing application architecture ?

Mag Wells
Ranch Hand

Joined: Jun 02, 2010
Posts: 38
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?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Recommended reading:

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: swing application architecture ?
jQuery in Action, 3rd edition