|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dirchooser2.DirChooser2
public class DirChooser2
Constructor Summary | |
---|---|
DirChooser2()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Opens a file chooser, and prints the fully-qualified path of the selected directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirChooser2()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.reflect.InvocationTargetException
Example: java -jar DirChooser2.jar "Choose the directory in which you wish to work"
pops up a window with the message in the title line. If the user selects the directory "/home/psgendb/demo" and presses Open, DirChooser2.jar will print the line
/home/psgendb/demo
[title
- title for DirChooser2 window ]
java.lang.reflect.InvocationTargetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |