Add Mike42 Machine Type
This commit is contained in:
4 files changed
+158
-9
No files matched your search
@@ -30,6 +30,7 @@ import javax.swing.LookAndFeel;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UnsupportedLookAndFeelException;
|
||||
|
||||
import com.loomcom.symon.machines.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@@ -84,7 +85,7 @@ public final class Ui {
|
||||
}
|
||||
|
||||
public static Class<?> showMachineSelectionDialog() {
|
||||
Object[] possibilities = { "Symon", "Multicomp", "Simple", "BenEater" };
|
||||
Object[] possibilities = { "Symon", "Multicomp", "Simple", "BenEater", "Mike42" };
|
||||
String s = (String) JOptionPane.showInputDialog(
|
||||
null,
|
||||
"Please choose the machine type to be emulated:",
|
||||
@@ -100,6 +101,8 @@ public final class Ui {
|
||||
return SimpleMachine.class;
|
||||
} else if (s != null && s.equals("BenEater")) {
|
||||
return BenEaterMachine.class;
|
||||
} else if (s != null && s.equals("Mike42")) {
|
||||
return MichaelBillingtonMachine.class;
|
||||
} else {
|
||||
return SymonMachine.class;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user