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.
NB: 200709210329 Steps to repro: 1) Create a UML Java-Platform model project 2) Create a class diagram and drop a class element in the diagram 3) Click "..." of "Template parameters" in the class element properties window 4) Click Add in the Template Parameters dialog 5) Click OK 6) Repeat step 3 again to bring up the Template Parameters dialog 7) Notice 3 was inserted in the visibility property value (see attached screenshot)
Created attachment 49263 [details] screenshot attached
What's wrong with this? Is the value "3" wrong? I assume it is just the default visibility for the parameter.
It is odd to see that this is the only field that has a default value, while none was provided in the one especially labeled "Default element". Besides, if 3 is the default value, it should be inserted when clicking on the "Add" button the first time. But however, it is empty and it only shows after user selects it again from the Properties window. Hence I think this is a bug.
Perhaps summary should be "Default value(s) not shown during Template Parameter entry"?
Good idea, I will modify the summary.