Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started