mapper.init();
KeyMapper.init();
   void jbInit() throws Exception {      // create some reusable borders and layouts      BorderLayout borderLayout = new BorderLayout();      mapper = new KeyMapper();      mapper.init();      keyPanel.setLayout(borderLayout);      keyPanel.add(createFunctionsPanel(),BorderLayout.WEST);      keyPanel.add(createMappingPanel(),BorderLayout.CENTER);      // add the panels to our dialog      getContentPane().add(keyPanel,BorderLayout.CENTER);      getContentPane().add(options, BorderLayout.SOUTH);      // add option buttons to options panel      addOptButton(LangTool.getString("key.labelDone","Done"),"DONE",options,true);      this.setModal(true);      this.setTitle(LangTool.getString("key.title"));      // pack it and center it on the screen      pack();      Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();      Dimension frameSize = getSize();      if (frameSize.height > screenSize.height)         frameSize.height = screenSize.height;      if (frameSize.width > screenSize.width)         frameSize.width = screenSize.width;      setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);      // now show the world what we can do      show();   }