Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    1,005

    Re: A headache!

    From that error message (and that error message alone), it looks like you're passing in a JTextField (whose toString() method returns that stuff) into the File you want to open, instead of the text...
  2. Replies
    9
    Views
    1,005

    Re: A headache!

    I'm still trying to work through that code, and honestly I'm not sure what the problem is. Are you just trying to strip something out of a String?

    What do you expect to happen, and what happens...
  3. Replies
    9
    Views
    1,005

    Re: A headache!

    That's a lot of code to wade through- you might consider posting an SSCCE instead.

    Can't you just use String.replaceAll() or use a different path separator, like "/"? Or use the system file path...
Results 1 to 3 of 3