Question: write java project like the photo set layyot (null) and usings set bounds Design and code a visual Java application as shown in the following

write java project like the photo set layyot (null) and usings setbounds Design and code a visual Java application as shown in thefollowing image. Title 310 sikt Login Form Font: 1. arial 2pld 3.write java project like the photo set layyot (null) and usings set bounds

Design and code a visual Java application as shown in the following image. Title 310 sikt Login Form Font: 1. arial 2pld 3. Size: 20 Label TextField User Login ToolTipText UserName 335 ImageIcon Password PasswordField Button Login ToolTipText User Login 22 Login Message ActionListener Hello OK import javax.swing. JFrame; 2 import javax.swing.JButton; 3 import javax.swing.ImageIcon; 4 Os 5 public class TestQ extends JFrame{ 6 7 private JButton num = new JButton(); 8 private ImageIcon numbers = new ImageIcon(); 9 10- Test() 11 { 12 setSize( 400, 400 ); 13 setLayout( null); 14 15 numbers-new ImageIcon("src//1.jpg"); 16 num=new JButton(numbers); 17 num.setBounds (20, 20, 50, 50); 18 add(num); 19 20 setVisible( true); 21 22 } 23 24- public static void main(String[] args) { 25 new Test(); 26 27 } 28 }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!