Google

Wednesday, September 16, 2009

SCJP Jar

http://paulmcpd.blogspot.com/2009/02/java-classpath.html

http://paulmcpd.blogspot.com/2009/02/another-jar-example.html

http://paulmcpd.blogspot.com/2009/09/scjp-errata.html

Sunday, September 13, 2009

Saturday, September 12, 2009

JavaFX



http://javafx.com/samples/

Friday, September 11, 2009

Java SCJP: How to do reverseOrder

import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.ArrayList;






Java For Profit

www.topcoder.com

www.rentacoder.com

www.getafreelancer.com

Saturday, September 5, 2009

SCJP Errata

Quiz A of LearnKey



Useful commands:

javac -source 1.4 MusicPlayer.java


Below is from Kathy Sierra's book for SCJP 6, page314:

Thursday, September 3, 2009

Maps : How to get EntrySet

Below is an example of how to use Map.EntrySet

class MapTest{
private Map m = new HashMap();
public MapTest(){
m.put("a",1);
m.put("b",2);
m.put("c",3);
}

public void outputMap(){
for(Map.Entry e : m.entrySet()){
System.out.println(e.getKey() + " " + e.getValue());
}
}
}

call it from public static void main as follows:

new MapTest( ).outputMap( )