Posts

Showing posts from March, 2024

JDBC INPUT ID, NAME, JOB_TITLE, SALARY STORE MYSQL WORKBENCH

Image
                                                                 JDBC   PROJECT                                                INPUT ID, NAME, JOB_TITLE, SALARY                                                                   STORE MYSQL WORK BENCH QUERY SOURCE CODE   import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; im...

IMAGE GALLERY USING HTML CSS JSS

Image
                                                  IMAGE GALLERY USING HTML CSS JSS                                                                       HTML SOURCE FILE <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Image gallery</title>     <link rel="stylesheet" href="style.css"> </head> <body>     <div class="gallery-wrap">         <img src="images/back.png" id="backBtn">     ...

TO-DO LIST USING HTML CSS JS

Image
                                                             TO-DO LIST USING HTML CSS JS  THIS IS THE TO-DO LIST  USE CODE ANF PERFORM YOUR COMPUTER  HTML  SOURCE CODE <!DOCTYPE html> <html>     <head>         <meta name="viewport" content="width=device-width,initial-scale=1">         <title>To do list</title>         <link rel="stylesheet" href="style.css">     </head>     <body>         <div class="container">             <div class="todo-app">                 <h2>To Do List <img src="Image/icon.png"></h2>     ...

JAVA FORM INPUT NAME AGE SALARY etc

Image
                                     JAVA FORM INPUT NAME AGE SALARY  Copy code for run your laptop........... import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class set extends JFrame {     JTextField name, age, sal, date;     JButton sub;     set() {         super("Form");         JLabel labelname = new JLabel("NAME");         labelname.setBounds(20, 30, 40, 30);         add(labelname);         name = new JTextField();         name.setBounds(100, 30, 100, 25);         add(name);         JLabel labelAge = new JLabel("AGE");         labelAge.setBounds(20, 60, 40, 30); ...

JAVA NOTEPAD Action Perform like Work new file, save, saveAs etc

Image
                                                                                      JAVA NOTEPAD                                                                   USING   JAVA CREATING NOTEPAD                                                                                      ...

JAVA Action listener write small case "raj kumar" output Capital "RAJ KUMAR"

Image
JAVA Action listener write small case  "raj kumar" output  "RAJ KUMAR" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Copy this code Perform this operation.............................................. package Listener; import javax.swing.*; import java.awt.*; import java.awt.event.*; class Frame extends JFrame implements ActionListener {     Container c;     JTextField t1;     public Frame()     {         c=this.getContentPane();         c.setLayout(null);         t1=new JTextField();         t1.setBounds(100,100,100,30);         c.add(t1);         t1.setFont(new Font("arial",Font.BOLD,15));         t1.addActionListener(this);     }     public void actionPerformed(ActionEvent e) ...

JAVA ActionListener

Image
                                                 Action Listener Action Listener :-  Listener is an interface in java that listens some event generated by component   ActionEvent fires on ---------------------------------------------------------------------------------------------------------------------  when user click on a button press enter in a TextField choose a mentItem Press small case button click me and than capital CLICK ME *************** ActionListener ***********************/  ActionListener   void actioonPerformance  addActionListener() /////////////////////////////////////////////////////////////////////////////////////////////////////////////  How to Write an ActionListener Syntax:................... class Example implements ActionListener {     public example() //construc...

ADD TWO NO. IN JAVA USING APPLET

Image
                                                 ADD TWO NO. IN JAVA USING APPLET Enter the first no.  10 Enter The Second no. 20 click Add  30 ----------------------------------------------------------------------------------------------------------------------------                                                                                     PREVIEW ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Copy to Code an implement  this program  import javax.swing.*; import java.awt.*; impor...

USING JAVA CREATING NOTEPAD APPLICATION

Image
                                                                                    JAVA NOTEPAD                                                                   USING   JAVA CREATING NOTEPAD                                                                                        Leve...

JAVA MAKE REGISTRATION FORM

                                               JAVA .  REGESTRATION FORM //////////////////////////////////////////////////////////////////////////////////////// This is java registration form using swing  Input : Name Input : Mob Select Dob. Check Accept Submit  /////////////////////////////////////////////////////////////////////////////////////// import javax.swing.*; import java.awt.*; class MyFrame extends JFrame {     JLabel label1, label2, label3, label4,label5;     JTextField t1, t2;     JRadioButton male, female, other;     JComboBox<String> daysComboBox, monthsComboBox, yearsComboBox;     JTextArea tal;     JCheckBox terms;     JButton submit;     JLabel msg;     MyFrame()  {         setTitle("Registration Form");   ...