User Profile

Collapse

Profile Sidebar

Collapse
kaka123
kaka123
Last Activity: Oct 1 '08, 04:45 PM
Joined: Dec 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kaka123
    replied to Animating an image in an Applet
    in Java
    thank you for providing me with the link
    See more | Go to post

    Leave a comment:


  • kaka123
    started a topic Animating an image in an Applet
    in Java

    Animating an image in an Applet

    Hi ive decided to make an applet where i would like my favorite player ed reed to run accross the screen with the ball in his hand, and i was wondering how i can animate him to do that..ive used the repaint function with a try sleep before so thats all i really am not sure how to do.. what would be a base code for this? im sure its hard if sice you dont have the file, but mabye you can give me a little back round

    thanks
    ...
    See more | Go to post

  • kaka123
    replied to Getting "Null"on print out
    in Java
    thanks, i figured it all out for the most part, and im just trying to get the sort to work
    See more | Go to post

    Leave a comment:


  • kaka123
    started a topic Getting "Null"on print out
    in Java

    Getting "Null"on print out

    hey, im doing this program and im reading the information from a file, i cant figure out how to get the print out right. Ive looked at all my for loops and i thought the error would be in the "substrings " that im doing..mabye the errror is in lines 25-39? this might be alost cause cause you cant run this file without the data file, but the scores and averages work, but the the peoples names dont print out right

    it says...
    See more | Go to post

  • kaka123
    started a topic Sorting an Array and one other thing
    in Java

    Sorting an Array and one other thing

    hey im writing a program where i had a question about sorting an array..in my program i have to sort 3 arrays..does this mean i have to do the sort 3 different time and have 3 "dummy" arrays that will hold the values? i plan on using a interchange sort

    My second question is that i need to Call a function that will return the most frequently occurring exam (scores from a [5][8] array) would i use an if statement to do this?...
    See more | Go to post

  • kaka123
    started a topic Animation problems
    in Java

    Animation problems

    im doing an applet and this is what i have so far

    [CODE=Java]import java.awt.*;
    import java.awt.event. *;
    import java.applet.*;
    import javax.swing.*;
    public class Applet1 extends JApplet
    {
    Thread t = new Thread();;
    int p1;
    int p2;
    int a=0;
    int b=50;
    int c=125;
    int d=115;
    int e=50;
    int f=300;
    int j=300;
    int h=325;
    ...
    See more | Go to post
    Last edited by BigDaddyLH; Feb 26 '08, 04:51 PM. Reason: added code tags

  • kaka123
    replied to Math.random help! please
    in Java
    yea i know im sorry...i was just showing you my loop with the stars goin accros the sky..i didnt use math.random beacuse i dont know how to use it..thus me asking the question
    See more | Go to post

    Leave a comment:


  • kaka123
    started a topic Math.random help! please
    in Java

    Math.random help! please

    hey im new to java and im trying to get stars to appear randomly accross the sky and i cant fugure out how to use the functions
    for (a=1;a<1000;a=a +10)
    {
    g.fillOval(0+a, 2,6,6);


    }
    thats what i have now and the stars go stright accross teh sky..if nothing else then i would just line the stars up in teh sky but no matter how big i make my for loop, the starts just go one line stright accross the...
    See more | Go to post
No activity results to display
Show More
Working...