wood burning stoves 2.0*
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: 10175
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Consider Paul's rocket mass heater.
 
subject: swing application architecture ?
 
Similar Threads
TCP/IP,socket connection
Call click event of a buttong
swing and web application
How to create user defined and customized call back method in core java?
Problem in migrating from myfaces to sun RI