processing.app.linux
Class Platform
java.lang.Object
processing.app.Platform
processing.app.linux.Platform
public class Platform
- extends Platform
Used by Base for platform-specific tweaking, for instance finding the
sketchbook location using the Windows registry, or OS X event handling.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Platform
public Platform()
setLookAndFeel
public void setLookAndFeel()
throws java.lang.Exception
- Description copied from class:
Platform
- Set the default L & F. While I enjoy the bounty of the sixteen possible
exception types that this UIManager method might throw, I feel that in
just this one particular case, I'm being spoiled by those engineers
at Sun, those Masters of the Abstractionverse. It leaves me feeling sad
and overweight. So instead, I'll pretend that I'm not offered eleven dozen
ways to report to the user exactly what went wrong, and I'll bundle them
all into a single catch-all "Exception". Because in the end, all I really
care about is whether things worked or not. And even then, I don't care.
- Overrides:
setLookAndFeel
in class Platform
- Throws:
java.lang.Exception
- Just like I said.
openURL
public void openURL(java.lang.String url)
throws java.lang.Exception
- Overrides:
openURL
in class Platform
- Throws:
java.lang.Exception
openFolderAvailable
public boolean openFolderAvailable()
- Overrides:
openFolderAvailable
in class Platform
openFolder
public void openFolder(java.io.File file)
throws java.lang.Exception
- Overrides:
openFolder
in class Platform
- Throws:
java.lang.Exception