This is very nice. Although it's a way how to make writing NetBeans plug-ins or application above NetBeans less exciting - less hacking is necessary, things...
This is very nice. Although it's a way how to make writing NetBeans plug-ins or application above NetBeans less exciting - less hacking is necessary, things will just work... etc. Wizards are not for 100% geeks, are they? :-)
This is very nice. Although it's a way how to make writing NetBeans plug-ins or application above NetBeans less exciting - less hacking is necessary, things will just work... etc. Wizards are not...
I'd like to show you two screenshots. Take a look at them and compare them (click to open maximized):Original applicationPorted to NetBeans platformWhat I did...
I'd like to show you two screenshots. Take a look at them and compare them (click to open maximized):Original applicationPorted to NetBeans platformWhat I did is that I took the original application for simulation of processor and rewrote the GUI part in 2 days to work above NetBeans. I'm not done with it yet but the basic functionality is there. My impression is that the application got a really great look and somehow became professional-looking. The strange thing is that I...
I'd like to show you two screenshots. Take a look at them and compare them (click to open maximized):Original applicationPorted to NetBeans platformWhat I did is that I took the original application...
Unless you're doing something very standard there is a probability you'll need to include an additional library with your module. At first it's a good idea to...
Unless you're doing something very standard there is a probability you'll need to include an additional library with your module. At first it's a good idea to take a look if the library is not included with the IDE (in module/ext subdirs of individual clusters). In that case you can just declare dependence on the module which boundles the library and you're done.However you probably won't be so lucky and you'll need to provide the library yourself. As I was told it's better...
Unless you're doing something very standard there is a probability you'll need to include an additional library with your module. At first it's a good idea to take a look if the library is...
One of the things you'll probably want to do if you're writing your plug-in is to have your own options. NetBeans can take care of their lifecycle - they are...
One of the things you'll probably want to do if you're writing your plug-in is to have your own options. NetBeans can take care of their lifecycle - they are loaded on IDE startup and if changed they are saved to the userdir. You have probably noticed the small dialog which appears when you close IDE, saving options of all modules is one of the actions performed. So the IDE takes care about management of your options - you don't have to write quite a lot of code which is...
One of the things you'll probably want to do if you're writing your plug-in is to have your own options. NetBeans can take care of their lifecycle - they are loaded on IDE startup and if changed they...
Last time I blogged about executing ant tasks from the IDE. It was done in an ugly way - by generating a temporary ant script for execution. A nicer way is to...
Last time I blogged about executing ant tasks from the IDE. It was done in an ugly way - by generating a temporary ant script for execution. A nicer way is to use an existing ant script, which will be placed somewhere in the module's jar.But the question is: how to access a xml file which is located somewhere inside my module? Or any other arbitrary file?Well, you need to register this file in NetBeans layered filesystem. To achieve this, add something like this to the...
Last time I blogged about executing ant tasks from the IDE. It was done in an ugly way - by generating a temporary ant script for execution. A nicer way is to use an existing ant script, which will be...
During my vacation next to lots of biking and having fun with friends I also worked on my second plug-in called Project Packager. Unlike my previous Googlefight...
During my vacation next to lots of biking and having fun with friends I also worked on my second plug-in called Project Packager. Unlike my previous Googlefight plug-in this one is almost useful. It can be used to export projects as zip packages, send them by e-mail and to unpack them for opening. Here's a screenshot of the export dialog:Exporting of projects and sending by e-mailI've found out that exploring NetBeans APIs can be quite fun and will share some of the...
During my vacation next to lots of biking and having fun with friends I also worked on my second plug-in called Project Packager. Unlike my previous Googlefight plug-in this one is almost useful. It...
If you've ever studied NetBeans sources or wrote anything above NetBeans, you must have crossed the omnipresent Cookies. There is a nice explanation of how the...
If you've ever studied NetBeans sources or wrote anything above NetBeans, you must have crossed the omnipresent Cookies. There is a nice explanation of how the term was created in the NetBeans: the Definitive Guide (which is btw a great resource if you want to really understand NetBeans, most concepts are still valid although the book is about NetBeans 3.x):----------------------%
If you've ever studied NetBeans sources or wrote anything above NetBeans, you must have crossed the omnipresent Cookies. There is a nice explanation of how the term was created in the NetBeans:...
In my new plug-in I need to call an an task from the IDE. Thanks to Zajo for telling me the secret how to do that via NetBeans API. It's quite simple, the...
In my new plug-in I need to call an an task from the IDE. Thanks to Zajo for telling me the secret how to do that via NetBeans API. It's quite simple, the hardest thing is (as usual) to find the right classes and methods. Here is the source code:import java.io.BufferedWriter;import java.io.File;import java.io.FileWriter;import...
In my new plug-in I need to call an an task from the IDE. Thanks to Zajo for telling me the secret how to do that via NetBeans API. It's quite simple, the hardest thing is (as usual) to find the right...
I'm starting hereby a new series of posts called Hacking NetBeans. Through this I want to share my experiences with using NetBeans APIs when writing NetBeans...
I'm starting hereby a new series of posts called Hacking NetBeans. Through this I want to share my experiences with using NetBeans APIs when writing NetBeans plug-ins. I know almost nothing about NetBeans APIs at the moment so I'll meet many obstacles. My advantage is that I can ask anyone in the Prague building for an answer and by writing these answers down I hope to provide simple answers for other developers (you'll probably have similar issues as I do). The disadvantage...
I'm starting hereby a new series of posts called Hacking NetBeans. Through this I want to share my experiences with using NetBeans APIs when writing NetBeans plug-ins. I know almost nothing...