No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
i am getting an error : java:10: error: AniWorld is not abstract and does not override abstract method mouseMoved(MouseEvent) in MouseMotionListener public class AniWorld extends Applet implements MouseMotionListener, MouseListener please help [CODE]import java.awt.*; import java.lang.*; import java.applet.*; import java.net.*; import java.net.MalformedURLException; import java.applet.Applet.*; import java.io.IOException; import java.awt.event.*; public class AniWorld … | |
my program works fine but i dont know why when i debug the program the shapes are coming out without me pressing the buttons [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; public class AnAppletWithButtons extends Applet implements ActionListener { Button button1, button2; int r, g , b; Color color; boolean drawLine … | |
i need to Pass in three integers corresponding to an RGB value and use the appropriate Color constructor to set the background color. [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass2b extends Applet { int r; int g; int b; //Color color = new Color (r,g,b); public void init() { String … | |
Hi i am new to java gui, i have trouble using color constructor. please tell me what the problem . thank you . [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass1c extends Applet { Color c = new Color(5,25,205); public void Color(int r,int g,int b); public void init() { System.err.println("Hello from … |
The End.