how to close the applet in java code?

How to convert java applet code to jar/exe.... code as follows?

  • import java.awt.*; import java.applet.*; import java.awt.event.*; /*<applet code="EventDemo1" width=500 height=500> * </applet> */ public class EventDemo1 extends Applet implements ActionListener { Button b1; Label l1; public void init() { b1=new Button("Display"); l1=new Label(" "); add(b1); add(l1); b1.addActionListener(this); } public void actionPerformed(ActionEvent ae) { l1.setText("Hello World"); } }

  • Answer:

    http://viralpatel.net/blogs/2009/02/convert-jar-to-exe-executable-jar-file-to-exe-converting.html

Himanshu at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.