A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
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:
subject: badly stuck with GUI problem
Using Jpanel and Color
badlt stuck with GUI problem
From a OO Point of View in GUI design
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-2015