Question:

AWT PROBLEM IN JAVA.

by  |  earlier

0 LIKES UnLike

//Draw rectanglesimport java.awt.*;import java.applet.*;/*<applet code="Rectangles" width=300 height=200></applet>*/public class Rectangles extends Applet{public void paint(Graphics g){g.drawRect(10,10,60,50);g.fillRect(100,10,60,50);g.drawRoundRect(190,10,60,50,15,15);g.fillRoundRect(70,90,140,100,30,40);}} The program is compiling but I can not run it using command java Rectangles.what will be the problem

 Tags:

   Report
Please Login to view 1 answers to this question
You're reading: AWT PROBLEM IN JAVA.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.