Search:

Type: Posts; User: Spidey1980

Search: Search took 0.24 seconds.

  1. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    LOL check this...no wonder!Animation in Java applets - JavaWorld
  2. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    Well, with QB when I used "include" (same as "import") it compiled the whole included library (class) into my code, making a stand alone executable. I guess java is different, the class stays where...
  3. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    Then I'm probably not even using half my imports. This is more than likely increasing my compiled file size and lending to the memory leak I am experiencing.
  4. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    I googled "java .length" and the first result was:
    Java Length Method, Find Length of String Java, Length Method in Java

    The code there starts with "import java.io.*;" is it for the...
  5. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    Ok you got me curious. just changed "....index = 0; index< maxStars +1;...." to "....;index < stars.length;....." and it worked. So I was probably misspelling "length" before, or else I was trying...
  6. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    String class? so I just forgot to "import java.string.*;".
    .length had not been working either; just forgot the import.

    For now I'm done until I continue my adventure through my java for...
  7. Replies
    18
    Views
    1,787

    Re: It works!!! eureka!!! Java...Day 12.

    Thank you I will try repaint().

    whenever I try .equals("") I get a class not found or .class expected error. If I were to get .equals("") to work, would it cause lees of a memory leak than ("" ==...
  8. Replies
    18
    Views
    1,787

    It works!!! eureka!!! Java...Day 12.

    So vector math works in java, but for some reason random does not work inside of methods?!?!:confused:
    Also it slows down and then freezes after running for about 5 minutes, is there a way to clean...
Results 1 to 8 of 8