How do I make dynamic windows in Swing?

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-03-12T11:49:45Z Indexed on 2010/03/12 11:57 UTC
Read the original article Hit count: 140

Filed under:
|
|

I have a general question. I would like to have a window containing some buttons, radio buttons, text fields and so on. So, user can do something (write text, select options and press buttons). As the result of the user activity window should change it structure/appearance some element should disappear and some appear.

How do I program such "updates"? Should I close an old window and open a new one or I can modify content of window without closing it?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing