⚫ To create graphical user interfaces with various user-interface components: JButton, JCheckBox, JRadioButton, JLabel, JTextField, JTextArea, JComboBox, JList, JScrollBar, and JSlider (§13.2 – 13.12). ⚫ To create listeners for various types of events (§13.2 – 13.12). ⚫ To use borders to visually group user-interface components (§13.2). ⚫ To create image icons using the ImageIcon class (§13.3). ⚫ To display multiple windows in an application (§13.13). ⚫ To know how to create menu
文件格式: PPT大小: 585KB页数: 68
⚫ To explain the concept of event-driven programming (§12.2). ⚫ To understand event, event source, and event classes (§12.2). ⚫ To declare listener classes and write the code to handle events (§11.3). ⚫ To register listener objects in the source object (§11.3). ⚫ To understand how an event is handled (§11.3). ⚫ To write programs to deal with ActionEvent (§11.3). ⚫ To write programs to deal with MouseEvent (§11.4). ⚫ To write programs to deal with KeyEvent (§11.5). ⚫ To use the Timer class to control animations (§11.6 Optional)
文件格式: PPT大小: 301KB页数: 33
⚫ To distinguish simple GUI components (§11.2). ⚫ To describe the Java GUI API hierarchy (§11.3). ⚫ To create user interfaces using frames, panels, and simple UI components (§11.4). ⚫ To understand the role of layout managers (§11.5). ⚫ To use the FlowLayout, GridLayout, and BorderLayout managers to layout components in a container (§11.5). ⚫ To specify colors and fonts using the Color and Font classes (§11.6-11.7). ⚫ To use JPanel as subcontainers (§11.8). ⚫ To paint graphics using the paintComponentmethod on a panel (§11.9). ⚫ To draw strings, lines, rectangles, ovals, arcs, and polygons using the drawing methods in the Graphics class (§11.9). ⚫ To center display using the FontMetricsClass (§11.10). ⚫ To develop a reusable component MessagePanel to display a message on a panel (§11.11). ⚫ To develop a reusable component StillClock to emulate an analog clock (§11.12 Optional)
文件格式: PPT大小: 1.38MB页数: 65
⚫ To become familiar with the process of program development (§10.2). ⚫ To the relationship types: association, aggregation, composition, strong inheritance, and weak inheritance (§10.3). ⚫ To declare classes to represent the relationships among the classes (§10.3). ⚫ To design systems by identifying the classes and discovering the relationships among these classes (§10.4). ⚫ To implement the Rational class and process rational numbers using this class (§10.5). ⚫ To design classes that follow the class-design guidelines (§10.6). ⚫ To model dynamic behavior using sequence diagrams and statechart diagrams (§10.7 Optional) ⚫ To know the concept of framework-based programming using Java API (§10.8)
文件格式: PPT大小: 1.21MB页数: 48
To design and use abstract classes (§9.2). To process calendar using the Calendar and GregorianCalendar classes (§9.3). To declare interfaces to model weak inheritance relationships (§9.4). To define a natural order using the Comparable interface (§9.4). To know the similarities and differences between an abstract class and interface (§9.4). To enable objects cloneable using the Cloneable interface (§9.4.4 Optional). To use wrapper classes (Byte, Short, Integer, Long, Float, Double, Character, and Boolean) to wrap primitive data values into objects (§9.5). To create a generic sort method (§9.5). To simplify programming using JDK 1.5 automatic conversion between primitive types and wrapper class types (§9.6)
文件格式: PPT大小: 288KB页数: 43
To develop a subclass from a superclass through inheritance (§8.2). To invoke the superclass’s constructors and methods using the super keyword (§8.3). To override methods in the subclass (§8.4). To explore the useful methods (equals(Object), hashCode(), toString(), finalize(), clone(), and getClass()) in the Object class (§8.5, §8.11 Optional). To comprehend polymorphism, dynamic binding, and generic programming (§8.6). To describe casting and explain why explicit downcasting is necessary (§8.7). To understand the effect of hiding data fields and static methods (§8.8 Optional). To restrict access to data and methods using the protected visibility modifier (§8.9). To declare constants, unmodifiable methods, and nonextendable class using the final modifier (§8.10). To initialize data using initialization blocks and distinguish between instance initialization and static initialization blocks (§8.12 Optioanl)
文件格式: PPT大小: 495KB页数: 76
⚫ To use the String class to process fixed strings (§7.2). ⚫ To use the Character class to process a single character (§7.3). ⚫ To use the StringBuffer class to process flexible strings (§7.4). ⚫ To use the StringTokenizer class to extract tokens from a string (§7.5). ⚫ To know the differences among the String, StringBuffer, and StringTokenizer classes (§7.2-7.5). ⚫ To use the JDK 1.5 Scanner class for console input and scan tokens using words as delimiters (§7.6). ⚫ To input primitive values and strings from the keyboard using the Scanner class (§7.7). ⚫ To learn how to pass strings to the main method from the command line (§7.8)
文件格式: PPT大小: 496KB页数: 72
⚫ To understand objects and classes and use classes to model objects (§6.2). ⚫ To learn how to declare a class and how to create an object of a class (§6.3). ⚫ To understand the roles of constructors and use constructors to create objects (§6.3). ⚫ To use UML graphical notations to describe classes and objects (§6.3). ⚫ To distinguish between object reference variables and primitive data type variables (§6.4) ...... ⚫ To understand the difference between instance and static variables and methods (§6.10). ⚫ To determine the scope of variables in the context of a class (§6.11). ⚫ To use the keyword this as the reference to the current object that invokes the instance method (§6.12). ⚫ To store and process objects in arrays (§6.13). ⚫ To apply class abstraction to develop software (§6.14). ⚫ To declare inner classes (§6.17)
文件格式: PPT大小: 757KB页数: 80
⚫ To describe why an array is necessary in programming (§5.1). ⚫ To learn the steps involved in using arrays: declaring array reference variables and creating arrays (§5.2). ⚫ To initialize the values in an array (§5.2). ⚫ To simplify programming using JDK 1.5 enhanced for loop (§5.2). ⚫ To copy contents from one array to another (§5.3). ⚫ To develop and invoke methods with array arguments and ruturn type (§5.4-5.5). ⚫ To sort an array using the selection sort algorithm (§5.6). ⚫ To search elements using the linear or binary search algorithm (§5.7). ⚫ To declare and create multidimensional arrays (§5.8). ⚫ To declare and create multidimensional arrays (§5.9 Optional)
文件格式: PPT大小: 608.5KB页数: 81
⚫ To create methods, invoke methods, and pass arguments to a method (§4.2-4.4). ⚫ To use method overloading and know ambiguous overloading (§4.5). ⚫ To determine the scope of local variables (§4.6). ⚫ To learn the concept of method abstraction (§4.7). ⚫ To know how to use the methods in the Math class (§4.8). ⚫ To design and implement methods using stepwise refinement (§4.10). ⚫ To write recursive methods (§4.11 Optional). ⚫ To group classes into packages (§4.12 Optional)
文件格式: PPT大小: 1.12MB页数: 91