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 swing application architecture ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 10167

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