| Line | |
|---|
| 1 | |
|---|
| 2 | package spikes; |
|---|
| 3 | |
|---|
| 4 | import java.io.FileInputStream; |
|---|
| 5 | import java.util.Properties; |
|---|
| 6 | import java.util.logging.Level; |
|---|
| 7 | import javax.swing.JOptionPane; |
|---|
| 8 | import javax.swing.JWindow; |
|---|
| 9 | import tmcsim.common.SimulationException; |
|---|
| 10 | |
|---|
| 11 | /** |
|---|
| 12 | * |
|---|
| 13 | * @author jdalbey |
|---|
| 14 | */ |
|---|
| 15 | public class ShowUserDir |
|---|
| 16 | { |
|---|
| 17 | public ShowUserDir() |
|---|
| 18 | { |
|---|
| 19 | JOptionPane.showMessageDialog(new JWindow(), |
|---|
| 20 | "\nUser.Dir=" + System.getProperty("user.dir"), |
|---|
| 21 | "Show User Dir", JOptionPane.INFORMATION_MESSAGE); |
|---|
| 22 | } |
|---|
| 23 | public static void main(String[] args) |
|---|
| 24 | { |
|---|
| 25 | new ShowUserDir(); |
|---|
| 26 | } |
|---|
| 27 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.