contentPane.add(page);
   public void initPanel() throws Exception  {      setLayout(new BorderLayout());      contentPane = new JPanel();      contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS));      add(contentPane,BorderLayout.NORTH);      // define ppPanel panel      JPanel ppp = new JPanel();      ppp.setBorder(BorderFactory.createTitledBorder(LangTool.getString("sa.print")));      defaultPrinter = new JCheckBox(LangTool.getString("sa.defaultPrinter"));      if (getStringProperty("defaultPrinter").equals("Yes"))         defaultPrinter.setSelected(true);      ppp.add(defaultPrinter);      contentPane.add(ppp);   }