MSTU5031/Java GUIs

From Studyplace

Jump to: navigation, search



Teachers College • Columbia University

MSTU5031 Navigator

Fall 2008

Thursday, 6:50 PM - 9:10 PM

Location: 234 HM


Antonios Saravanos, Instructor



Labs & Office Hours
Project Proposals
Course Participants
Programming Resources
Java Style Guide




Programming II

Contents

[edit] Session 6: 10/11 Graphical User Interfaces (GUIs)

[edit] Notes

Image:AcrobatImage.png Lecture Six Slides

[edit] Homework

[edit] Reading Assignment

  • Head First Java, Chapters 12 and 13

Optional but recommended

[edit] Coding Assignment

1. This homework should be completed after doing the assigned readings for next week. The reading contains both the examples and explanations you need to complete the assignment. Create a class called ClickCounter. This class will create a new window using Java Swing. The window should have two buttons ("add" and "subtract") and a text field. When the add button is clicked, the text should indicate that the count went up. When subtract is clicked, the count should go down.

Please download ClickCounter.class to see the desired behavior. Download and unzip the file. To run this class navigate to the directory that contains ClickCounter.class and type: java ClickCounter from the command line.

2. Write a brief paragraph under Project Proposals describing what you would like to propose as your term project. Come prepared to give a brief presentation of your proposed project to the class. The presentation should be approximately 5-7 minutes in length. You may create a PowerPoint and use the internet during your presentation if you so desire.

Personal tools