The links below bring you to a the source codes for the java programs that I have created. Just follow the link and click on the source code to download. Then, compile it and you are done.
Please note: some of the programs require a package called "jpb" please click here to download it. Just follow the instruction on the page. Make sure that you save the jpb folder in the same directory as the source files that you get from this site. As I am a beginner student of java, I use the jpb package to help me with things that I have not yet learned.
Source codes and special notes:
SinglePlayerPoker.java - the Card class is taken from Java Programming from the Beginning, by K. N. King.