But i want to do it so.
Because i want to run my Programms in single
execution mode, or something like a plugin
execution.
So I created an Interface
public interface IVumExample {
public boolean needsParameter();
public String[] getDefaultParameter();
public void setParameter(String args[]);
public void start();
}
So i can load it with a classloader and execute it
in an easy way.But there is a problem, so i wanted
to test to changes of the example HelloVumUniverse and
rewrite the main Method.
But there seems to be a different in direct sending
the
instance reference to the MainFrame contructor or in
saving the reference in an variable and sending it to
the MainFrame.
Anyway the MainFrame is calling my init method.
I donŽt understand it.
I think it is an JDK1.4<->Java3D BUG.
Sebastian
--- Corysia Taware <[EMAIL PROTECTED]> schrieb: > 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".
__________________________________________________________________
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".