[820] in java-interest
problems with windowing
daemon@ATHENA.MIT.EDU (Wojtek Furmanski)
Fri Jul 21 01:36:39 1995
From: furm@npac.syr.edu (Wojtek Furmanski)
Date: Fri, 21 Jul 1995 00:21:18 -0400
To: java-interest@java.sun.com
Cc: furm@npac.syr.edu
I found the following two problems with hotjava windowing where I would
appreciate some help/hints:
1) My applet tries to create an editor in a new Frame that contains a MenuBar
and a Window, which hosts a TextArea. One of MenuItems, called 'File',
starts a FileDialog which reads a file and tries to display it using
textArea.setText. This doesn't seem to work as the TextArea ignores
my attempts to (re)set anything after the Frame is mapped. I tried
various linear combinations of map/unMap/dispose applied to
Frame/Window/TextArea and the only way I found so far to get a new file
displayed is to dispose and recreate the whole frame on each File->Open
request - which is hardly an acceptable solution as the frame disappears
then each time for a while.
2) My other applet tries to customize MenuBar in the HotJava frame by
adding some applet specific items in the start() method and disposing
them in the stop() method. These new items work fine but the whole
construct is rather unstable and getting worse when moving from alpha2
to alpha3. In alpha2, hotjava dies when I try to Reload this applet.
In alpha3, hotjava also dies when I try to move to another applet.
.hotjava/weblog reports segmentation fault which has likely something
to do with disposing my custom menu items. I use the same items here
as in example 1) where they are also disposed in stop() (together with
the whole frame) and don't create any segmentation problems there.
Thanks,
Wojtek Furmanski
NPAC, Syracuse University
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com