Programlama | Programlama Dilleri | C Programlama Dili |C++

Hata
  • XML Parsing Error at 1:82. Error 9: Invalid character


Daireler

AÇIKLAMA

Javada iç içe daireler çizdiren bir Applet  uygulamasidir.

Program Kodu:

  1. import java.awt.*;
  2. import java.applet.*;
  3. import javax.swing.*;
  4.  
  5. public class Daire extends JApplet {
  6.    
  7.     public void init() {
  8.     }
  9.  
  10.     public void paint(Graphics g)
  11.     {
  12.         int counter=0;
  13.     while(counter<=10)
  14.     {    g.drawOval(110 - counter * 10, 110 - counter * 10,counter * 20, counter * 20);
  15.         counter++;
  16.     }
  17.     }
  18. }

Yorumlar (0)
Sadece kayıtlı kullanıcılar yorum yazabilir!
Son Güncelleme ( Cuma, 08 Nisan 2011 00:13 )  
404 Not Found

404

Not Found

The resource requested could not be found on this server!


Proudly powered by LiteSpeed Web Server

Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.