コード例 #1
0
 private void repaintView() {
   view = new WSWebExtView(dObj);
   comp.setContentView(view);
   Object lastActive = comp.getLastActive();
   if (lastActive != null) {
     ((SectionView) view).openPanel(lastActive);
   } else {
     // ((SectionView)view).openPanel("welcome_files"); //NOI18N
   }
   view.checkValidity();
   // dObj.checkParseable();
 }
コード例 #2
0
 public void componentShowing() {
   super.componentShowing();
   if (needInit) {
     repaintView();
     needInit = false;
   }
   // view=new WSWebExtView(dObj);
   comp.setContentView(view);
   try {
     view.openPanel(dObj.getWebExt());
   } catch (java.io.IOException ex) {
     LOGGER.log(Level.INFO, null, ex);
   }
   view.checkValidity();
 }