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 109649 - Properties view is inconsistent for library classes selected in different ways
Summary: Properties view is inconsistent for library classes selected in different ways
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 14:55 UTC by bass
Modified: 2007-09-26 09:14 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 bass 2007-07-13 14:55:02 UTC
If a library class, say, javax.swing.JButton, is being selected from the Projects view, its properties, as displayed by
the Properties view:

1. are few (Modifiers, Name, Extends, Implements);
2. have their values read-only (sure, this is a library class!).

If one opens the same library class in a source code editor and selects "JButton" there, the Properties view will
display a list of properties which are suitable for a user's class (which can undergo refactoring, etc.) -- this list
allows the following class attributes being edited:

1. modifiers;
2. superclass;
3. superinterfaces;
4. javadoc comment.

This is not a harmful yet very annoying behaviour.

The same issue can be observed if a library class name is selected anywhere in the non-read-only source  code (say, one
may have a user class which "extends JButton" or just a code which imports javax.swing.JButton, etc.)
Comment 1 Jan Becicka 2007-08-24 08:44:25 UTC
This issue is not valid in 6.0. Class properties removed.
Comment 2 Quality Engineering 2007-09-20 12:22:10 UTC
Reorganization of java component