Programming in Java - Spring 2006

Office Hours
Dave Hollinger
hollingd@cs.rpi.edu
Tue 1-3, Thu 10-12
Amos Eaton 107
Saeed Salem
salems@cs.rpi.edu
Tues, Fri 10-11:30
Amos Eaton 217
 

One day extension for HW7
Now due Thursday midnight


Java Visual GUI Builders

jigloo (eclipse plugin)

NetBeans


HW Due DateAssignmentFAQ
1 1/28 by 11:59 PM Get Java Running HW1 FAQ
2 2/12/06 by 11:59 PM Classes HW2 FAQ
3 3/5/06 by 11:59 PM Personal Information Manager HW3 FAQ
4 3/24/06 3/26/06 by 11:59 PM Collections HW4 FAQ
5 4/13/06 by 11:59 PM XML Parsing (RSS) HW5 FAQ
6 4/20/06 by 11:59 PM GUI Code HW6 FAQ
7 5/3/06 5/4/06 by 11:59 PM (NO LATE SUBMISSIONS!) Song Collection Manager (GUI) HW7 FAQ

Late Penalty: 1% per hour.


TopicAdobe PDFLinks
Course Overview CourseOverview.pdf  
Java Intro JavaIntro.pdf J2SE Info
J2SE 5.0 API Documentation
Getting Started GettingStarted.pdf Sun Java site (for SDK download)
Getting Started wigh Java (sun.com)
The Java Language JavaLang.pdf Demo1.java (break and continue)
ArrayPlay.java
Java Progams and Command Line Args JavaProg.pdf ShowArgs.java
ShowArgs2.java
ShowArgsST.java
Class and Object Intro ObjectBasics.pdf  
Java Strings Strings.pdf java.lang.String
Square.java
Java and OOP OOP.pdf OOP Basics (javaworld.com)
ConstructorDemo Source
FinalPlay Source
FooPrinter Source
ObjBase Source
ObjCount Source
PCComposition Source
PCInherit Source
ShapeInterface Source
SimpleClass Source
Exceptions exceptions.pdf Sun Exception tutorial
CmdLine Source
CmdLine2 Source
ExceptionPlay Source
FinallyPlay Source
NullPointer Source
ThrowUp Source
Wait Source
JavaDoc comments javadoc.pdf JavaDoc FAQ (Sun)
Writing Comments (Sun)
Java I/O Basics javaio.pdf Sun tutorial: I/O
InputReader Source
SysIn Source
SysInAvailable Source
SysOut Source
File I/O (Text strings and Objects) FileIO.pdf ListFiles Code
SerializeArgs Code
SerializePlay Code
SerializePoly Code
TextIORead Code
TextIOWrite Code
Date, Calendar and DateFormat DateCal.pdf CalPlay Code
DateFormatPlay Code
DatePlay Code
bettertomorrow Code
tomorrow Code
Collections Framework (Old Style) CollectionsOld.pdf ArrayListPlay code
ArrayListSort code
HashSetPlay code
ListPrinting code
TreeSetPlay code
CountWords code
HashMapPlay code
ListCompare code
New Collections Framework and Generics CollectionsNew.pdf NewVsOld.java
Threads thread.pdf Sun Thread Tutorial
ThreadPlay Sample Code
Nested Classes innerClass.pdf Nested Classes tutorial from Sun
Java Network Progamming netprog.pdf Simple RMI sample
Alternative Simple RMI sample
Sort RMI sample
TalkClient code
TalkServer code
Talker code
getAddress code
Sample Applet
Java and XML Crash Course xml.pdf Sample XML: student.xml
DOM Parsing Code
SAX Parsing Code
Java GUI Intro GUI.pdf Sample Code
Java GUI (Swing)  

These are old examples (not from any slides or lecture)


Simple Code
ListArgs Code
BorderLayoutPlay Code
Visuals Code
WindowPlay Code
MouseEvents Code
MoreEvents Code
ButtonText Code
ButtonText2 Code
KeyHandler Code
More GUI Programming (MVC) GUI2.pdf SimpleMenu.java
AnotherMenu.java
BetterMenu.java
SimplePopupMenu.java
SimpleDialog.java
SimpleList.java
FileList.java
AnotherFileList.java
BetterFileList.html
SimpleTable.java
AnotherTable.java
SimpleTree.java
FileTree.java
Jtree file browser (sun.com)
GUI: Component Interactions GUI3.pdf TwoLists Sample Code (uses buttons)
Drag and Drop sample code
Applets applet.pdf ButtontTextApplet code
HTML page containing the applet
Drag and Drop Applet
HTML page containing Drag and Drop Applet
Servlets and JSP servlet.pdf Sample Servlet code
Sample JSP code
Databases and JDBC jdbc.pdf Sun JDBC Tutorial
Sample code and database


WWW Resources


  • Thinking in Java (Electronic Version)
  • Sun Java site (for SDK download and lots of other stuff)
  • Eclipse IDE
  • EditPlus (a better text editor than NotePad)
  • Don't fear the OOP
  • OOP Basics