🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #566

Re: Modal windows and getting their input back to the main window

#566
From: John McGrath [TeamB]
Date: Mon, 07 Mar 2005 09:39
23 lines
1755 bytes
On 3/4/2005 at 5:23:20 PM, Scott Powell wrote:

> I've got the Java Certification training book and am looking over
> windowing stuff.
> 
> But I can't find anything that tells me how, if Form1 opens Form2 (say a
> login window), how Form1 finds out what data was entered to Form2.
> 
> I don't know if there's a "built-in" way (form2.getParent().setUsername()
> seems unlikely given types), 

You do not say what "form1" and "form2" are, and exactly what you mean by
"form1 opens form2".  Can you post some code that more clearly shows what
you are referring to?

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0dzgkw96i3u4c002@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4228e0d8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,9deb20d8c75a3c05
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Modal windows and getting their input back to the main window
Newsgroups: borland.public.jbuilder.java.language
References: <4228e0d8$1@newsgroups.borland.com>
User-Agent: XanaNews/1.17.2.7
Message-ID: <xn0dzgkw96i3u4c002@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:00000253
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 151.197.237.191
Date: 7 Mar 2005 01:39:34 -0800
X-Trace: newsgroups.borland.com 1110188374 151.197.237.191 (7 Mar 2005 01:39:34 -0800)
Lines: 23
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail