Produce THREE buttons using SWING package. Each of the three buttons will react according to their respective tooltips.
- Button A: set to Enabled and show the tooltip "Click this
button to enable the Button C.” After this button is clicked, it
should disable itself and Button B.
- Button B: set to Enabled and show the tooltip "This middle
button print to the screen when you click it." After this button
is clicked, it should print to the screen.
- Button C: set to Disabled and show the tooltip "Click this
button to enable the Button A and B.” After this button is
clicked, it should disable itself and at the same time, enable
Button A and B.Besides the three buttons above, create a text
area to allow the user to enter text using JTextArea. In the
initialisation, the text area will display “Welcome to Asean
3”. When the Button B is clicked, the text area will only display
the message “Hello, Everyone”.