import java.applet.Applet;
import java.awt.*;
public class Graph4_Cylinder extends Applet
{
public void paint(Graphics g)
{
Font font = new Font("Serif", Font.PLAIN, 24);
g.setFont(font);
setBackground(Color.gray);
setForeground(Color.white);
g.drawOval(50,50,230,70);
g.drawOval(50,300,230,70);
g.drawLine(50,80,50,330);
g.drawLine(165,80,165,330);
g.drawLine(280,80,280,330);
g.drawLine(165,80,280,80);
g.drawLine(165,330,280,330);
g.drawString("Radius(R)",170,355);
g.drawString("Height(H)",290,200);
g.drawString("CYLINDER",120,400);
}
}
A good blog always contains new and exciting information and as I read it I felt that this blog really has all of these qualities that make a blog. We are also providing the best services click on below links to visit our website.
ReplyDeleteOracle Fusion HCM Training
Workday Training
Okta Training
Palo Alto Training
Adobe Analytics Training