wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Refresh of Jframe with new components at Runtime upon clicking a JMenuBar 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 "Refresh of Jframe with new components at Runtime upon clicking a JMenuBar" Watch "Refresh of Jframe with new components at Runtime upon clicking a JMenuBar" New topic
Author

Refresh of Jframe with new components at Runtime upon clicking a JMenuBar

ritesh r
Greenhorn

Joined: Jul 19, 2001
Posts: 24
Hi techies:
I am new to Swing.I am developing a Jframe based application with 2 methods(one for Add a issue and for viewing a issue with different components altogether).
Can anyone here provide me with code as how to update with this Add and View functions whenever I click the Selected Items in a MenuBar.
i.e
Add>>>displayAdd();
View>>DisplayView();
Both these methods correspond to two different Layouts too.
Help is urgent with Source Code .How to update with the components to avoid overlapping.
Regards
Ritesh
------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refresh of Jframe with new components at Runtime upon clicking a JMenuBar
 
Similar Threads
java repaint the frame or the panel?
Choosing the correct program structure: pl. do advice me
Refresh with fresh components in a JFrame at Runtime
Program Structure
Programming Structure.