7 Replies Latest reply: Nov 2, 2007 9:07 AM by mlk RSS

    Int cannot be dereferenced

    807603
      hi im pretty new to java and i write an event-handler and i get the message rekenmachineApplet.java:94:13: int cannot be dereferenced
      i'll send the event-handler.
      rekenmachineApplet.java:94:13: int cannot be dereferenced
      public void plusKnopActionPerformed(ActionEvent evt) {
      int getal1;
      getal1 = Integer.parseInt(getal1Veld.getText());
      int getal2;
      getal2 = Integer.parseInt(getal2Veld.getText());
      int getal3;
      getal3 = (getal1 + getal2);
      int getalVeld;
      getalVeld.setText(getal3);
      }