[go: up one dir, main page]

Menu

#1 Problems launching a file that doesn't have an extension.

open
nobody
None
1
2008-11-18
2008-07-16
No

Need to figure out how to used the Java Desktop API to launch a file which does not contain an extension.

I am not sure how to do this but we could possibly just assume that a file without an extension is treated as a text file. This could be accomplished by tacking on an extension to the String which contains the filename before calling the Desktop.launch(...) method. This is quick and dirty and should probably be avoided.

Discussion

  • Jonathan Baker

    Jonathan Baker - 2008-07-17
    • priority: 5 --> 2
     
  • Jonathan Baker

    Jonathan Baker - 2008-10-07
    • priority: 2 --> 1
     
  • Jonathan Baker

    Jonathan Baker - 2008-11-18
    • assigned_to: bworrell --> nobody
     

Log in to post a comment.