This page is indented for helpful tips and tricks, on all sorts of topics, for the Puzzle project.
#How to add more memory to Netbeans Project
#How to start puzzle in maven from netbeans
#How to fix error Too many open files
#How to find the selected TopComponent in the Editor Mode
How to add more memory to Netbeans Project
Add the following in your \NetBeans\harness\etc\app.conf file
But this sometimes ignored on Linux, to resolve this change the property "run.args.common" in the section
<target name="-init"> in the \NetBeans\harness\run.xml file
for example:
How to start puzzle in maven from netbeans
There is a class loader issue when running the application from netbeans. you must remove the install
call from the run goal. You will have to explicitly build the module before.

How to fix error : Too many open files
On linux this error happens due to system limitations.
To raise this limit, add in file /etc/security/limits.conf
How to find the selected TopComponent in the Editor Mode
Sometimes you would like to know which TopComponent is the selected TopComponent in the Editor Mode, when some other TopComponent in some other Mode is active.
Like for instance a TopComponent is active in the Explorer Mode, and you have three or four TopComponents open in the Editor Mode.
To get the selected TopComponent In Editor Mode do the following.
The following code presumes you know what class type of the TopComponent is that is displayed in the Editor Mode.