You are on page 1of 1

(Object Oriented) Programming Techniques

5 laboratory work „Graphical user interface“

Aim of the work – get know the Swing technology and to apply it for creation of graphical user interface.

Workflow and tasks or the work:

1. Create a graphical user interface for the project of logic gate circuit:
1.1. In the main window a view of “drew” logic gate circuit (and its input/output values).
1.2. Menu or additional toolbar should be used to present possible logic gates and elements, which can be used
in the circuit.
1.3. Logic gates and circuit elements can be placed in the circuit by using drag&drop method (by using mouse).
1.4. For logic gates (except NOT) there should be a form or dialog for setting the number of inputs.
1.5. The input values for “buttons” can be changed by mouse clicks or by opening a specific dialog, for value
setting.
1.6. By changing the logic gate circuit or its input values, the circuit output values should be viewed instantly.
1.7. There should be a possibility to modify the look of the graphical user interface (by changing background or
logic gate colors, the zoom can be changed, etc.).
1.8. The graphical user interface should have the input control. Improper values should not be allowed to enter,
or could not be submitted until will be corrected.
2. Upload the .java files/project into the course (Moodle system).

You might also like