JFrame Application terminate [message #64731] |
Tue, 05 October 2004 08:46  |
Eclipse User |
|
|
|
Originally posted by: carsten.kohlhausen
Hi,
i create a new visual class which extends JFrame with ve wizard. Every
time i execute this class, i receive the message "terminate".
What do i wrong?
Carsten
|
|
|
Re: JFrame Application terminate [message #64775 is a reply to message #64731] |
Tue, 05 October 2004 10:25  |
Eclipse User |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Carsten wrote:
> Hi,
>
> i create a new visual class which extends JFrame with ve wizard. Every
> time i execute this class, i receive the message "terminate".
>
> What do i wrong?
> Carsten
>
Most likely you chose to create a main method while creating the class,
and you're using Run As->Java Application rather than Run As->Java Bean.
Java Application runs the main method, and the VE doesn't put any code
into your main method.
- Jeff
|
|
|
Re: JFrame Application terminate [message #600817 is a reply to message #64731] |
Tue, 05 October 2004 10:25  |
Eclipse User |
|
|
|
Carsten wrote:
> Hi,
>
> i create a new visual class which extends JFrame with ve wizard. Every
> time i execute this class, i receive the message "terminate".
>
> What do i wrong?
> Carsten
>
Most likely you chose to create a main method while creating the class,
and you're using Run As->Java Application rather than Run As->Java Bean.
Java Application runs the main method, and the VE doesn't put any code
into your main method.
- Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.02305 seconds