Skip to main content



      Home
Home » Archived » Visual Editor (VE) » JFrame Application terminate
JFrame Application terminate [message #64731] Tue, 05 October 2004 08:46 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:JFrame Application terminate
Next Topic:Newbie: No New Java Visual Class Wizard
Goto Forum:
  


Current Time: Wed Apr 23 22:59:14 EDT 2025

Powered by FUDForum. Page generated in 0.02305 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top