Try this:
public static void main(String[] args) {
new MainFrame(new HelloVumUniverse(args), 600, 600);
}
You'll have to change HelloVumUniverse's constructor to handle receiving
arguments instead of using setParameter().
----- Original Message -----
From: "Sebastian Hentschel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 11:47 AM
Subject: [JAVA3D] Bug in MainFrame? But why?
> I changed my main method to the following
>
> public static void main(String[] args) {
> HelloVumUniverse prog = new HelloVumUniverse();
> prog.setParameter(args);
> new MainFrame(prog, 600, 600);
> }
>
> HelloVumUniverse is my class.
>
>
> And now the mainWindow calls the init() Method
> multiple times.
>
> What iŽam doing wrong.
>
> JDK1.4beta
> JAVA3D 1.2.1 01
>
> Thanks
> Sebastian
>
>
>
> __________________________________________________________________
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
>
>
===========================================================================
> 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".
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
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".