private JCheckBox getEnableWallCollisionCheckBox() { if (enableWallCollisionCheckBox == null) { enableWallCollisionCheckBox = new JCheckBox("Wall Collisions"); enableWallCollisionCheckBox.setMnemonic('l'); enableWallCollisionCheckBox.setDisplayedMnemonicIndex(2); } return enableWallCollisionCheckBox; }
private JCheckBox getEnableRobotCollisionCheckBox() { if (enableRobotCollisionCheckBox == null) { enableRobotCollisionCheckBox = new JCheckBox("Robot Collisions"); enableRobotCollisionCheckBox.setMnemonic('t'); enableRobotCollisionCheckBox.setDisplayedMnemonicIndex(4); } return enableRobotCollisionCheckBox; }
private JCheckBox getEnableRobotDeathCheckBox() { if (enableRobotDeathCheckBox == null) { enableRobotDeathCheckBox = new JCheckBox("Robot Death Explosions"); enableRobotDeathCheckBox.setMnemonic('x'); enableRobotDeathCheckBox.setDisplayedMnemonicIndex(13); } return enableRobotDeathCheckBox; }
private JCheckBox getEnableBulletHitCheckBox() { if (enableBulletHitCheckBox == null) { enableBulletHitCheckBox = new JCheckBox("Bullet Hit"); enableBulletHitCheckBox.setMnemonic('H'); enableBulletHitCheckBox.setDisplayedMnemonicIndex(7); } return enableBulletHitCheckBox; }
private JCheckBox getOptionsRenderingBufferImagesCheckBox() { if (optionsRenderingBufferImagesCheckBox == null) { optionsRenderingBufferImagesCheckBox = new JCheckBox("Buffer images (uses memory)"); optionsRenderingBufferImagesCheckBox.setMnemonic('i'); optionsRenderingBufferImagesCheckBox.setDisplayedMnemonicIndex(7); optionsRenderingBufferImagesCheckBox.addActionListener(eventHandler); } return optionsRenderingBufferImagesCheckBox; }
public JCheckBox getCaseSensitiveCheckBox() { if (caseSensitiveCheckBox == null) { caseSensitiveCheckBox = new JCheckBox(); caseSensitiveCheckBox.setText("Case Sensitive"); caseSensitiveCheckBox.setMnemonic('v'); caseSensitiveCheckBox.setDisplayedMnemonicIndex(12); caseSensitiveCheckBox.addActionListener(this); } return caseSensitiveCheckBox; }