SW408 - Visual Programming in Java
2000 Catalog Data:
SW408 Visual Programming
An introduction to Java programming for experienced programmers.
Object oriented programming, using Java, Packages, Interfaces,
Multi-threading, Classes, Inheritance, Exceptions, Interfaces, and
the Abstract Window Toolkit. The HTML and Java Model,Java Basics,
Java code basics, data types and flow of control. Design patterns are
PreReq: Significant programming experience or CS 132.
Textbooks JAVA, JAVA,
JAVA (W/CD-ROM) (P), MORELLI ISBN 0130113328
This book is available from Amazon by clicking
–the Book store has this book
When: Thursday, 6:30-8:30 pm,
Where: McAuliffe Hall, Room 206 (first class 1/20/00 will be
in Xavier 19)
Who: Prof. Lyon
Web and e-mail access are
REQUIRED. You MUST have access to a
computer with a Java compiler. Metrowerks CodeWarrior is strongly
suggested. I hope to get this in the bookstore soon.
The Java Class Libraries
by Chan and Lee, Addison Wesley (c)
1997. See http://www.docjava.com for ordering this and other books.
Java Source Book by Ed
Anuff, The John Wiley and Sons, Inc., First Edition, (c)1996.
Course Notes, as required,
available on-line at http://www.docjava.com or by purchase of copies.
The Java Programming
Language, Second Edition, by Ken Arnold and James Gosling, Publisher:
Addison-Wesley, ISBN: 0-201-31006-6
Java 1.1 Unleashed, by
Morrison, ISBN 1575213613
Core Java 2 Volume
1:Fundamentals by Cay Horstmann,Gary Cornell, ISBN: 0130819336
Java 1.2 Developer's
Handbook by Philip Heller Simon Roberts, ISBN: 0782121799
Digital Signal Processing
Recipes in Java by D. Lyon and H. Rao, M&T Books, (c) 1998.
Image Processing in Jav
a by D.
Lyon (c) 1999.
To learn how to design
large-scale software systems using Java. Object orientation and
packaging are stressed. Testing and coding of several projects, with
a variety of modern techniques.
Douglas Lyon, Professor of
Computer and Software Engineering. E-mail: email@example.com
Prerequisites by Topic:
1. C programming experience
2. C++ or some other object
oriented language exposure will be helpful
3. Use of computer tools,
including e-mail, browsers and compilation tools.
4. Data structures, priority
queues, hashing etc.
•1 The HTML and Java
•2 Java Basics
•3 Java code basics,
data types and flow of control
•4 Comparing Java to
•5 Objects and
Classes, Methods, Members, Inheritance and Encapsulation
•6 The Java Standard
•7. Interface Methods,
Interface Class Types and Interface Subclassing
•8 Packages, project
•9 Exceptions, throw,
try, and catch
Synchronization and Concurrency
•11 Abstract Window
Students must do several
major homework assignments.
Assignments will be due
at the beginning of class. Assignments handed in after the beginning
of class will loose 5 points. Assignments handed in after the end of
class will lose 10 points. Late homeworks lose 10 points per day
late, weeks ends and holidays included. Missed tests result in a zero
unless a written excuse is presented.
More details are
available about the class at: http://www.docjava.com
This homework consists of
Part 1: Join the list!
This course is to be conducted
in a partly on-line manner. Plan to spend a little time each day
getting your e-mail. All students are required to have e-mail access
and to join the class list.
To join the class list:
yourself...also add yourself to the notification list
Part 2: Get JAVA!!
Strongly Suggested: Metrowerks
CodeWarrior Price $109.95 Phone 800-377-5416
CodeWarrior Academic Pro
For Windows 95,98,NT
CodeWarrior Academic Pro
presents an outstanding value for students, faculty and
alike: industrial-strength MacTM-hosted development tools at an
affordable price for
academia. CodeWarrior Academic Pro is a complete solution for
Macintosh®, Power Macintosh, Windows® 95, Windows NTTM, Magic
CapTM and PowerTVTM
non-commercial software and shareware. It includes full support
for C/C++, Object Pascal
and JavaTM, all from one award-winning Integrated Development
Environment (IDE). With
CodeWarrior Academic Pro you also get a multitude of online
books and references (over
5,000 pages) and Apple® Guide files for easy navigation
through tutorials and
examples. Plus, you receive 2 free updates and world-class technical
support for a year when you
register. Proof of academic affiliation is required for purchase.
C for all platforms
C++ for all platforms
except for Magic Cap
Object Pascal for MacOS
Operating Systems Supported
Mac OS - 68k, Power PC
Windows 95 - x86,
Windows NT - x86, Pentium
Magic Cap - 68349
PowerPC 601, 603, 604
Intel® x86, Pentium
MIPS® R3000, R4200,
Java Virtual Machine
Sun Java compilers -
available in the applet viewer, and as an integrated plug-in in the
now including a developer
release of the Metrowerks Just-In-Time (JIT) compiler.
C Compiler - NIST Certified
ANSI C with MPW® extensions
C++ Compiler - closely
tracks the emerging ANSI/ISO C++ standard
Pascal Compiler - NIST
Certified ANS Pascal with MPW Pascal 3.4.1 compatible extensions
Part 3. Buy the book
The course text-book is
required for this class. Please do not consider sharing the book. You
may either buy a copy from the bookstore, or from my web page at
Part 4. Read the book!
Please read chapter 1. It is
only 34 pages....and introduces you to the basics of Java.
Part 5. Build your home page!
Every student should be able
to construct a home page....Here is some sample HTML source:
created 1/27/98 10:17 AM by Claris Home Page version 2.0-->
NAME=GENERATOR CONTENT="Claris Home Page 2.0">
TOP=48 BOTTOM=462 LEFT=21 RIGHT=551>
<P><I><FONT SIZE="+4">Put Your Name
<P><B><FONT COLOR="#330033">I N T R
O D U C T I O N</FONT></B></P>
<P>Here, you can
put information about yourself and introduce the
contents of your
<P><B><FONT COLOR="#330033">H O B B
I E S + I N T E R E S T
text about your hobbies or interests. Possibly some
great facts about
yourself or your hobbies and interests.</P>
COLOR="#330033">F A V O R I T E L I N K
list to your favorite sites!
HREF="http://www.docjava.com">Prof Lyons Home Page</A>
<P>Send me <A
The above source will
produce an output like the one below:
I N T R O D U C T I O
Here, you can put
information about yourself and introduce the contents of your page.
H O B B I E S + I N T
E R E S T S
Here, put text about your
hobbies or interests. Possibly some great facts about yourself or
your hobbies and interests.
F A V O R I T E L I N K S
•Include a list to your favorite sites!
Lyons Home Page