🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1473

Re: dumb question: how to call a 2nd window

#1473
From: 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
Technical Details
Message-ID: <eexyb.28368$w75.17067@newssvr29.news.prodigy.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed1.news.rcn.net!rcn!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.com.POSTED!0e259074!not-for-mail
References: <WScyb.27958$9u.18220@newssvr29.news.prodigy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,908ec6cc85f93cb6
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-11-30 17:58:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed1.news.rcn.net!rcn!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.com.POSTED!0e259074!not-for-mail
From: John Fabiani <jfabiani@yolo.com>
Subject: Re: dumb question: how to call a 2nd window
Newsgroups: borland.public.jbuilder.java.swing
Reply-To: jfabiani@yolo.com
References: <WScyb.27958$9u.18220@newssvr29.news.prodigy.com>
Lines: 21
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Message-ID: <eexyb.28368$w75.17067@newssvr29.news.prodigy.com>
NNTP-Posting-Host: 63.204.66.140
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr29.news.prodigy.com 1070243850 ST000 63.204.66.140 (Sun, 30 Nov 2003 20:57:30 EST)
NNTP-Posting-Date: Sun, 30 Nov 2003 20:57:30 EST
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPGG[_ETRVARVPXGB^HJ^UJUSXB@DTMNHWB_EYLJZ]BGIELK^RAQFW[ML\THRCKV^GGZKJMGV^^_JSCFFUA_QXFGVSCYRPILH]TRVKC^LSN@DX_HCAFX__@J\DAJBVMY\ZWZCZLPA^MVH_P@\\EOMW\YSXHG__IJQY_@M[A[[AXQ_XDSTAR]\PG]NVAQUVM
Date: Mon, 01 Dec 2003 01:57:30 GMT