GUI Program Notes by ____________________________

Types of Errors

Explanation

Example

1.    Syntax

   

2.    Run time

   

3.    Logic

   

You canít get a program to run if it has _________ errors. If you get incorrect answers from your program it has ______________ errors and if it crashes it has a ____________ error.

Objects you can place on a GUI panel:

Match the objects with the descriptions Object Description
  1. Frame
  2. Panel
  3. Button
  4. Label
  5. TextField
  1. Says "SQRT"
  2. Says "Hello Text Box"
  3. Says 0.0 in big bold letters
  4. Says 0.0 on a white background
  5. Is inside of 1 object and behind 3 others

1.      Input is when ___________________

2.      Which object is for input? __________________

3.      Output is when _____________________________

4.      Which object displays the output? ________________

5.      Event driven code is executed when ____________________

6.      One common event for a button is the ___________ event.

7.      Which object initiates the event driven code? __________________

8. What method is invoked when an event happens? _________________

Steps to creating a GUI program :

1.     Create the ________ and give it a __________

2.     Create the __________ and put it in the __________

3.     Create labels, textfields and buttons and add them to the _____________

4.     Add a _________ to a _____________ to allow for interactivity.

Help for the notes is here.