Article View: borland.public.jbuilder.java.swing
Article #344Re: call an jinternalframe from another jinternalframe
From: Jeroen Wenting
Date: Thu, 25 Aug 2005 10:18
Date: Thu, 25 Aug 2005 10:18
18 lines
1805 bytes
1805 bytes
In that case you should be able to pass panelB a reference to panelA (which creates it I guess?) and have panelA itself keep a reference to panelB. If both are created by another process, that process can provide those references. "tom" <zhangx@gaia.ecs.csus.edu> wrote: >I tried to reference desktop from the mainFrame JDesktop and it always >returns null, and >When I tried to launch JPanelB from JPanelA, it failed due to null desktop. >I can launched both JPanelA and JPanelB as internalframe from the mainFrame >dropdown menubar as menu items. > > >Basically, I have a button on JPanelA (already loaded internalFrame). When >user click on this button, it launches JPanelB as internalFrame and put it >on the JDesktop just as JPanelA was. >
Technical Details
Message-ID:
<430d9aee$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<430abd12@newsgroups.borland.com> <430b1c0b$1@newsgroups.borland.com> <430cbe0a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,95e5dbb679836a42 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jeroen Wenting" <jwenting@hotmail.com> Sender: "Jeroen Wenting" <jwenting@hotmail.com> Reply-To: "Jeroen Wenting" <jwenting@hotmail.com> Subject: Re: call an jinternalframe from another jinternalframe Newsgroups: borland.public.jbuilder.java.swing X-User-Info: 212.19.218.2 X-Forwarded-For: 192.168.1.144 References: <430abd12@newsgroups.borland.com> <430b1c0b$1@newsgroups.borland.com> <430cbe0a$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <430d9aee$1@newsgroups.borland.com> Date: 25 Aug 2005 03:18:22 -0700 X-Trace: newsgroups.borland.com 1124965102 207.105.83.66 (25 Aug 2005 03:18:22 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail