I'm interested in disable some of tabs of my TabbedPane. I have built my interface with netbeans 5.5 and I've tried to use tpane.setEnabledAt(1,false) in Post-Creation Code, but I received an error like: "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 >= 0"