2 Replies - 392 Views - Last Post: 19 February 2009 - 03:00 PM Rate Topic: -----

#1 manoj.kudur  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-February 09

Applet problem

Posted 19 February 2009 - 09:46 AM

Actually i am facing a problem with this code can u resolve it...
import java.awt.*;
import java.applet.*;
import java.awt.event.*;

public class buttondemo extends Applet
{
	Button b1;
	public void init()
	{
		b1=new Button("exit");

		b1.addActionListener(new ActionListener()
		{
			public void actionPerformed(ActionEvent evt)
			{
				System.exit(0);
			}
		});
		add(b1);
	}
}



Is This A Good Question/Topic? 0
  • +

Replies To: Applet problem

#2 ayman_mastermind  Icon User is offline

  • human.setType("geek");
  • member icon

Reputation: 126
  • View blog
  • Posts: 1,860
  • Joined: 12-December 08

Re: Applet problem

Posted 19 February 2009 - 11:37 AM

what problems are you facing in specific? Please show us any errors you are facing and please describe what your program is supposed to do, Thanks
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8324
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: Applet problem

Posted 19 February 2009 - 03:00 PM

Works well for me
what is your problem ?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1