You are on page 1of 1

Lab 1

Java GUI
Make a GUI with the following components
a)
A JTextField
b)
4 JButtons labeled A, B, C, D
c)A Jlabel
Your GUI should include the event handling
required for the following
o When the mouse clicks a button the
corresponding alphabet should be
appended to the Textfield.
o The total number of clicks should appear
on the Label

You might also like