package geometry.drawing;
public class Rectangle extends Point {
double width;
double height;
public Rectangle(int x, int y, double h, double w ) {
super(x, y);
width = w;
height = h;
} // End of Rectangle Constructor
} // End of class Rectangle
Thursday, 25 January 2018
Related Posts:
Gridbag Layout examples in java import javax.swing.*;import java.awt.*;import javax.swing.text.*;impor… Read More
login class in javaimport javax.swing.*;import java.awt.*;import javax.swing.text.*;impor… Read More
GridBag Layout demo in java import java.awt.*;import javax.swing.JButton;import javax.swing.JFrame… Read More
JFrame examples in javaimport java.awt.*;import java.awt.event.*; public class MyFrame … Read More
0 comments: