Java Programming Spring 2003

Announcements

Office Hours
Dave Hollinger
hollingd@cs.rpi.edu
Mon 10-12, *New: Wed 2-4
Amos Eaton 110
Amir Youssefi
youssa@rpi.edu
Fri 3-5
Lally 04 (276-8988)
Andrew Janowczyk
janowa@rpi.edu
Tue 4:30-6:30PM
Lally 4B (276-8988)

WebCT has all course grades.
Contact Dave H. if you think there are problems...

The final project is due Wednesday, April 30th.
Nothing will be accepted later than May 4th (at 11:59PM),
but the maximum late penalty is 10% total.
(anything received after the 30th but before May 5th will be penalized 10%).

New (additional) Remote PIM Server is now running on monte.cs.rpi.edu
The new version supports add(), update() and remove() methods.
All the code is available here: New RMI and PIM Code

New sample code available: Menubar and ScrollPane sample code


Homework


HW Due DateAssignmentFAQ/Test Code
HW#1 1/27/03 Installing and Testing Java SDK HW1 FAQ
HW#2 2/10/03 Command Line Handling Programs HW2 FAQ
HW#3 2/26/03 Personal Information Manager HW3 FAQ
HW#4 Extended until 3/22/03 at 11:59PM Calendar program and PIMCollection HW4 FAQ
Sample Test Code (for PIMCollection)
HW#5 3/29/03 (by 11:59PM) Java Calculator (GUI Project) HW5 FAQ
HW#6 4/28 (by 11:59PM) GUI Calendar (one month) HW6 FAQ
HW#7 - Final Project 4/30 (by 11:59PM) GUI Personal Information Manager RMI and PIM Code


Lecture Notes


TopicHTMLPowerpointAdobe PDFLinks
Course Overview   CourseOverview.ppt CourseOverview.pdf  
Java Intro   JavaIntro.ppt JavaIntro.pdf
  • J2SE Documentation
  • J2SE 1.4.1 API Documentation
  • Installing JDK   Installing.ppt Installing.pdf
  • Sun Java site (for SDK download)
  • Sun "First Cup of Java"
  • The Java Language   JavaLang.ppt JavaLang.pdf
  • Demo1.java (break and continue)
  • ArrayPlay.java
  • Java Progams and Command Line Args   JavaProg.ppt JavaProg.pdf
  • ShowArgs.java
  • ShowArgs2.java
  • Java and OOP   OOP.ppt 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.ppt exceptions.pdf
  • Sun Exception tutorial
  • CmdLine Source
  • CmdLine2 Source
  • ExceptionPlay Source
  • FinallyPlay Source
  • NullPointer Source
  • ThrowUp Source
  • Wait Source
  • Java I/O Basics   javaio.ppt javaio.pdf
  • Sun tutorial: I/O
  • InputReader Source
  • SysIn Source
  • SysInAvailable Source
  • SysOut Source
  • The File class      
  • ListFiles sample code
  • File I/O (Text strings and Objects)      
  • SerializeArray Code
  • SerializePlay Code
  • SerializePoly Code
  • TextIORead Code
  • TextIOWrite Code
  • Collections: Lists and Sets      
  • ArrayListPlay code
  • ArrayListSort code
  • HashSetPlay code
  • ListPrinting code
  • TreeSetPlay code
  • Comparing List Implementations      
  • Sample Programs
  • Java Maps      
  • Sample Programs
  • Javadoc Sample      
  • javadoc info (from sun.com)
  • Sample code and HTML
  • Threads   thread.ppt thread.pdf
  • Sun Thread Tutorial
  • ThreadPlay Sample Code
  • Date, Calendar and DateFormat   DateCal.ppt DateCal.pdf
  • CalPlay Code
  • DateFormatPlay Code
  • DatePlay Code
  • bettertomorrow Code
  • tomorrow Code
  • Java GUI (Swing)      
  • Simple Code
  • ListArgs Code
  • BorderLayoutPlay Code
  • Visuals Code
  • WindowPlay Code
  • MouseEvents Code
  • MoreEvents Code
  • ButtonText Code
  • ButtonText2 Code
  • KeyHandler Code
  • Java Network Progamming   netprog.ppt netprog.pdf  
    Applets      
  • ButtontTextApplet code
  • HTML page containing the applet
  • Servlets and JSP      
  • Sample Servlet code
  • Sample JSP code
  • Java Sockets      
  • TalkClient code
  • TalkServer code
  • Talker code
  • getAddress code
  • URL class      
  • fetchURL Java progam
  • Remote Method Invocation      
  • Simple RMI sample
  • Alternative Simple RMI sample
  • Sort RMI sample
  • JTable      
  • Simple GUI Calendar based on JTable
  • Dialog based Todo Entry samples      
  • Dialog based PIMNote GUI
  • Simple Dialog sample code
  • PIMTodo GUI Entry sample code      
  • GUI based PIMTodo entry
  • XML Parsing      
  • Sample XML file holding a PIMCollection
  • Sample XML (PIM) Parsers
  • Menu Demo (and ScrollPane)      
  • Menu/Scroll Demo Program
  • Databases and JDBC   jdbc.ppt jdbc.pdf
  • Sun JDBC Tutorial
  • Sample Simple Program
  • Java Beans      
  • Sun Java Beans Home
  • Bean Builder (Sun)
  • netBeans.org

  • WWW Resources


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