• Advertisement
Sign in to follow this  

[java] how to java applet inside java application

This topic is 3226 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I need to make and interactive Java application(to be run without a browser,etc) I read the way is to insert an Applet inside a Form ,but I'm not sure how to do it. I've made the applet with its functions start,stop,init,run,paint;loading images, and it works perfectly. I'm using the awt libraries and i dont know anything about swift.Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Winterhell
Hi, I need to make and interactive Java application(to be run without a browser,etc)
I read the way is to insert an Applet inside a Form ,but I'm not sure how to do it.
I've made the applet with its functions start,stop,init,run,paint;loading images, and it works perfectly.
I'm using the awt libraries and i dont know anything about swift.Thank you.


you dont need an applet ?! you can write a standalone Java application :
class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World");
//and if you need a window Frame f=new Frame();
//f.setVisible(true);
}
}

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement