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 4703

Summary: Bad constructor for MatteBorder
Product: guibuilder Reporter: Jan Palka <janpalka>
Component: CodeAssignee: _ ttran <ttran>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Palka 1999-11-12 01:28:17 UTC
Add MatteBorder with Icon in Border property of a Component (do not set an icon). Try to compile it -

 No constructor in javax.swing.border.MatteBorder matches <init>(int,int,int,int,Object)
    jRadioButton1.setBorder (new javax.swing.border.MatteBorder(1, 1, 1, 1, null));
                                 ^
there should be subtyping
Comment 1 Marek Grummich 2000-07-25 09:42:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Stola 2000-07-27 17:54:59 UTC
Bug assigned to the module owner.