modesPanel.add(label); ButtonGroup checkboxGroup = new ButtonGroup(); JRadioButton singleCheckbox = new JRadioButton("Single", editor.getEmitter().getSpriteMode() == SpriteMode.single); modesPanel.add(singleCheckbox); checkboxGroup.add(singleCheckbox); JRadioButton randomCheckbox = new JRadioButton("Random", editor.getEmitter().getSpriteMode() == SpriteMode.random); modesPanel.add(randomCheckbox); checkboxGroup.add(randomCheckbox); JRadioButton animatedCheckbox = new JRadioButton("Animated", editor.getEmitter().getSpriteMode() == SpriteMode.animated); modesPanel.add(animatedCheckbox); checkboxGroup.add(animatedCheckbox);
modesPanel.add(label); ButtonGroup checkboxGroup = new ButtonGroup(); JRadioButton singleCheckbox = new JRadioButton("Single", editor.getEmitter().getSpriteMode() == SpriteMode.single); modesPanel.add(singleCheckbox); checkboxGroup.add(singleCheckbox); JRadioButton randomCheckbox = new JRadioButton("Random", editor.getEmitter().getSpriteMode() == SpriteMode.random); modesPanel.add(randomCheckbox); checkboxGroup.add(randomCheckbox); JRadioButton animatedCheckbox = new JRadioButton("Animated", editor.getEmitter().getSpriteMode() == SpriteMode.animated); modesPanel.add(animatedCheckbox); checkboxGroup.add(animatedCheckbox);
modesPanel.add(label); ButtonGroup checkboxGroup = new ButtonGroup(); JRadioButton singleCheckbox = new JRadioButton("Single", editor.getEmitter().getSpriteMode() == SpriteMode.single); modesPanel.add(singleCheckbox); checkboxGroup.add(singleCheckbox); JRadioButton randomCheckbox = new JRadioButton("Random", editor.getEmitter().getSpriteMode() == SpriteMode.random); modesPanel.add(randomCheckbox); checkboxGroup.add(randomCheckbox); JRadioButton animatedCheckbox = new JRadioButton("Animated", editor.getEmitter().getSpriteMode() == SpriteMode.animated); modesPanel.add(animatedCheckbox); checkboxGroup.add(animatedCheckbox);