CCEA A-Level Software Systems Development CL4
Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures
Exception Handling and Managing Input and Output
Testing an Object Oriented Application
Graphical User Interface Objects and Events
Multiple Forms and Linking to Files
Designing, Testing and Evaluating an Event Driven Application
Reasons for Systems Development and Systems Methodologies
Managing Projects
Testing Strategies
Database Concepts and Entity Relationship Modelling
Normalisation and Structured Query Language
Project Management and the Systems Approach in Practice
Defining Requirements and Documenting the Design
Building a Desktop Solution with a Database
Testing and Evaluating the Solution
Graphical User Interface Objects and Events
- 11 subtopics
- 33 things to know
- AS Unit 2
What Graphical User Interface Objects and Events covers
Graphical User Interface Objects and Events is examined in Unit AS 2, Event Driven Programming — an internally assessed portfolio. It covers graphical user interfaces and console programs, forms and their common properties, labels, text boxes and text areas, buttons, check boxes and radio buttons, lists, combo boxes and other selection controls, properties, methods and events of a GUI object, containers, panels and laying out a form, the event loop and the event queue, event handlers and registering a listener, the event object and reading it inside a handler and button, mouse and keyboard triggers.
Where it is assessed
AS Unit 2
Event Driven Programming — an internally assessed portfolio.
Check the CCEA specification ↗The 11 subtopics
Each one has its own page.
- Graphical user interfaces and console programsGraphical user interface, event driven application and what consistency means in interface design and why it matters.Open →
- Forms and their common propertiesForm in an event driven application, difference between a form's title and its name and client area of a form.Open →
- Labels, text boxes and text areasLabel used for on a form and masked or password text box.Open →
- Buttons, check boxes and radio buttonsWhat each control is for, the difference between choosing several and choosing one, grouping radio buttons so they exclude each other, and reading which one the user selected.Open →
- Lists, combo boxes and other selection controlsList box, editable combo box and multiple selection list.Open →
- Properties, methods and events of a GUI objectProperty of a GUI object, method of a GUI object and event in the context of a GUI object.Open →
- Containers, panels and laying out a formContainer in a graphical interface, layout manager and drawback of absolute positioning with fixed coordinates.Open →
- The event loop and the event queueEvent in an event driven program, event queue and event loop.Open →
- Event handlers and registering a listenerEvent handler, source of an event and anonymous inner class used for when handling events in Java.Open →
- The event object and reading it inside a handlerEvent object, consuming an event and event propagation or bubbling.Open →
- Button, mouse and keyboard triggersTrigger in an event driven application, three kinds of user action that commonly act as triggers and trigger that does not come from the user.Open →
What you need to know
Answer each one before you reveal it.
A mouse handler contains if (e.getClickCount() == 2) { lblOut.setText("Opened"); } and the user double clicks. Explain what the label shows and why.
Describe the sequence of mouse events raised by one complete click on a button.
What is a graphical user interface?
What is a form in an event driven application?
What is a label used for on a form?
The Java code JButton btn = new JButton("Save"); btn.setEnabled(false); runs when the form loads. What does the user see, and what happens on a click?
What is a property of a GUI object?
What is a container in a graphical interface?
What is the event queue?
What is an event handler?
How does the flow of control in an event driven program differ from that of a console program?
Name five properties a form typically has.
What kind of data does a text box always give back to the program?
Why disable a Submit button until a form is complete rather than showing an error after the click?
What is a list box?
What is a method of a GUI object?
Give two examples of a container.
Describe the event loop.
The Java line btnSave.addActionListener(handler); appears twice in the same setup code. How many times does the handler run for one click?
Name three pieces of information an event object can carry.
Name three kinds of user action that commonly act as triggers.
Name four visual objects a user expects to find on a typical desktop window.
What is the difference between a form's title and its name?
The Java line int age = Integer.parseInt(txtAge.getText()); runs while txtAge contains the word seventeen. What happens?
What is a check box used for?
How does a combo box differ from a list box?
Give the key difference between setting a property and calling a method.
Why group related controls onto a panel?
Where do events come from before they reach the queue?
What is meant by the source of an event?
How does a handler find out which control raised the event?
Give two examples of a trigger that does not come from the user.
Take Graphical User Interface Objects and Events further
The same content, four other ways.
Commonly confused
Pairs that lose marks when they are blurred together.
Read only text box vs Disabled text box
Read only text box: a control that still lets the user highlight and copy what is shown. Disabled text box: a control that is greyed out and cannot even take the focus.
Questions from this topic
Each one with the model answer underneath.
- 1
What is a graphical user interface?
Model answer
A graphical user interface is a screen of visual objects such as windows, buttons and text boxes that a user operates with a mouse, a touch screen or a keyboard.
- 2
How does the flow of control in an event driven program differ from that of a console program?
Model answer
A console program runs its statements in a fixed order from start to finish, while an event driven program waits and runs a block of code only when the user acts.
- 3
Name four visual objects a user expects to find on a typical desktop window.
Model answer
A typical desktop window offers buttons, text boxes, labels and menus.
- 4
Why is a graphical interface described as user driven rather than program driven?
Model answer
A graphical interface is user driven because the user chooses which control to operate next, and the program fixes no order for those choices.
- 5
Give two features of a graphical interface that make it easier for an inexperienced user than a command line.
Model answer
A graphical interface shows the available options on screen so nothing has to be memorised, and selection is made by pointing rather than by typing exact commands.
- 6
State one advantage a command line interface keeps over a graphical interface.
Model answer
A command line interface can be scripted, so a long sequence of operations is repeated exactly without a user clicking through it.
What is inside Levo
Six ways to work the same material.
Graphical User Interface Objects and Events revision questions
- What does Graphical User Interface Objects and Events cover in CCEA A-Level Software Systems Development?
- 11 subtopics: graphical user interfaces and console programs, forms and their common properties, labels, text boxes and text areas, buttons, check boxes and radio buttons, lists, combo boxes and other selection controls, properties, methods and events of a gui object, containers, panels and laying out a form, the event loop and the event queue, event handlers and registering a listener, the event object and reading it inside a handler and button, mouse and keyboard triggers. Each one has its own page with questions and model answers.
- How is Graphical User Interface Objects and Events organised?
- By the CCEA CL4 specification, subtopic by subtopic, so it matches the order you are taught it in.
Every question in Graphical User Interface Objects and Events, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.