Author name: admin

Add two numbers using Java

This tutorial will teach you Input two numbers to calculate and display the total.   paste the code inside the + button int Num1 = Integer.parseInt(txtNum1.getText()); int Num2 = Integer.parseInt(txtNum2.getText()); int tot = Num1 + Num2; txtTotal.setText(String.valueOf(tot)); paste the code inside the – button int Num1 = Integer.parseInt(txtNum1.getText()); int Num2 = Integer.parseInt(txtNum2.getText()); int tot =

Add two numbers using Java Read More »

Student MarksCalculation System Using Java

This tutorial will teach you Student MarksCalculation System Using Java.Input the studentname and marks to calculating the total,grade. the grade is awared as “Pass” when the average is more than 50.otherwise grade is fail. paste the code inside the ok button int num1,num2,num3,tot,avg; num1 = Integer.parseInt(txtnum1.getText()); num2 = Integer.parseInt(txtnum2.getText()); num3 = Integer.parseInt(txtnum3.getText()); tot = num1

Student MarksCalculation System Using Java Read More »

Advance Bus Ticket Booking System in Java Mysql

This tutorial will teach you Advanced Bus Booking System step by step.This system will use to manage the Bus Booking System. The System shall be able to select the seat no which customer wants. Step 1: implement  MouseListener  public class pos extends javax.swing.JFrame implements MouseListener { Step 2:  set the addMouseListener(this) in to each label.  write

Advance Bus Ticket Booking System in Java Mysql Read More »