🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

SV: How do I call the method in another JInternalFrame??

#9982
From: Johan Forsberg
Date: Mon, 06 Dec 1999 00:00
27 lines
1176 bytes
ERic <eric.yu@usa.net> skrev i
diskussionsgruppsmeddelandet:384B2BF9.E4F5F512@usa.net...
Please help me, if you can.....
>
>        ...
>       JInternalFrame sub = new subJIFrame();
>       sub.show();
>       desk.add(sub);
>        .....
>Boolean OK = false:
>.....
>.
>.
>.....
>public boolean isok()

>    return OK;
>}
>....
> mainJIFrame & subJIFrame
> are in the same package, why can't I just use "sub.isok()"???

You should be able to... What exactly is the error?

(BTW, OK is defined as a Boolean, but isOK returns a boolean, I assume
that's just a typo)
Technical Details
Message-ID: <82fnpv$qg55@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <384B2BF9.E4F5F512@usa.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,bb4ba7521b6147be,start
X-Google-Attributes: gid111d45,public
From: "Johan Forsberg" <jfo@SPAM_SPAM_EGGS_SPAMstmf.se>
Subject: SV: How do I call the method in another JInternalFrame??
Date: 1999/12/06
Message-ID: <82fnpv$qg55@forums.borland.com>
X-Deja-AN: 557161694
References: <384B2BF9.E4F5F512@usa.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing