So, how do I close the writer? :confused: I'm sorry, but I'm kinda new to java
Type: Posts; User: sindreb
So, how do I close the writer? :confused: I'm sorry, but I'm kinda new to java
Yeah, it is automaticly filled with "Write what you want to send to the file". I also checked a bit, and the file data.txt is being created, but it never gets any data. I also tried to put some text...
Thanks! Found out I never initialized the Formatter if the file did'nt exist. Now my problem is that the second textfield, fromFile, does not display anything. Any clue on how I can fix that?
Sure
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at FileHandling.writeFile(FileHandling.java:35)
at GUI$HandlerClass.actionPerformed(GUI.java:37)
at...
Hi!
I'm trying to make a program with gui. The window should have 2 textfields and one button. One of the textfield are uneditable. When the button is clicked i want the stuff from the first...