mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-08-07 23:25:09 +00:00
Ensure that the SWT version of AppleCommander is available.
This commit is contained in:
@@ -104,6 +104,7 @@ public class AppleCommander {
|
||||
protected static boolean isSwtAvailable() {
|
||||
try {
|
||||
Class.forName("org.eclipse.swt.SWT");
|
||||
Class.forName("com.webcodepro.applecommander.ui.swt.SwtAppleCommander");
|
||||
return true;
|
||||
} catch (ClassNotFoundException ex) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user