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.

View | Details | Raw Unified | Return to bug 71064
Collapse All | Expand All

(-)Splash.java (+16 lines)
Lines 386-391 Link Here
386
                        newText = newString;
386
                        newText = newString;
387
                        
387
                        
388
                }
388
                }
389
390
                // per char based
391
                if (newText == null) {
392
                    this.text = "";
393
                    newString = "";
394
                    newText ="";
395
                    for (int i=0;i<text.length();i++) {
396
                        newString += text.charAt(i);
397
                        if (fm.stringWidth(newString + "...") > view.width) { // NOI18N
398
                            this.text = newText + "..."; // NOI18N
399
                            break;
400
                        } else {
401
                            newText = newString;
402
                        }
403
                    }
404
                }
389
            } else
405
            } else
390
                this.text = text;
406
                this.text = text;
391
        }
407
        }

Return to bug 71064