January 21st, 2014, 03:48 PM
Looking for java identifiers.
Is there any lists of identifiers that Java supports from the computer? Looking for some webpages that might list some. Not quite interested in ones like "today's date" and "time" since I can just look at my watch or at the computer's display clock. But more like the system's uptime.
For example, in older Windows like 2K, I think if you Ctrl Alt Del you go to a dialog that has the system uptime.
It would be like mm dd yyyy hh:nn:ss.
With this information, then I could use this to calculate how many days, hours, etc. ago the computer has been on.
I'm also looking for some commands that Java might support, like the run command in the command prompt. Like if I wanted to run Notepad.exe or a certain file with the path. I tried that and it didn't work so if it exists, it's called something else.
January 21st, 2014, 03:58 PM
You can use a ProcessBuilder to execute external commands
January 24th, 2014, 02:24 PM
Okay here's another 1: changing the desktop wallpaper to another image. Looking for a library of Java commands that can change Windows settings. I tried searching for stuff like this in my favorite search engine but no luck.
January 24th, 2014, 03:36 PM
If you can figure out how to do it in the command line, you should be able to with ProcessBuilder
Originally Posted by LostShadow