Sempre quando eu quero alterar um texto de uma jlabel ou string no metodo main ele aprece esse erro
non-static variable JtextArea cannot be referenced from a static
public static void main(String args[]) {
JtextArea.setText("novo texto");
}
estou usando Jframe