When trying to open a custom JPanel class in the NetBeans GUI design tool, I get the following error:
Warning - Form loaded with errors
Error in loading component property: [JPanel]->someScrollPane->somePlainJTable->autoCreateRowSorter No such property exists in the component.
The offending code:
somePlainJTable.setAutoCreateRowSorter(true);
In maven pom:
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
The javadocs says: it is available in 1.6.
Also the source code editor gives no error.
To me it seems like the GUI editor is using source level 1.5 for some reason.
Any ideas?