iPhone & Java

And finally iPhone is here. I -just like any other java mobile developer- am very much excited to know whether iPhone supports java or not. While surfing the net I found people saying “To java or not to java” and thing like that. Many people think “Yeah, it will” and some others “No, I don’t think [...]

Iterator vs Enumeration

As all of you know both Iterator and Enumeration are used to traverse Collection objects, in a sequential fashion.  Enumeration can be applied to Vector and HashTable. Iterator can be used with most of the Collection objects.
Differences between Iterator & Enumeration:
Enumeration is twice as fast as Iterator and uses very less memory. Enumeration is very [...]

Java Runtime Environment in Mobile devices

What is J2ME?
J2ME is a subset of Java SE (with limited set of APIs) and is the Java platform for the mobile & embedded devices. J2ME is defined thru the JCP (Java Community Process) and keeps the promise, “portability”. In J2ME, portability is achieved by dividing the targeted devices into different “configurations”.
CDC: Connected Device Configuration
CLDC: [...]

Creating Time Series charts using JFreeChart

I have attached a code snippet which can give you a basic idea on creating a time-series chart using JFreeChart. This is a part of JFreeChart samples which come along with the free distribution of JFreeChart.
// Creating a dataset
TimeSeries s1 = new TimeSeries(”Name of the Time series”, Month.class);
s1.add(new Month(2, 2001), 181.8);
s1.add(new Month(3, 2001), 167.3);
s1.add(new Month(4, 2001), [...]

NetBeans IDE 6.0 Preview (M9) Information

The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written in the Java programming language. The NetBeans project consists of an open source IDE and an application platform, which can be used as a generic framework to build any kind of application. .
Many of the new features of NetBeans 6.0 have been implemented [...]