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 154525

Summary: Must first select class for Create Attribute context menu item to be enabled
Product: uml Reporter: tonybeckham <tonybeckham>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description tonybeckham 2008-12-03 20:10:29 UTC
The context menu item Create Attribute is not enabled by just right clicking a class.  The class must first be selected
then right click will have Create Attribute enabled.

Steps:
Create a new class diagram
Add a class from the palette to the design area name it class1
Click somewhere in the design area so class1 is not selected
Right click on "class1"
Create Attribute from context menu is disabled
Now select class one with left click then right click and Create Attribute item is enabled

System:
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)
Comment 1 Sergey Petrov 2008-12-03 20:36:25 UTC
may be mac specific issue, also with jdk 1.5.
can't reproduce on windows.
can you try to upgrade to java 1.6?
Comment 2 tonybeckham 2008-12-03 22:17:43 UTC
Also reproducible w/ jkd6

System:
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)
Comment 3 Sergey Petrov 2008-12-04 08:59:16 UTC
can reproduce on ubuntu with openjdk1.6.
Comment 4 tonybeckham 2008-12-04 18:03:33 UTC
Also reproducible on another mac machine

Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)