Archive for the ‘Java’ Category
Friday, October 26th, 2007
As you probably know in Netbeans Platform each module has its own ClassLoader. So if you want to load resources (eg: properties file, xml file, image file, etc) from another module basically you are out of luck.
Just out of my head, there are at least 2 solutions available:
Create Utility or ...
Posted in Citra FX, Java, Netbeans, Sketsa | 4 Comments »
Thursday, October 18th, 2007
During development of our product Sketsa SVG Editor, we need to customize the default Netbeans Platform About Dialog and splash screen as part our product branding.
Note: this is tested on Netbeans IDE 6-beta1
Posted in Java, Netbeans, Sketsa | 10 Comments »
Thursday, September 20th, 2007
If you are building application on top of Netbeans Platform sooner or later you will deal with layer.xml. Layer.xml (Netbeans FAQ) is
Layer files are small XML files provided by modules, which define a virtual filesystem . The layer file defines folders and files that will be merged into the ...
Posted in Citra FX, Java, Netbeans | 1 Comment »
Monday, September 10th, 2007
Daniel Spiewak Javalobby post regarding Jasper Pott recent blog nimbus almost done. Jasper Pott blog quote:
Finally we are almost done with Nimbus and I am very pleased with the way it looks. There are many small details that need to be pollished ...
...
Nimbus was drawn graphicaly in a new tool ...
Posted in Java, Netbeans | 1 Comment »
Wednesday, September 5th, 2007
If you build an application on top of Netbeans Platform and wondering how to create the custom options or preferences panel (Menu Tool - Options), then this tutorial is for you.
This tutorial based on Sketsa SVG Graphics Editor that create custom Options Dialog for storing canvas related thing in Netbeans ...
Posted in Java, Netbeans, Sketsa | No Comments »
Saturday, September 1st, 2007
Normally, using Netbeans Platform you have to use DataObject.find() and use the OpenCookie to open the DataObject (eg: file, etc) to be opened on the Editor TopComponent. However, for certain case, I do not have the file yet eg: in Sketsa menu File - New. We do not want to ...
Posted in Java, Netbeans, Sketsa | 2 Comments »
Thursday, August 23rd, 2007
Just simply use StringReader to wrap your string and pass it to DocumentFactory as the example below
Note: this sample utilize Apache Batik
Posted in Apache Batik, Java, SVG, Sketsa | No Comments »
Thursday, August 16th, 2007
If you build application on top of Netbeans Platform, the default user directory setting will be in .app-name/dev. Well, this will quickly turn become problem when you deploy your next version of application, because the next version will read that directory settings for any persistence object and try to load ...
Posted in Java, Netbeans | No Comments »
Friday, August 10th, 2007
You build your application and public API, and now you want to publish or give your API Javadoc to others. But what happen is that your Javadoc API looks ugly because all the external link eg: link to standard Java class (String, JComponent, JPanel, etc) have no link at all ...
Posted in Java | 1 Comment »
Thursday, August 9th, 2007
This is a tutorial on how to create most recently used files for the Netbeans Platform based application, like you see in the Sketsa or Citra FX.
Note: this tutorial utilize the new NbPreferences available in the upcoming Netbeans 6
Posted in Citra FX, Java, Netbeans, Sketsa | 3 Comments »