Bethan Palmer Bethan is a Java developer and a Java Champion. She has spoken at conferences including JavaOne/Code One, DevFest and NetBeans days. She has a degree in English Literature.

Creating plugins in the NetBeans IDE

57 sec read

Today at JavaOne we learned about making plugins in the NetBeans IDE. Making your own plugin is a good idea because if your technology is available in the IDE, people are more likely to start using it.

netbeans-logo

Some general words of advice:

  • Before diving straight in, create levels of requirements for your plugin. For example design a prototype, then decide on the minimal, medium and full requirements you would like to include
  • Look at similar existing plugins and try and make yours as similar to those as possible. For example if you are creating a database plugin, look at how other database plugins work

Making a simple plugin is relatively straightforward. A tutorial is available here.

When you are done, right clicking on your new module will give you the option to Install/Reload. Now the software you have just been writing will be available to use in the very IDE you have just been using to create it.

When you are happy with your plugin you can go to NetBeans Plugin Portal and upload it. A community of verifiers will make sure the core functionality works and that it doesn’t break NetBeans. After that your plugin will be available in the plugin manager in NetBeans for anyone to use (just go to Tools > Plugins and search in available plugins).

Another tip: Once people are using it, be prepared for the fact that you will now need to ensure it keeps working and be prepared to respond to feedback.

The best way is to try it – have a go at creating your own plugin in NetBeans.

 


Do you need to write or read JPEG in Java?

We have an easy guide on how to write JPEG in Java using ImageIO and JDeli. You can learn how to read/write most of the image files in ImageIO. However, it gives little control over the process.

JDeli is easy to use and offers complete support, so why don't you give a try?

Find out:

Bethan Palmer Bethan is a Java developer and a Java Champion. She has spoken at conferences including JavaOne/Code One, DevFest and NetBeans days. She has a degree in English Literature.

DevFest 2019 in Pictures

Mark Stephens
29 sec read

Oracle CodeOne series index

What is CodeOne? Every year Oracle organises a technical conference in San Francisco with lots of technical talks. Each year we send 2 of...
Madalena
40 sec read

One Reply to “Creating plugins in the NetBeans IDE”

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2020. All rights reserved.