How to create a custom button in Netbeans toolbar?

Frank picture Frank · Jun 13, 2011 · Viewed 10.2k times · Source

I have a command line script I saved in a file on my PC. How can I create a toolbar button in NB 7.0 so that clicking on this button will run my saved script? Also, what file extension should I name my script file so it will be executable, or does it matter at all?

Answer

Tim Sparg picture Tim Sparg · Jun 14, 2011

Here is a Toolbar button tutorial. And your script can be anything that can be executed in or by Java, the NetBeans Platform does not constrain you in that manner