[4427] in java-interest

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

applet frame, pop-up menus & netscape 2.0 beta 4

daemon@ATHENA.MIT.EDU (Bindu Wavell (RUFUS))
Sun Dec 24 21:03:46 1995

To: java-interest@java.sun.com
Date: Sun, 24 Dec 1995 17:27:48 -0700
From: Bindu Wavell (RUFUS) <wavell@nag.cs.colorado.edu>


Hiya out there in java land :)

Netscape 2.0 Beta 4 is Out!

I'm trying to build a pop-up menu toolkit, but am running into a nasty 
problem right from the start. I would like to popup a window at a
specified location relative to my applet. I can do this by doing
really gross stuff with Layout Managers and inheriting from panel
or canvas, but I don't want to do that.  Ideally I would like to 
Inherit directly from java.awt.Window. However, it does not appear 
to be possible to get a copy of the applet frame.  I can use null 
for the window constructor, but then it doesn't like to 
java.awt.Window.move() properly... Actually it doesn't move at 
all.  So here are my questions:

Q: How can I get a copy of my applets Frame?
   The answer to this question does not appear to have anything to do
   with creating a static Frame that is created by my main :(

Q: Anyone made nice pop-up menus in java yet?

Q: How can I locate an un parented window at a specific (x,y) location?

Q: How can I get windows to not have sizeable borders under NT?

TIA, Bindu

wavell@cs.colorado.edu                        /--------------------------\
http://ugrad-www.cs.colorado.edu/~wavell      | /----------------------\ |
                                              | |  Use my home page to | |*
Home: (303) 415-9010                          | |        Page Me!      | |
Page: (303) 281-1058                          | \----------------------/ |
                                              |    == ==            <=>  |
                                              \--------------------------/

- --RAA28216.819851191/nag.cs.colorado.edu--


------- End of Forwarded Message

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

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