java
Write a program to create a frame with three button. When any of three button is selected, an appropriate message is displayed.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
yes = new JButton(“YES”);
no = new JButton (“No”);
close = new JButton (“CLOSE”);
lbl = new JLabel (“”);
setLayout (new GridLayout(4,1));
setSize (400,200);
add(yes);
add(no);
JUST TAP ON THE ATTACHMENT BUTTON: