private void inititateSarType() { int selectedIndex = typeSelectionComboBox.getSelectedIndex(); // 0 Simple SAR // 1 Rapid Response // 2 Datum Point // 3 Datum Line // 4 Back track switch (selectedIndex) { case 0: voctManager.setSarType(SAR_TYPE.SIMPLE_SAR); // rapidResponseDatumPointInputPanel // .setSARType(SAR_TYPE.RAPID_RESPONSE); currentCard = SIMPLESAR; break; case 1: voctManager.setSarType(SAR_TYPE.RAPID_RESPONSE); rapidResponseDatumPointInputPanel.setSARType(SAR_TYPE.RAPID_RESPONSE); currentCard = INPUTSARRAPIDRESPONSEDATUM; break; case 2: voctManager.setSarType(SAR_TYPE.DATUM_POINT); rapidResponseDatumPointInputPanel.setSARType(SAR_TYPE.DATUM_POINT); currentCard = INPUTSARRAPIDRESPONSEDATUM; break; case 3: voctManager.setSarType(SAR_TYPE.DATUM_LINE); currentCard = INPUTPANELDATUMLINE; break; // case 3: // voctManager.setSarType(SAR_TYPE.BACKTRACK); // // currentCard = INPUTSARRAPIDRESPONSEDATUM; // break; } }