GUI in Java | How to make userdefined login page in graphical user interface in java
Login page in graphical user interface (GUI) in java Code: package javaapplication22; import javax.swing.*; public class JavaApplication22 { public static void main(String[] args) { JFrame frame = new JFrame("My First Swing Example"); frame.setSize(350, 200); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new JPanel(); frame.add(panel); frame.setVisible(true); } JLabel userLabel = new JLabel("User"); userLabel.setBounds(10,20,80,25); p...
Comments
Post a Comment