[1429] in java-interest

home help back first fref pref prev next nref lref last post

Re: Simple window question...

daemon@ATHENA.MIT.EDU (Andrew Wason)
Fri Sep 1 19:01:14 1995

To: sshinder@adobe.com (Scot Shinderman)
Cc: java-interest@java.sun.com
In-Reply-To: Message from sshinder@adobe.com (Scot Shinderman) 
   of "Fri, 01 Sep 95 12:11:42 -0700."   <199509011911.MAA00809@mail-relay-1.mv.us.adobe.com> 
Date: Fri, 01 Sep 95 16:23:29 -0400
From: Andrew Wason <aw@bae.bellcore.com>

sshinder@adobe.com (Scot Shinderman)  writes:
> 
> Hello Javites,
>         I would like to get a simple window up, pass the o.s-specific window
> handle (HWND in windows, WindowPtr in Mac, Widget in X) but I can't even get
> the first step off the ground.  Any ideas about the following code to just
> show a "main" window?  I don't get an error, the machine just sits there
> until I hit control-c.
> [...]
> 			server = new WServer();
> 			
> 			server.start();
> 			
> 			Fenetre i = new Fenetre( server, args );

You need to map the frame after creating it: i.map()

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post