Article View: borland.public.jbuilder.java.swing
Article #1469dumb question: how to call a 2nd window
From: John Fabiani
Date: Sun, 30 Nov 2003 02:47
Date: Sun, 30 Nov 2003 02:47
14 lines
1811 bytes
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
Technical Details
Message-ID:
<WScyb.27958$9u.18220@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-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,908ec6cc85f93cb6,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-11-29 18:48:10 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: dumb question: how to call a 2nd window Newsgroups: borland.public.jbuilder.java.swing Reply-To: jfabiani@yolo.com Lines: 14 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <WScyb.27958$9u.18220@newssvr29.news.prodigy.com> NNTP-Posting-Host: 63.204.66.140 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr29.news.prodigy.com 1070160438 ST000 63.204.66.140 (Sat, 29 Nov 2003 21:47:18 EST) NNTP-Posting-Date: Sat, 29 Nov 2003 21:47:18 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPO@MON_RWQBWLXORHVO\MJEHHFBL@MAHU^_BAMEH]TCDYG^WHKAH_[JTXDX_KI\VB]JBVMS^YT_G[CZVWAOS\DHFWEH]@KGXYHB\_CMDSFABP^J[AHHRKARLE_JDBLJ\XA[JRMEI]MGJSPB\Y]^KG\@S^@VQKI_Q[G@@_ACSARASDEFLBJ]S\GFNTUAVBL Date: Sun, 30 Nov 2003 02:47:19 GMT