Skip to content

Commit

Permalink
Fix NPE when running under JNLP
Browse files Browse the repository at this point in the history
  • Loading branch information
grkvlt committed Aug 23, 2017
1 parent c6e4156 commit b89772d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/iterator/Explorer.java
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ public static void main(final String...argv) throws Exception {

// Load splash screen text
SplashScreen splash = SplashScreen.getSplashScreen();
if (splash.isVisible()) {
if (splash != null && splash.isVisible()) {
Graphics2D g = splash.createGraphics();

try {
Expand Down

0 comments on commit b89772d

Please sign in to comment.