diff --git a/graphics b/graphics deleted file mode 100644 index 9dd8391516f..00000000000 --- a/graphics +++ /dev/null @@ -1,26 +0,0 @@ -import java.awt.*; -import javax.swing.JFrame; - -public class DisplayGraphics extends Canvas{ - - public void paint(Graphics g) { - g.drawString("Hello",40,40); - setBackground(Color.WHITE); - g.fillRect(130, 30,100, 80); - g.drawOval(30,130,50, 60); - setForeground(Color.RED); - g.fillOval(130,130,50, 60); - g.drawArc(30, 200, 40,50,90,60); - g.fillArc(30, 130, 40,50,180,40); - - } - public static void main(String[] args) { - DisplayGraphics m=new DisplayGraphics(); - JFrame f=new JFrame(); - f.add(m); - f.setSize(400,400); - //f.setLayout(null); - f.setVisible(true); - } - -}