Hello dear java community,
How is it possible to get color text on the textArea when i have an actionPerformed for my button. After button action i want to see a color text on the TextArea.
Thank you in advance.
How is it possible to get color text on the textArea when i have an actionPerformed for my button. After button action i want to see a color text on the TextArea.
Thank you in advance.
Java:
addBt.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {
String text = "ascascas: " + " \n" + "acaca is: " + ""
+ "200" + " " + "/ " + "ascasca is:" + " "
+ "" + "\n";
fireDetailEvent(new DetailEvent(this, text));
}
});