Community
Participate
Working Groups
int width;
if (preferedSize.y - scrollBarHeight < constraints.y) {
width= preferedSize.x - scrollBarWidth;
fTable.getVerticalBar().setVisible(false);
} else {
width= Math.min(preferedSize.x, constraints.x);
}
int height;
if (preferedSize.x - scrollBarWidth < constraints.x) {
height= preferedSize.y - scrollBarHeight;
height= preferedSize.y - scrollBarHeight - 1;
fTable.getHorizontalBar().setVisible(false);
height= Math.min(preferedSize.y, constraints.y);