[3277] in java-interest
Re: dialogs, applets, and frames
daemon@ATHENA.MIT.EDU (Nik Barthelemy)
Sun Nov 5 23:23:58 1995
Date: Mon, 6 Nov 1995 11:42:56 +0900 (JST)
From: Nik Barthelemy <nbarthel@shrine.cyber.ad.jp>
To: lemayp@lne.com
cc: java-interest@shrine.cyber.ad.jp
In-Reply-To: <v02120d08acc2af5ae775@[140.174.94.4]>
ReSent-From: Nik Barthelemy <nbarthel@shrine.cyber.ad.jp>
ReSent-To: java-interest@java.sun.com
I just did this yesterday, you can create an instance of Frame and use it
as the owner for a dialog. When you create the dialogs pass in the
reference to your frame instance and that's it! Just use a stock fram
object. If there is a better way, I'd like to know (seems like wasted
resources to create a dummy frame!), but this will work.
-NIK ;)
CONTACT: nbarthel@shrine.cyber.ad.jp ++ + "...shooting stars never stop
Nik Barthelemy ++++++++++++++++++++++ + even when they hit the top!"
Cyber Technologies International +++++++++++++++++++++++++++++++by FrAnKiE
Tokyo, Japan +++++++++++++++++++ + PHONE: (03) 3226-0961 / FAX (03) 3226-0962
On Sun, 5 Nov 1995 lemayp@lne.com wrote:
>
>
> To create a new Dialog, you have to have a Frame argument for that
> dialog to attach to. Does this mean I can only have dialogs for
> actual popup windows -- not applets? Applets aren't frames.
>
> I'd like to have a dialog attached to an applet, so I can pop up
> errors based on input to that applet. But given that nasty
> frame argument I can't see a way to do this.
>
> Ideas? Should I just use a window/frame as a dialog, and not worry
> about the dialog class?
>
> Laura
>
>
>
> -
> This message was sent to the java-interest mailing list
> Info: send 'help' to java-interest-request@java.sun.com
>
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com