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. 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.