hi ppl,
I was wondering why my JDK 1.4 gives error for not having any such method for dispose();

if i have button b1 on my applet it shud quit the applet when i press the button b1........but the error is shown......what would b possible solution....?

my function :

public void actionPerformed(ActionEvent e)
{
    if (e.getSource()==b1) {dispose ();}

}

Recommended Answers

All 2 Replies

what error, what button, what applet, what dispose method???

I b'live my ? was incomplete... no problem... the solution I wanted is with me right now & the applet is working just fine... thank u

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.