<AWT Dev> RFE: new function in Desktop class

Paulo Levi i30817 at gmail.com
Sat Mar 6 07:48:02 PST 2010


Hi. I'm using Desktop.open to open the default file explorer, by doing
File.getParent() and opening that.

However i'd like the file(s) that interest me to open selected in the file
explorer, but as the open function is overloaded there doesn't seem to be a
way to do that?

I'm proposing to separate the file explorer part into a separate function
call that can be called with a normal file, not only directories, so that
the files can appear selected and visible, like any decent file explorer
does.

Can't think of a good name for the function since browse is already taken.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20100306/0ca36948/attachment.html 


More information about the awt-dev mailing list