All pastes #593004 Raw Edit

Mine

public text v1 · immutable
#593004 ·published 2007-06-28 02:05 UTC
rendered paste body
import java.awt.geom.Arc2D;
import java.awt.*;

public class olimpiakoi1 extends java.applet.Applet {



  final static BasicStroke wideStroke = new BasicStroke(8.0f); 
  final static BasicStroke wide = new BasicStroke(20.0f);
  
  public void init() {
    setBackground(Color.white);
    setForeground(Color.white);
  }
  public void paint(Graphics g) {
    //kiklos1
    Graphics2D g1 = (Graphics2D) g;
    g1.setPaint(Color.cyan);
    g1.setStroke(wideStroke);
    g1.draw(new Arc2D.Double(40, 50, 100, 100, 290, 339,Arc2D.OPEN));

    //kiklos2
    Graphics2D g2 = (Graphics2D) g;
    
    g2.setPaint(Color.orange);
     g2.setStroke(wideStroke);
     g2.draw(new Arc2D.Double(100, 100, 100, 100, 113, 339, Arc2D.OPEN));
     
     //kiklos3
     Graphics2D g3 = (Graphics2D) g;
    
    g3.setPaint(Color.black);
     g2.setStroke(wideStroke);
     g3.draw(new Arc2D.Double(160, 50, 100, 100, 191, 339, Arc2D.OPEN));
    
     //kiklos4
     Graphics2D g4 = (Graphics2D) g;
   
    g4.setPaint(Color.green);
     g4.setStroke(wideStroke);
     g4.draw(new Arc2D.Double(220, 100, 100, 100, 113, 339, Arc2D.OPEN));
     
     //kiklos5
     Graphics2D g5 = (Graphics2D) g;
  
    g5.setPaint(Color.red);
     g5.setStroke(wideStroke);
     g5.draw(new Arc2D.Double(280, 50, 100, 100, 191, 339, Arc2D.OPEN));
  
     //message(mantepse to..)
   Graphics2D g6 = (Graphics2D) g;
   Font f = new Font("Arial Narrow", Font.PLAIN, 40);
   g6.setFont(f);
   g6.setPaint(Color.black);
    g6.drawString("N.O.G.I.F.A.", 120, 300);
    }}