processing.app.BaseSplash Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pde Show documentation
Show all versions of pde Show documentation
Processing is a programming language, development environment, and online community.
This PDE package contains the Processing IDE.
package processing.app;
import java.io.File;
import processing.app.ui.SplashWindow;
import processing.app.ui.Toolkit;
public class BaseSplash {
static public void main(String[] args) {
try {
final boolean hidpi = Toolkit.highResDisplay();
final String filename = "lib/about-" + (hidpi ? 2 : 1) + "x.png";
File splashFile = Platform.getContentFile(filename);
SplashWindow.splash(splashFile.toURI().toURL(), hidpi);
SplashWindow.invokeMain("processing.app.Base", args);
SplashWindow.disposeSplash();
} catch (Exception e) {
e.printStackTrace();
// !@#!@$$! umm
//SplashWindow.invokeMain("processing.app.Base", args);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy