Matisse - Renaming Autogenerated Objects

I am trying to have meaningful object name appear in the Netbeans 5.5 IDE after I drag GUI components onto the design page. So far, I cannot rename them from their auto-generated names.

Example: I added a JMenuItem from the palette onto a Jmenu , and its name shows as "jMenuItem1". In the properties menu, I can change the value in the name and tooltip fields easily, but that does not affect the name displayed in the Navigator panel. In the source view, the declaration of the jMenuItem1 is highlighted in blue, telling me that I should not edit it there.

Any ideas as to how I can rename these objects?

Regards,

John A. Gooch, SCJP

Systems Administrator

IT - Tools

EchoStar Satellite L.L.C.

9601 S. Meridian Blvd.

Englewood, CO 80112

Desk: 720-514-5708

"A path without obstacles probably leads nowhere."

[884 byte] By [jagoocha] at [2007-10-3 8:54:06]
# 1
I discovered that I could seleect the name and the press "F2" key to rename it. Also, sometimes ( not always ) I can left click on the name, wait for a bit, and then it lets me rename it. The right-click "rename" and "refactor" options in Netbeans also do the trick.
jagoocha at 2007-7-15 4:04:02 > top of Java-index,Desktop,Core GUI APIs...