Academic Works

Absolute beginner’s guide to Eclipse

Following article is a part of my Lab exercise for Eclipse course I am taking during Winter2011.

Click here for the java files used to create this tutorial
When Eclipse is run, it asks for a workspace location. I will use ./wksp/basics/labs. You can choose to use this workspace by default by ticking the checkbox. Eclipse starts [...]

Singleton Pattern

In Singleton Pattern, the class can only create a single instance. We want a class to have only a single instance for various reasons.
Sometimes, we want use a global object to keep information about your program. This object should not have any copies. This information might be things like configuration of the program, or a [...]

Factory method design pattern

OpenOffice.org development heavily uses the Factory method design pattern.
Design patterns are conventional templates that describes how to solve common software problems. Since most developers are familiar with the patterns, they can recognize a pattern in others source code. That makes working in teams easier. There are many popular design patterns. One of them is Factory [...]

OpenOffice development guide + example sourcecodes + api docs + more…its already installed with your OOo sdk.

wow..I just found a goldmine.
If you have installed OOo SDK in your linux (Ubuntu/Linux Mint/…), check this folder..there are a ton of useful learning materials for OOo development.
/usr/lib/openoffice/basis3.1/sdk

Setting up (netbeans + OOo api plugin + OOo sdk) for developing openoffice extension on Linux Mint (Ubuntu)

I downloaded the whole source codes from openoffice.org and was just about to read the guide on how to build it. Just downloading the compressed source and extracting them took about 3 hours. I could not compile the source because there were some dependency problems. I went to openoffice IRC. (http://webchat.freenode.net/ , channel: openoffice). There [...]