This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 9995

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 ?
Similar Threads
Problem in migrating from myfaces to sun RI
Call click event of a buttong
How to create user defined and customized call back method in core java?
swing and web application
TCP/IP,socket connection