Display nie dziala

0

Mam problem. Robie programik tzw. Kalkulator lokat w Javie.

chce zrobic np przycisk do czyszczenia podanych wartosci i wpisuje

display. i w ogole nie pokazuja sie podpowiedzi, a jak wpisze z placa do konca to pod slowem display jest czerwona falowana linia. Co jest nie tak?

0

kod. Daj kod. Nie jesteśmy wróżkami.

0

Oraz podaj komunikat błędu.

0

public class Kalkulator_Lokat extends javax.swing.JFrame {

//check
int wklad;
int nomial;
int okrlokat;
int lokwynik;
int odsetki;
int oprocef;
/** Creates new form Kalkulator_Lokat */
public Kalkulator_Lokat() {
    initComponents();

}

/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
                                      

private void kwotawActionPerformed(java.awt.event.ActionEvent evt) {                                       
    // TODO add your handling code here:
}                                      

private void clearformActionPerformed(java.awt.event.ActionEvent evt) {                                          
<span style="color: red">tu wpisuje display.</span>
}                                         

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
        public void run() {
            new Kalkulator_Lokat().setVisible(true);
        }
    });
}

// Variables declaration - do not modify                     
private javax.swing.JButton clearform;
private javax.swing.JRadioButton kkwart;
private javax.swing.JRadioButton kmies;
private javax.swing.JRadioButton kpolrocz;
private javax.swing.JRadioButton krocz;
private java.awt.TextField kwotaw;
private java.awt.Label label1;
private java.awt.Label label2;
private java.awt.Label label3;
private java.awt.Label label4;
private java.awt.Label label5;
private java.awt.Label label6;
private java.awt.Label label7;
private java.awt.TextField lokataods;
private javax.swing.JButton oblicz;
private java.awt.TextField ods;
private java.awt.TextField okresl;
private java.awt.TextField oproc;
private java.awt.TextField oprocefek;
// End of variables declaration                   

}

1 użytkowników online, w tym zalogowanych: 0, gości: 1