CSCI 111 Lessons
Course 1
Lessons 7, 8 and 9 to precede Labs 7, 8 & 9
-
Lesson 7: Using the API: The Graphics Class
- Using the java.awt.Graphics class in Applets
- Graphics Coordinate system
- the dot operator
- Methods: actual and formal parameters
- Method Specification in the API
- Programming Construct: Sequencing
- this and super
- Color Class and Class Variables: static
-
Lesson 8: Drawing With Graphics
- Manipulating methods to fit needs
- software engineering principles: Polymorphism - overload
- method signatures
- using other class's methods to build our own
- Lesson 9: Strings, Fonts and Numbers
- Output
- String class
- Font class
- NumberFormat, DecimalFormat