From: Steve T. <mst...@gm...> - 2016-12-02 13:28:48
|
on Ubuntu 14.04 (my cloud server): /home/[current_user] on RaspberryPi: /home/[current_user] On Fri, Dec 2, 2016 at 8:22 AM, Matthew Harris < mat...@gm...> wrote: > On Ubuntu Mate 15.10: > > >>> import javax > ... print javax.swing.filechooser.FileSystemView.getFileSystemView(). > getDefaultDirectory() > /home/[my_user_id] > > On 2 December 2016 at 14:19, Matthew Harris > <mat...@gm...> wrote: > > On Windows XP (x64): > > > >>>> import javax > > ... print javax.swing.filechooser.FileSystemView.getFileSystemView(). > getDefaultDirectory() > > C:\Documents and Settings\[my_user_id]\My Documents > > > > On 2 December 2016 at 14:17, Matthew Harris > > <mat...@gm...> wrote: > >> On Windows 7: > >> > >>>>> import javax > >> ... print javax.swing.filechooser.FileSystemView.getFileSystemView(). > getDefaultDirectory() > >> C:\Users\[my_user_id]\Documents > >> > >> > >> > >> On 2 December 2016 at 14:05, Randall Wood > >> <ran...@al...> wrote: > >>> Can someone please run the following Jython script in JMRI on Windows > XP, > >>> Windows 7/10, and a Linux variant? > >>> > >>> import javax > >>> print > >>> javax.swing.filechooser.FileSystemView.getFileSystemView(). > getDefaultDirectory() > >>> > >>> This script prints the user’s home directory in macOS, and I’d like to > know > >>> how it behaves on the other operating systems. > >>> > >>> Randall Wood > >>> JMRI Developer - http://jmri.org > >>> Alexandria Software - http://alexandriasoftware.com > >>> Northern Virginia NTRAK - http://nvntrak.org > >>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------ > ------------------ > >>> Check out the vibrant tech community on one of the world's most > >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >>> _______________________________________________ > >>> Jmri-developers mailing list > >>> Jmr...@li... > >>> https://lists.sourceforge.net/lists/listinfo/jmri-developers > >>> > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Jmri-developers mailing list > Jmr...@li... > https://lists.sourceforge.net/lists/listinfo/jmri-developers > |