public KeyOptionDialog(Frame parent) { this.setTitle("Keyboard Setting"); this.setModal(true); this.setResizable(false); // this.setSize(230, 284); this.setBounds((int) parent.getX() + 20, (int) parent.getY() + 75, 230, 200); ls.setLanguage(gameconfigure.getLanguage()); try { jbInit(); } catch (Exception e) { e.printStackTrace(); } }