This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
/** Check whether it is not necessary to resize the gutter */
protected void checkSize() {
int count = getLineCount();
if (count > highestLineNumber) {
if (count != highestLineNumber) {
highestLineNumber = count;
}
Dimension dim = getPreferredSize();
if (getWidthDimension() > dim.width ||
if (getWidthDimension() != dim.width ||
getHeightDimension() > dim.height) {
resize();