private void generatebuttonActionPerformed(java.awt.event.ActionEvent evt) {
int input;
int OutputForEveryOperation;
try {
input = Integer.parseInt(TextOject.getText());
for(int i=1 ; i <= 10 ; i++) {
OutputForEveryOperation = input * i ;
ResultTextArea.setText(input+" * "+i+" = "+OutputForEveryOperation);
}
} catch (NumberFormatException ex) {
errorlabel.setText("please enter an integer number");
}
}
انا عاوز اضيف جدول الضرب ده ف ال TextArea بمجرد ما ادخل ال input واضغط على ال button اللى اسمه ف ال method وهو generatebutton بس مش بيضيف
غير اخر عمليه بس ممكن حد يساعدنى

