The simplest incarnation is:
JPanel panel = new JPanel();
panel.add(...);
..
panel.add(...);
JFrame frame = new JFrame( "title" );
frame.add( panel );
frame.show();
HTH,
Kevin
----- Original Message -----
From: "Jackson, Doug" <DOUG.JACKSON@xxxxxxxx>
To: <users@xxxxxxxxxx>
Sent: Friday, April 23, 2004 12:17 PM
Subject: [cinjug-users] Swing Pop Up Window
> Does anyone know how to make a separate JPanel or Window and call it from
an
> application.
> I need to make a separate pop-up window with info while keeping the
original
> screen it was
> called from the same. I need to do this in swing. Can anybody help?
>
> Thanks in advance.
>
> ---------
> You may unsubscribe from this mailing list
> by sending a blank email addressed to:
> users-unsubscribe@xxxxxxxxxx
>
> --
> Find additional help by sending a blank email
> addressed to:
> users-help@xxxxxxxxxx
>
|