Slide 1Introduction to Swing Components Chapter 14 Slide 2 Part of the Java Foundation Classes (JFC) Provides a rich set of GUI components Used to create a Java program with…
Slide 1Graphics Chapter 16 Slide 2 If you want to draw shapes such as a bar chart, a clock, or a stop sign, how do you do it? Slide 3 (0, 0) (x, y) x y x-axis y-axis…
Slide 1 Java Swing Overview A.O’Riordan, Nov., 2007 Includes notes by K. Brown, 2004-2007 Slide 2 What is Swing? Swing widget toolkit for Java used for constructing a graphical…
Slide 1 A.k.a. GUI’s Slide 2 If you want to discuss your Lab 2 grade come see me this week. ◦ Office: 436 ERB. One hour prior to class ◦ Open to Appointments MWF…
Slide 1 Chapter 16: Graphics Slide 2 Objectives Learn about the paint() and repaint() methods Use the drawString() method to draw String s using various fonts and colors…