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.
newText = newString;
}
// per char based
if (newText == null) {
this.text = "";
newString = "";
newText ="";
for (int i=0;i<text.length();i++) {
newString += text.charAt(i);
if (fm.stringWidth(newString + "...") > view.width) { // NOI18N
this.text = newText + "..."; // NOI18N
break;
} else {
} else
this.text = text;