protected void resetBottomVisibility() {
   if ((bottomComponent == null) || (spinWidget == null)) return;
   bottomComponent.setVisible(spinWidget.isOpen());
   revalidate();
   if (isShowing()) {
     Container ancestor = getTopLevelAncestor();
     //            if ((ancestor != null) && (ancestor instanceof Window))
     //                ((Window) ancestor).pack();
     repaint();
   }
 }
 public boolean isBottomShowing() {
   return spinWidget.isOpen();
 }