1. Access to Java Swing TextField from other class stackoverflow.comI have a problem with Java Swing text input. I have a method |
2. how to access TextField coderanch.com |
3. Access JTextField from another class..... forums.oracle.com |
4. Why can't I access JTextField form particular function? forums.oracle.comThats right, because I left it out. For testing purposes it tried to get "display.getBackground()" in the changeKonfig()-function. It doesn't matter what I try to do with my display (JTextField).... I always get this error. Here is the error message: Exception in thread "main" java.lang.NullPointerException at xmltest.XMLTest.changeKonfig(XMLTest.java:118) at xmltest.XMLTest.setSprache(XMLTest.java:82) at xmltest.XMLTest. |