mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-10 11:29:20 +00:00
Ensure that the SWT version of AppleCommander is available.
This commit is contained in:
parent
4ef4fb5f97
commit
ef60667c99
@ -104,6 +104,7 @@ public class AppleCommander {
|
|||||||
protected static boolean isSwtAvailable() {
|
protected static boolean isSwtAvailable() {
|
||||||
try {
|
try {
|
||||||
Class.forName("org.eclipse.swt.SWT");
|
Class.forName("org.eclipse.swt.SWT");
|
||||||
|
Class.forName("com.webcodepro.applecommander.ui.swt.SwtAppleCommander");
|
||||||
return true;
|
return true;
|
||||||
} catch (ClassNotFoundException ex) {
|
} catch (ClassNotFoundException ex) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user