示例#1
0
 private void setupErrorPanel() {
   errorPanel = new ErrorDisplay();
   errorPanel.addMouseListener(
       new MouseAdapter() {
         public void mousePressed(MouseEvent event) {
           ApplicationManager.getCurrentApplicationInstance().getGlassPane().setVisible(false);
         }
       });
 }