Skip to main content

Posts

Showing posts with the label Viralstuff123

Events Creation Lahore

Event Creation Manager Lahore  Email :  creationeventsco@gmail.com This Event Catering Company Doing good in making your event More Memorable and Enjoyable with some different look. Their Theme of Colors and Sense of designing makes them different from others. These Beautiful Pictures are taken from their Latest Walima Ceremony and they are doing extravagant. The Combination of fresh flowers and the way they are Designing are well enough to be appreciated. There are so many other Catering company's in Lahore but they are making it on next level. They Had also arranged a Party near BADSHAHI MOSQUE Lahore with the white and Pink Theme and That arrangement took social media on storm. Many of Bloggers from Lahore Really appreciate the Effort.If you want to See that Arrangment open the link below https://sunlo17.blogspot.com/p/creation-event-manager-lahore.html Just Say " WOAH " These Bunch of Flower...

Circle Square and Triangle in Java for GUI

Java Code of Shapes for Graphical User Interface: For Circle: import java.awt.*; import java.awt.geom.*; /**  * A circle that can be manipulated and that draws itself on a canvas.  *   * @author  Michael Kšlling and David J. Barnes  * @version 2011.07.31  */ public class Circle {     private int diameter;     private int xPosition;     private int yPosition;     private String color;     private boolean isVisible;          /**      * Create a new circle at default position with default color.      */     public Circle()     {         diameter = 68;         xPosition = 230;         yPosition = 90;         color = "blue";     }     /**      * Make...

Program to Make Canvas in Java For GUI

GRAPHICAL USER INTERFACE : CANVAS CLASS: import javax.swing.*; import java.awt.*; import java.util.List; import java.util.*; /**  * Canvas is a class to allow for simple graphical drawing on a canvas.  * This is a modification of the general purpose Canvas, specially made for  * the BlueJ "shapes" example.   *  * @author: Bruce Quig  * @author: Michael Kšlling (mik)  *  * @version 2011.07.31  */ public class Canvas {     // Note: The implementation of this class (specifically the handling of     // shape identity and colors) is slightly more complex than necessary. This     // is done on purpose to keep the interface and instance fields of the     // shape objects in this project clean and simple for educational purposes.     private static Canvas canvasSingleton;     /**      * Factory method to get t...

Program to write Date in Java

DATE PROGRAM Date Class: public class Date { private int month; private int year; private int day; public int getMonth() { return month; } public void setMonth(int month) { this.month = month; } public int getYear() { return year; } public void setYear(int year) { this.year = year; } public int getDay() { return day; } public void setDay(int day) { this.day = day; } public void displayDate() { System.out.print(getMonth()+ "/" +getDay()+ "/" +getYear() ) ; } } Date Test Class: import java.util.Scanner; public class DateTest { public static void main (String args[]) { Scanner in=new Scanner(System.in); System.out.println("Enter the day"); int d=in.nextInt(); System.out.println("Enter the month "); int m=in.nextInt(); System.out.println("Enter the year "); int y=in.nextInt(); Date date=new Date(); date.setDay(d); date.setMonth(m); date...

Java Program to Make Student Progress

Student Progress The First Class is Student Class:-   public class Student { private string first_name; //private String last_name; private string father_name; private string Address; private string chem_marks; private String phy_marks; private String bio_marks; private String math_marks; private String eng_marks; public Student(string first_name,String father_name , String Address , String chem_makrs , String phy_marks , String bio_marks , String math_marks , String eng_marks ) { super(); this.first_name = first_name; this.father_name= father_name; this.Address = Address; this.chem_marks= chem_marks; this.phy_marks= phy_marks; this.bio_marks= bio_marks; this.math_marks= math_marks; this.eng_marks= eng_marks; } public String getFirst_name() { return first_name; } public void setFirst_name(String first_name) { this.first_name = first_name; } /*public String getLast_name() { return last_na...

Java Program to make Employee Record

Employee Record  First is the Employee Class:- public class Employee {   private String firstName;   private String lastName;   private double monthlySalary;   public Employee(String f, String l, double m)  {  firstName = f;       lastName = l;       if(m < 0){  monthlySalary =0;     }       else  {  monthlySalary = m;   }  }     public String getFirstName() {      return firstName;     }     public void setFirstName(String fname) { firstName = fname;     }     public String getLastName() {    return lastName;  }  public void setLastName(String lname) {        lastName = lname;  } public double getMonthlySalary() {        return monthl...

Youtube Channel

The New Channel is up TECH DESK

Kashmir

Kashmir The Heaven on Earth  Kashmir is considered one of the part of Paradise on earth because of its beautiful landscape and hilly mountains which makes it different from other northern areas in Pakistan !  Here is the Video Link of some beautiful landscape of Kashmir