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 - Bad constructor for MatteBorder
Summary: Bad constructor for MatteBorder
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-11-12 01:28 UTC by Jan Palka
Modified: 2002-07-19 15:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.