Justin Couch <[EMAIL PROTECTED]> writes:
> The worst bit was that if I tried to close the window, it would shut
> all of Mozilla down.
Ooh, that's ugly and should be fixed ASAP. BTW, not only
com.sun.j3d.utils.universe.Viewer is broken. Swing's JFrame has the
same bug.
,----
| import javax.swing.JFrame;
| import java.applet.Applet;
|
| public class ShutdownPluginVM
| extends Applet
| {
| public void init() {
| JFrame f = new JFrame("Close me!");
| f.setBounds(100, 100, 100, 100);
| f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
| f.show();
| }
| }
`----
This will kill the plugin VM when you close the frame.
I'll add fixes for our next releases. (Note that this is not Linux
specific.)
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".