System.out.println("Can not set maximum " + pve.getMessage());
log.warn("Can not set maximum " + pve.getMessage());
   public void addSessionView(String tabText,Session session) {      MyInternalFrame frame = new MyInternalFrame();      frame.setVisible(true);      desktop.add(frame);      myFrameList.add(frame);      selectedIndex = desktop.getComponentCount();      frame.setContentPane(session);      try {         frame.setSelected(true);      } catch (java.beans.PropertyVetoException e) {}      session.addSessionListener(this);      session.addSessionJumpListener(this);      try {         frame.setMaximum(true);      }      catch (java.beans.PropertyVetoException pve) {         System.out.println("Can not set maximum " + pve.getMessage());      }   }