I am trying to draw polylines by using the mouse listner mouseClicked function. Everytime I run my program all lines are drawn once by one click. How can I get my program to draw one polyline for everymouse click not all all the polylines that I have values for in my array.
Thanks.
Heather473
I'm trying to make a class that will be imported by a program. In this class, I am drawing ovals to put peoples names in them around a rectangle(like a dinner table) but I can't figure out how to be able to write the names in the ovals. Could some one please tell me the formal for writing the...
Can someone please explain the loop process to me so I can figure out why the loop isn't working in my program.
Thanks
import cs1.Keyboard;
public class Slots2
{
//-----------------------------------------------------------------
// Plays a Slot Machine game with the user...
This is my code I have gotten so far,,, am I way off in making a rainbow, I guess I should say.
Thanks Heather
import java.applet.Applet;
import java.awt.*;
public class Rainbow extends Applet
{
private final int MAX_WIDTH = 300;
private final int NUM_ARCS = 7;
private final int...
I am trying to make a simple rainbow but I am having trouble geting each arch a different color. I am having a problem of repeating colors. Can someone please help me with a way to have many colors in my rainbow.
Thank you.
I guess there is some software in MicroFocus cobol that automatically does the standard deviation. I'm not supposed to use that. I know the equation is (((x-mean)**2) /N )**.5. I just don't know how to get it into a statement to get it to run. I've tried compute statements for each bracket()...
I need help figuring out how to input the equation for standard deviation. I'm not allowed to use the one given in my cobol software for my class assignment. thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.