Jump to content
  • Advertisement
Sign in to follow this  
Winterhell

[java] how to java applet inside java application

This topic is 3433 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!