[JAVA]Printing to a text area?

Worzox

Reputable
Joined
Jan 17, 2010
Messages
187
Reaction score
0
FP$
6
I want a line in this void:
Code:
    private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
           // TODO add your handling code here:
    }

to write something in jTextArea1. Just make it say "TEST" or something now.

20FP for the right answer.
 
Damn, need help on this now:
Code:
    private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
          	DetailsArea.setText("Your bike is "+ jComboBox1.selectedItem +"."); // TODO add your handling code here:
    }

So, if jComboBox1 is on Red, it should say "Your bike is Red."
 
Back
Top Bottom