An Introduction to Programming in Java
This course is now complete.
This is home page for CSci 127, which is an introduction to programming using Java. This year we will do a media computation approach.
Thus we will learn Java with media manipulation assignments, such as the use of Turtle graphics and
manipulating JPEG-format pictures. We will also be broadcasting this on IVN.
Tests:
The final examination for the VCSU section is scheduled for Wednesday, May 9 at 10:00. DCB and Lakes
Region will take the exam in the IVN room from 8:00-9:50 on Monday May 7. We will only have an IVN connection
for the first hour.
The assignments
A presentation on handing in programs.
The term project is now visible. Due on Friday, May 4th.
Line drawing assignment. Due on Wednesday, April 25th.
Chromakey: combining two images removing a background. Due on Wednesday, April 4th.
Blurring a picture. Due on Friday, March 23.
Transforming a picture into sepia color. Due on Friday, March 9.
Turtle polygons and for statement assignment. Due on Friday, March 2.
The second turtle assignment. Due on Friday, February 10.
The first turtle assignment. Due on Monday, February 6.
The first console assignment. Due on Friday, January 20.
Presentations and Examples
Yet to do.
More widgets.
Applet parameters.
Gridbag Layout.
Formatting floats and doubles for display.
A Spring Layout demonstration.
Completed.
The applet demonstration.
Applets.
Layout managers.
The layout manager demonstration in a zip file.
An introduction to objects.
The array demonstration. Updated 4/18.
Java Arrays.
The finished contrast program. and
the even better Windows picture manipulation program.
The first demonstration of Windows programs..
The first Eclipse window program.
All presentations below this may be covered on the third test.
The console and GUI paradigms.
The switch statement.
A problem solving strategy.
The forgotten presentation on conditionals.
The if statement - part 2.
The Java program that demonstrates increasing contrast from 3/9. This program is incomplete, it should give users a choice to save one or the other or both, as well as choice of effect.
The if statement - part 1.
All presentations below this may be covered on the second test.
The loop types and construction tips presentation.
The while statement.
The mirroring and reduction example from 3/5.
The black and white picture modification from 3/2.
Third presentation on pictures.
The first picture modification from 2/27.
Second presentation on the for loop.
The other version of the Java for.
Second presentation on pictures.
The for demonstration from 2/24 that produced stars and polygons.
First presentation on the for loop.
The turtle and picture demonstration from 2/22.
Flow of control introduction.
Manipulation of Pictures. First presentation on pictures.
Constants in Java.
Recordings
The IVN sessions are recorded. To see a class day go to
the NDUS site then open up All classes at the bottom.
You may then select VCSU CSCI 127. This will take you to a page where you can select the day in question.
The recording starts about 10 minutes before the class, so the sound is often off at the beginning.
You will need a recent version of MS Silverlight to use these recordings.
The Shells
WinShell, the basic do nothing GUI program.
AppletShell, the basic do nothing Applet.
Required Libraries
The library for Turtle Graphics. In Firefox right click on this link and do Save Link As. In
Internet Explorer it is slightly harder: Right click and Save Target As. If it says the filename is turtlegraphics.zip, change it to
turtlegraphics.jar. In both cases it should be saved to somewhere convenient, for you will have to tell Eclipse where later.
Important documents overviewing the course:
The syllabus for CSci 127
Downloads
Java
You will need a workable Java development system, run-time environment and class library.
This class will use Eclipse (Indigo). You should install this on your laptop computer or have it installed on lab computers.
If you have a home computer, it is free and you should go to the following sites:
Eclipse downloads: and select the
Eclipse IDE for Java Developers version.
This will download a zip file. Unzip it and create a shortcut to Eclipse.exe.
Other links
Here is the Academic Java Tutorial website.
There is a limited time offer for a good Java book on the web for free. It presumes a knowledge of C or C++.
This is Bruce Eckel's Mindview page.
The Chicago Java Users Group
also has an authorized mirror of the book here
but they seem to lag Eckel by about a version.
This is a PDF file, so you need Adobe Acrobat. There is no predicting how long this will stay on the net, though.
The Java Web Site
Browse Curt's Java Joint
This is Bruce Eckel's page.
Chicago Java Users Group
Return links
Return to Curt's Home Page
Last time I updated this page: May 2, 2012.