2 Replies - 185 Views - Last Post: 13 October 2012 - 09:23 AM Rate Topic: -----

#1 Sette  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 08-October 12

error with file name is not an abstract and does not overide

Posted 13 October 2012 - 09:02 AM

import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class MCERC extends Applet implements ActionListener,ItemListener{
Label lblName1;
TextField TxtTpqty, TxtTpP, TxtLgqty, TxtLgP, TxtTcqty, TxtTcP, TxtHtqty, TxtHtP, TxtDsqty, TxtDsP, TxtSqty, TxtSP, TxtBqty, TxtBP, TxtNqty, TxtNP, TxtKkqty, TxtKkP, TxtMqty, TxtMP, TxtHcqty, TxtHcP, TxtHcHqty, TxtHcHP, TxtSdAqty, TxtSdAP, TxtJqty, TxtJP, TxtFlqty, TxtFlP, TxtFrAmt, TxtFrqty, TxtFrP, TxtSuAmt, TxtSuqty, TxtSuP, TxtBurAmt, TxtBurqty, TxtBurP, TxtPiAmt, TxtPiqty, TxtPiP, TxtErAmt, TxtErqty, TxtErP, TxtTotal1, TxtTotal2, TxtTotal3, TxtTotal4, TxtDis, TxtTi, TxtTa, TxtAr, TxtTc;
Button cmdTp, cmdLg, cmdTc, cmdHt, cmdDs, cmdS, cmdB, cmdN, cmdKk, cmdM, cmdHc, cmdHcH, cmdSdA, cmdJ, cmdFl, cmdFr, cmdSu, cmdBur, cmdPi, cmdEr, cmdCompute, cmdReset, cmdPay;
List lstBox1, lstBox2, lstBox3, lstBox4, lstBox5;
Checkbox chkButton1, chkButton2, chkButton3, chkButton4;


Posted Image

Is This A Good Question/Topic? 0
  • +

Replies To: error with file name is not an abstract and does not overide

#2 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1291
  • View blog
  • Posts: 2,859
  • Joined: 30-January 11

Re: error with file name is not an abstract and does not overide

Posted 13 October 2012 - 09:10 AM

Because you implement ActionListener and ItemListener, you have to implement their methods actionPerformed() and itemStateChanged()
Was This Post Helpful? 0
  • +
  • -

#3 Sette  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 08-October 12

Re: error with file name is not an abstract and does not overide

Posted 13 October 2012 - 09:23 AM

Thank you ^^ Im just new in java so thanks, you answered my question^^
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1