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.

Bug 81439 - "Border buildup" problems throughout UML ui
Summary: "Border buildup" problems throughout UML ui
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 22:19 UTC by _ tboudreau
Modified: 2008-08-22 00:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot 1 (27.89 KB, image/png)
2006-07-30 22:20 UTC, _ tboudreau
Details
image/png (80.61 KB, application/octet-stream)
2006-07-30 22:20 UTC, _ tboudreau
Details
image/png (24.09 KB, application/octet-stream)
2006-07-30 22:21 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-07-30 22:19:41 UTC
The UML modules have "border buildup" problems in a lot of places.  I worked
very hard in the rest of NetBeans to fix all such cases - the typical pattern is
adding something to a JScrollPane that supplies its own border, like a
JTextComponent - you get doubled borders.  This causes the UML components to
look sloppily designed  beside the rest of the IDE's components.

Screenshots for some cases attached - it would be worth reviewing all uses of
JScrollPane to make sure this is handled correctly.  Typically the solution is
simply to remove the borders from the scroll pane in question.  Code:

theScrollPane.setBorder (BorderFactory.createEmptyBorder());
theScrollPane.setViewportBorder (BorderFactory.createEmptyBorder());

be sure to set the viewport border as well as the outer border - different look
and feels will favor different borders.  Do *not* use null, use an EmptyBorder -
if you use null, GTK look and feel will treat that as an invitation to supply
its own border, making things ugly again.
Comment 1 _ tboudreau 2006-07-30 22:20:23 UTC
Created attachment 32348 [details]
screenshot 1
Comment 2 _ tboudreau 2006-07-30 22:20:45 UTC
Created attachment 32349 [details]
image/png
Comment 3 _ tboudreau 2006-07-30 22:21:03 UTC
Created attachment 32350 [details]
image/png
Comment 4 Peter Lam 2008-06-12 01:46:25 UTC
In screenshot #1, RE no longer uses popup dialog for progress. NB Output window is used.
In screenshot #2, drawing area has been redesigned.
In screenshot #3, dialog has been redesigned.
Comment 5 Peter Lam 2008-08-22 00:34:35 UTC
verified again in NB 6.5 UML build 20080821.