Xcode+Java How to get the fullpath of a file which is chosen using fileopen dialog?

Discussion in 'Mac Programming' started by Kathe, Oct 15, 2008.

  1. Kathe macrumors newbie

    Joined:
    Sep 19, 2008
    #1
    Hi,

    I use Java in xcode.
    I have a file open chooser dialog from which i can choose the file i need.
    But how can i get the full path of the choosen file using Java.
    Code snippets ?

    Thanks
    kathe
     
  2. garethlewis2 macrumors 6502

    Joined:
    Dec 6, 2006
    #2
    getAbsolutePath()

    Look it up in the documentation for Java. It is what it's there for.
     

Share This Page