Search:

Type: Posts; User: sindreb

Search: Search took 0.35 seconds.

  1. Replies
    9
    Views
    1,181

    Re: Problem with Formatters (I think)

    So, how do I close the writer? :confused: I'm sorry, but I'm kinda new to java
  2. Replies
    9
    Views
    1,181

    Re: Problem with Formatters (I think)

    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...
  3. Replies
    9
    Views
    1,181

    Re: Problem with Formatters (I think)

    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?
  4. Replies
    9
    Views
    1,181

    Re: Problem with Formatters (I think)

    Sure
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at FileHandling.writeFile(FileHandling.java:35)
    at GUI$HandlerClass.actionPerformed(GUI.java:37)
    at...
  5. Replies
    9
    Views
    1,181

    Problem with Formatters (I think)

    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...
Results 1 to 5 of 5