Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/yusufm/VisiCut into yusuf…
Browse files Browse the repository at this point in the history
…m-master
  • Loading branch information
t-oster committed Oct 31, 2019
2 parents 91f203d + 0e25b72 commit 68070b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
language: java language: java
jdk: jdk:
- openjdk8 - openjdk9
- openjdk11 - openjdk11


before_install: before_install:
Expand Down
20 changes: 10 additions & 10 deletions src/com/t_oster/visicut/gui/MainView.java
Expand Up @@ -22,11 +22,11 @@
// It is loaded dynamically iff JavaFX is available: // It is loaded dynamically iff JavaFX is available:
// import com.tur0kk.thingiverse.gui.ThingiverseLoginDialog; // import com.tur0kk.thingiverse.gui.ThingiverseLoginDialog;
import com.tur0kk.thingiverse.gui.ThingiverseDialog; import com.tur0kk.thingiverse.gui.ThingiverseDialog;
import com.apple.eawt.AppEvent.AboutEvent; import java.awt.desktop.AboutEvent;
import com.apple.eawt.AppEvent.OpenFilesEvent; import java.awt.desktop.OpenFilesEvent;
import com.apple.eawt.AppEvent.PreferencesEvent; import java.awt.desktop.PreferencesEvent;
import com.apple.eawt.AppEvent.QuitEvent; import java.awt.desktop.QuitEvent;
import com.apple.eawt.QuitResponse; import java.awt.desktop.QuitResponse;
import com.frochr123.fabqr.FabQRFunctions; import com.frochr123.fabqr.FabQRFunctions;
import com.frochr123.fabqr.gui.FabQRUploadDialog; import com.frochr123.fabqr.gui.FabQRUploadDialog;
import com.frochr123.gui.QRWebcamScanDialog; import com.frochr123.gui.QRWebcamScanDialog;
Expand Down Expand Up @@ -312,9 +312,9 @@ public void componentHidden(ComponentEvent ce)


if (Helper.isMacOS()) if (Helper.isMacOS())
{ {
com.apple.eawt.Application macApplication = com.apple.eawt.Application.getApplication(); java.awt.Desktop macApplication = java.awt.Desktop.getDesktop();
jmPreferences.setVisible(false); jmPreferences.setVisible(false);
macApplication.setPreferencesHandler(new com.apple.eawt.PreferencesHandler() macApplication.setPreferencesHandler(new java.awt.desktop.PreferencesHandler()
{ {


public void handlePreferences(PreferencesEvent pe) public void handlePreferences(PreferencesEvent pe)
Expand All @@ -323,7 +323,7 @@ public void handlePreferences(PreferencesEvent pe)
} }
}); });
exitMenuItem.setVisible(false); exitMenuItem.setVisible(false);
macApplication.setQuitHandler(new com.apple.eawt.QuitHandler() macApplication.setQuitHandler(new java.awt.desktop.QuitHandler()
{ {


public void handleQuitRequestWith(QuitEvent qe, QuitResponse qr) public void handleQuitRequestWith(QuitEvent qe, QuitResponse qr)
Expand All @@ -332,15 +332,15 @@ public void handleQuitRequestWith(QuitEvent qe, QuitResponse qr)
} }
}); });
aboutMenuItem.setVisible(false); aboutMenuItem.setVisible(false);
macApplication.setAboutHandler(new com.apple.eawt.AboutHandler() macApplication.setAboutHandler(new java.awt.desktop.AboutHandler()
{ {


public void handleAbout(AboutEvent ae) public void handleAbout(AboutEvent ae)
{ {
MainView.this.aboutMenuItemActionPerformed(null); MainView.this.aboutMenuItemActionPerformed(null);
} }
}); });
macApplication.setOpenFileHandler(new com.apple.eawt.OpenFilesHandler() macApplication.setOpenFileHandler(new java.awt.desktop.OpenFilesHandler()
{ {


public void openFiles(OpenFilesEvent ofe) public void openFiles(OpenFilesEvent ofe)
Expand Down

0 comments on commit 68070b7

Please sign in to comment.