On successful completion of this course, the student will:
read and understand UML class and sequence diagrams
implement source that meets the design specified in a UML class and sequence diagram
create UML class and sequence diagrams in Enterprise Architect
state what
GUI stands for
-
use Sun's
Java documentation to clearly explain in their own words the role of various parameters for each of the methods above
describe the differences between the AWT and Swing packages
list at least three types of objects that can be contained in a
JFrame object
identify two ways to position
GUI components on the content pane of a
JFrame object
modify the content pane of a
JFrame object
-
use the layout managers listed above to arrange components on a content pane
explain the roles of event sources and event listeners in event-driven programming
-
list the two types of objects required for event driven programming in Java
explain the role of “event source” objects and give examples of two classes whose instances are “event source” objects
explain the role of “event listener” objects and give examples of two classes whose instances are “event listener” objects
design and implement event handling methods to handle multiple Action Events
design and implement a graphical user interface (
GUI) application programs using the
JButton,
JLabel,
JTextField and
JTextArea classes of the Java Swing package
implement code to handle an action event from the
JButton or
JTextField Java Swing classes
-
-
-
determine the specific object that initiated an Action Event
describe at least two different ways of structuring
ActionListener classes and discuss advantages and disadvantages of each
describe the differences between an inner class and a regular (non-inner) class
-
explain how exception handling increases the robustness of software
define exception; explain the concepts of “catch” and “throw” as they relate to exceptions
explain why
Error exceptions should not be caught in application code
for a given program and input condition, determine the control flow of a try-catch block, with and without the finally clause
implement a method that catches an exception thrown by a class in the Java Standard Library
implement a method that uses a try-catch block and a repetition statement (i.e., loop) to validate user input
distinguish between checked and unchecked exceptions
explain the concept of exception propagation; explain the outcome if an exception is thrown and not caught by the program
explain the consequences of not handling a checked exception within a method where the checked exception occurs
implement a method that creates an instance of a specified type of exception and throws it
create a Java
File object and associate it with a file on disk
determine if a
File object exists
determine if a
File object is a file or a directory
-
describe how low-level file I/O works (i.e., reading or writing of byte data, importance of the sequence of data)
describe how high-level (
DataOutputStream and
DataInputStream) file I/O works (i.e., methods for reading and writing of primitive data types, association with low-level stream, the importance of the sequence of data)
explain why it is important to close a stream when file operations are complete
-
read text data from a file using
Scanner objects
explain the difference between binary and text files
describe how object I/O (
ObjectOutputStream and
ObjectInputStream) works (i.e., methods for reading and writing of objects, association with low-level stream, the importance of the sequence of objects and type casting)
use the Java Collection Framework to create an instance of an
ArrayList
describe the advantages of an
ArrayList over an Array
-
iterate through an
ArrayList examining each object in the list
-
explain what it means for a class to implement an interface
use inheritance in creating classes
use the “protected” modifier in defining an inheritance hierarchy
explain why a class with a superclass other than object should make an explicit call to a constructor of the superclass
describe when to use an abstract class
explain the concept of the Java interface
create an abstract method; describe the purpose of abstract methods
explain the concept of polymorphism
read code that uses inheritance and polymorphism and determine its output on execution
describe the differences between an abstract class and an interface