How to convert SVG String to SVGDocument ?

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

Netbeans Platform and Default User Directory Settings

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 ...

Write better Javadoc with links

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 ...

Netbeans Platform and Most Recently Used files (MRU)

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

Netbeans Platform Branding and version info

Monday, August 6th, 2007

By default Netbeans Platform based application automatically insert the version information by using the platform build number (the first or last 4 digits, correct me if I am wrong). And currently there is no easy ways to set or update this version info, unless you want to dig through the ...

Netbeans Platform i18n and localization

Saturday, August 4th, 2007

Netbeans Platform allows the application to be localized, the only problem is that it is not quite clear on the documentation, especially how to override the localization for Netbeans default menu eg: File, Edit, Windows, etc Note: The is based on Netbeans 5.5.1 So to localize Netbeans Platform default menu, you could ...

Netbeans Platform parsing command line arguments

Wednesday, August 1st, 2007

New features in Netbeans Platform 6 is the ability to parsing command line, so let's try to parse command line to automatically open document on startup. This example below are using Sketsa SVG Editor as an example