Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1ActionPerformed(ActionEvent e) {
- if (e.getActionCommand().equals("Start")) {
- if (comboBox1.getSelectedItem().equals("Soft Leather")) {
- ut = UNTANNED_COW;
- th = SOFT_COW;
- selection = "Soft Leather";
- tanningid = 9;
- } else if (comboBox1.getSelectedItem().equals("Hard Leather")) {
- ut = UNTANNED_COW;
- th = HARD_COW;
- selection = "Hard Leather";
- tanningid = 10;
- } else if (comboBox1.getSelectedItem().equals("Green Dragonhide")) {
- ut = UNTANNED_GREEN;
- th = TANNED_GREEN;
- selection = "Green Leather";
- tanningid = 13;
- } else if (comboBox1.getSelectedItem().equals("Blue Dragonhide")) {
- ut = UNTANNED_BLUE;
- th = TANNED_BLUE;
- selection = "Blue Leather";
- tanningid = 14;
- } else if (comboBox1.getSelectedItem().equals("Red Dragonhide")) {
- ut = UNTANNED_RED;
- th = TANNED_RED;
- selection = "Red Leather";
- tanningid = 15;
- } else if (comboBox1.getSelectedItem().equals("Black Dragonhide")) {
- ut = UNTANNED_BLACK;
- th = TANNED_BLACK;
- selection = "Black Leather";
- tanningid = 15;
- }
- else if (checkBox1.isSelected()) {
- rest = true;
- }
- startScript = true;
- dispose();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement