Posted by : Unknown Thursday, 2 July 2015

import java.applet.Applet;
import java.awt.Graphics;
public class applet extends Applet
{
      public void paint(Graphics g) 
      {
          g.drawRoundRect(10,10,50,50,20,20);
          g.fillRoundRect(70,10,90,90,20,20);
      }
}

Output:

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Translate

Popular Post

Total Pageviews

- Copyright © Learning Java Program - Powered by Blogger -