Posts

Showing posts from October, 2020

Airline Ticket Reservation System Project in Java Netbeans

Image
                                             Fly the Friendly Skies Airline Ticket Reservation System In Java is a free  project made by Learning to Code. This project Features:- Use of Jframe Gui Design Javax tools Modern login / Register Systems Security and Protection Payment via cards and bank accounts and Much More. Here are some Screenshots of This project-     Hope you find this project helpful.    Help us reach 1k subs on youtube.    Do Subscribe the Channel and get This project for free.   Youtube Channel :- Learning to Code.  Link for video- https://www.youtube.com/watch?v=JuDVAn_KxK4&t=131s

How to Create a ProgressBar with a button in Java Netbeans.

Welcome To Java Tutorials Presented by Learning To Code                                             Java Netbeans First you need to implement ActionListener with your class- public class progresso implements ActionListener{      public void actionPerformed(ActionEvent evt){               int n= progress.getValue(); // here progress= progressbar               if(n<100){                   n++;       // label means the text which get updated,(0%)                    label.setText(Integer.toString(n)+"%");              progress.setValue(n);                                  }               else{                   timer.stop();               }       }}                    Now you need to write this code in the button action performed         timer=new Timer(50,new your class name.progresso());         timer.start();     Last You need to Declare the variable timer at variable declaration private Timer timer;  // Variables declaration - do not modify//     private javax.swing.JProgr