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
Containers, panels and laying out a form
- 3 things to know
- AS Unit 2
Overview
Container in a graphical interface, layout manager and drawback of absolute positioning with fixed coordinates.
What you need to know
Answer each one before you reveal it.
Give two examples of a container.
Why group related controls onto a panel?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is a container in a graphical interface?
Model answer
A container is a control whose job is to hold other controls, and a container positions and clips the controls placed inside it.
- 2
Give two examples of a container.
Model answer
A form and a panel are both containers.
- 3
Why group related controls onto a panel?
Model answer
A panel keeps related controls together so the whole group is moved, hidden or disabled with one instruction, and the grouping helps the user read the form.
- 4
What is a layout manager?
Model answer
A layout manager is an object that decides where each control sits inside a container and resizes the controls when the container changes size.
- 5
The Java code pnl.setLayout(null); btn.setBounds(20, 40, 100, 30); runs. Describe where the button sits and how big it is.
Model answer
The button sits 20 pixels from the left edge and 40 pixels from the top of the panel, and the button measures 100 pixels wide by 30 pixels tall.
- 6
What is the drawback of absolute positioning with fixed coordinates?
Model answer
Absolute positioning keeps every control in the same place when the window is resized or the font changes, so controls are clipped or leave empty space.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
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.