Category: JAVA Swing

JAVA Program using Swing to Design Contact Form 0

JAVA Program using Swing to Design Contact Form

Follow me JAVA Program using Swing to Design Contact Form: import javax.swing.*; import java.awt.*; public class swingcontact extends JApplet { swingcontact() { JFrame jf= new JFrame(“Example of Component”); JPanel jp1=new JPanel(new GridLayout(5,2)); JPanel jp2=new...

JAVA Program using Swing to Design Registration Form 0

JAVA Program using Swing to Design Registration Form

Follow me JAVA Program using Swing to Design Registration Form: import javax.swing.*; import java.awt.*; public class swingForm extends JApplet { swingForm() { String lang[] = {“C”,”C++”,”Java”,”Pascal”,”PHP”,”.Net”}; JFrame jf= new JFrame(“Swing Component”); JButton bok= new...

JAVA Program using Swing to Design Login Form 0

JAVA Program using Swing to Design Login Form

Follow me JAVA Program using Swing to Design Login Form: import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JTextField; public class SwingFirstLogin { public static void main(String[] args) { // Creating...

JAVA Program using Swing to Display Blank Window 0

JAVA Program using Swing to Display Blank Window

Follow me JAVA Program using Swing to Display Blank Window : import javax.swing.*; class MyFrame extends JFrame { public MyFrame() { setTitle(“My Empty Frame”); setSize(300,200); // default size is 0,0 setLocation(10,200); // default is...