()
| 371 | |
| 372 | /// {@inheritDoc} |
| 373 | @Override |
| 374 | public int getSideGap() { |
| 375 | // isScrollableY() in the base method is very expensive since it triggers getScrollDimension before the layout is complete! |
| 376 | if (isScrollVisible() && orientation != HORIZONTAL) { |
| 377 | return getUIManager().getLookAndFeel().getVerticalScrollWidth(); |
| 378 | } |
| 379 | return 0; |
| 380 | } |
| 381 | |
| 382 | /// {@inheritDoc} |
| 383 | @Override |