Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I open the inspector group in Netbeans?

Tags:

java

netbeans

I am using netbeans ide 7.1.1 and all of the groups are open. I cannot find the inspector group. I have the navigator group open, files, palette, program, and, navigator group open. I need the inspector group.

like image 943
Hrfpkj Avatar asked Apr 20 '12 09:04

Hrfpkj


3 Answers

The problem is that NetBeans 7.1.1 has renamed the inspector group to Navigator. Previously in order to add a jFilechooser you had to right click the form in inspector and add it from the right click menu. Now in order to get the same result you left click the jForm, then look in the navigator and right click the additional components and add the jFilechooser from there. This is helpful for people following a tutorial that was made using a previous version of NetBeans.

like image 83
Hrfpkj Avatar answered Nov 12 '22 12:11

Hrfpkj


To go to the inspector window, use Window > Inspector from the NetBeans menu . the window that appears looks like this :

The image is sourced from link and may not match your project exactly .

like image 4
CyprUS Avatar answered Nov 12 '22 13:11

CyprUS


Ok,

  1. Double Click your Jframe.java (from the Project tree, usually left side)
  2. Select the Design tab (looks like a button under your main tab)
  3. You should see two tabs on the right, Navigation (previously Inspector) and Properties.

There seems to be a Navigator and a Properties tab in the same panel (both context sensitive), they are difficult to distinguish however since the tab-names start with the name of whatever object is currently selected. (ObjName-Navigator and ObjName-Properties) Since they both represent the same object they cannot be distinguished unless the view/panel is stretched. Also when the Source sub-tab (toggle-button) is selected, there is a different Navigator with different icons and different options for the same objects.

I am using NetBeans IDE 7.1.2 and just had the same problem trying to change variable names, following the Oracle's Converter Example. I learned the AWT back in Java 1.3 and am still catching up with all these fancy new tools, I like the features but I do not always appreciate how they have been implemented.

like image 4
Jason K. Avatar answered Nov 12 '22 14:11

Jason K.