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 105280

Summary: API: A border should define a clipping shape for a widget
Product: platform Reporter: David Kaspar <dkaspar>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description David Kaspar 2007-05-31 15:08:08 UTC
For now when a border has non-rectangular shape, then the border usually has to
paint even the background of the widget, otherwise it is dificul to implement
the separation.

Therefore introduce a method on Border interface which will resolve/define a
shape for a assigned widget. This way the widget can use the shape (from Border)
for clipping the painting of background, graphic and child widgets, ...