🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by John Fabiani Sun, 30 Nov 2003 02:47
dumb question: how to call a 2nd window
#1469
Author: John Fabiani
Date: Sun, 30 Nov 2003 02:47
14 lines
1811 bytes
Hi,
I'm a newbie so be nice!  I can't figure out how to call a 2nd frame/window
from the menu of the first frame/window.  In the main app the program calls
"frame.setVisible(true)" after creating a new frame1.  So now frame1 is
visable and with a menu.  In my "actionAdapter" for a menu item I have
frame2 newframe = new frame2()
newframe.setVisible(true);

But nothing happens.  All I want to do is call and open a new
screen/form/jpanel from a menu.

I hope this makes sense!
-- 
John Fabiani
Re: dumb question: how to call a 2nd window
#1473
Author: John Fabiani
Date: Mon, 01 Dec 2003 01:57
21 lines
1983 bytes
Please disregard.   I have solved the question.
John
John Fabiani wrote:

> Hi,
> I'm a newbie so be nice!  I can't figure out how to call a 2nd
> frame/window
> from the menu of the first frame/window.  In the main app the program
> calls
> "frame.setVisible(true)" after creating a new frame1.  So now frame1 is
> visable and with a menu.  In my "actionAdapter" for a menu item I have
> frame2 newframe = new frame2()
> newframe.setVisible(true);
> 
> But nothing happens.  All I want to do is call and open a new
> screen/form/jpanel from a menu.
> 
> I hope this makes sense!

-- 
John Fabiani
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads