private void updateChoice(String command) { if("suffix=true".equalsIgnoreCase(command)){ this.suffixLength.setVisible(true); } else if("suffix=false".equalsIgnoreCase(command)){ this.suffixLength.setVisible(false); } validate(); }
this.typeGeneratedValue.setVisible(false); this.typeFixedValue.setVisible(false); this.max.setVisible(false); this.min.setVisible(false); this.value.setVisible(false); this.typeRandom.setVisible(false); this.seed.setVisible(false); this.textArea.setVisible(true); this.textPanel.setVisible(true); this.sizeArray.setVisible(false); } else if(GENERATED_VALUE.equals(command)) { this.typeFixedValue.setVisible(false); this.value.setVisible(false); this.textArea.setVisible(false); this.textPanel.setVisible(false); this.typeGeneratedValue.setVisible(true); this.max.setVisible(true); this.min.setVisible(true); this.typeRandom.setVisible(true); this.seed.setVisible(true); this.sizeArray.setVisible(false); } else if(FIXED_VALUE.equals(command)){ this.typeGeneratedValue.setVisible(false); this.typeFixedValue.setVisible(true); this.max.setVisible(false); this.min.setVisible(false); this.value.setVisible(true); this.typeRandom.setVisible(false); this.seed.setVisible(false);