CSCI 470/680E - Java Programming

 

Programming in Java

CSCI 470/680E

Fall 2009


Syllabus, Current Assignments, Notes, etc.

The Course Syllabus (includes office hours)

Assignments 

Assignment 1:  - Quadratic Equation Console Application

Assignment 2:  - Modification of Line Class Console Application

Assignment 3: -  Fractions Utility Applet

Assignment 4: - A GUI Application with an animation and a game (see assignment for new Extra Credit JMenu feature)

Assignment 5: - A Console Mode Stock Quote Client

Assignment 6: - JDBC Client-Server System

Blackboard login:   http://webcourses.niu.edu

Blackboard tutorial  

 

Code Examples and Exercises

1. Sample program illustrating the Line class - with Assignment Zero Exercises. 

2. Sample program illustrating custom Exception class

3. Layout Manager Examples (using awt)

4. Hello World for Swing

5. JList Basics

6. JTable Basics

7. Sample program illustrating a Shapes class hierarchy - with Self-Study Exercises.  Look at this after inheritance and polymorphism have been discussed in class.

8. DataShadowing and Polymorphism test program

9a. Simple Animation Program - using Swing.  Draws from run(). Source code.
9b. Simple Animation Program - executable

10a. Simple Animation Program - using awt and repaint() from a run() loop.  Source code.   
10b. Simple Animation Program Demo - executable.

11. MediaTracker Demonstration illustrating error detection, with source code.

12. Client / Server Programs

Notes

1. Java Coding and Documentation Style Guidelines - read these several times during the semester

2. Formatting Numeric Strings

3. The Java Listener Interfaces and their Methods

4. Java Object Serialization - the basics

5. JDBC Notes - the basics of JDBC and how to run a JDBC program on www.cs.niu.edu using the mSql database system

6. Applet Security and Appletviewer

7. Three articles on Interfaces, polymorphism, etc.  Read the first two for background and the third for insights

Additional JDBC Stuff

Project 5 DataBase Names - for class group usage
Connecting to a Microsoft Access Database - just for your information

Graduate Presentations

Presentation Guidelines
Presentation Topics
Presentation Schedule


Resources

Sun's Javasoft site - root site.

Sun's Javasoft site - direct link to download the J2SE version 1.6.0 and documentation.

www.javaworld.com - a Webzine about Java with reviews, articles, tutorials, etc.  Has search engine.  Good source of info for graduate reports.

Cafe Au Lait - Java News, opinions, tutorials, book reviews, etc. by Elliotte Rusty Harold. Good. Updated daily.

Power Point OOP (IE only; just an experiment in PowerPoint)

HTML Guides

HTML Topic Tutorials - excellent step-by-step tutorials (with viewable examples at each step) for adding Frames and Tables to your Web pages.