I have a class for my GUI which I created using Swing UI Designer. All the components were automatically made private but now I need output some text in a variable called consoleTextArea from outside of the UI.class When I set consoleTextArea to public static I get an error saying "UI.form: Cannot bind: field is static: indeed.UI.consoleTextArea"
...
public static JTextArea consoleTextArea;
...
...
UI.consoleTextArea.setText("abc");
...
\src\indeed\UI.form: Cannot bind: field is static: indeed.UI.consoleTextArea