return false;
Component parent = getParent(); boolean retVal = false; if (parent instanceof JViewport) { JViewport viewport = (JViewport) parent; Dimension pref = getPreferredSize(); if (viewport.getSize().width > pref.width) retVal = true; if ((getLayoutOrientation() == HORIZONTAL_WRAP) && (getVisibleRowCount() <= 0)) retVal = true; } return retVal;
  public boolean getScrollableTracksViewportWidth()  {    return false;  }