File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Swing / AWT / SWT
badly stuck with GUI problem
Joined: Oct 10, 2004
Oct 17, 2004 22:49:00
I am makin the GUi which has the main frame and container inside the
public class...now i have an inner class which opens another
frame as a popup.... now when i try to close the popup then the entire
heres the code for the popup class...
panel = new
frame = new
( "Graphs" );
frame.getContentPane().add( panel );
//Make sure we have nice window decorations.
//Display the window.
SCJP 1.4<br />Preparing for <br />SCJD and SCWCD
Joined: May 18, 2004
Oct 18, 2004 00:43:00
Try using a different close operation for the frame, like DISPOSE_ON_CLOSE or HIDE_ON_CLOSE.
How does that work for you?
I agree. Here's the link:
- it saves me about five hours per week
subject: badly stuck with GUI problem
From a OO Point of View in GUI design
badlt stuck with GUI problem
Using Jpanel and Color
How do you use javax.swing.Popup?
How to close this window?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013