File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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: 10375
    
    8

Recommended reading: http://download.oracle.com/javase/tutorial/uiswing/


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing application architecture ?