Search:

Type: Posts; User: jacobgallipeau

Search: Search took 0.13 seconds.

  1. Re: getting my timer to run multiple times

    Sorry. Here's the code. It doesn't allow for adjusting the time between moves as far as I can think of.


    public class DrivingVehicle extends Application {

    int x = 10;
    Semi semi =...
  2. Re: getting my timer to run multiple times

    Thanks! I do have that done now. Here's the code for it. However, the idea is to make it look like the semi is driving off the screen. So this method makes the vehicle move too abruptly. Do I need to...
  3. Re: getting my timer to run multiple times

    Oh got it! Thank you. One more question: How do I get the program to stop running at a certain point? Say, I create an int with a value of 30 and I want it to stop running the timer task once it has...
  4. getting my timer to run multiple times

    Hello everyone,

    I am writing code to get my semi that I drew with graphics across the screen. This code works; however, it only runs the movement function once. I want it to continue repeating the...
  5. Replies
    3
    Views
    2,562

    Re: No classes available

    I'm using Netbeans. And no I haven't tried that, not sure how but I can look it up I suppose. Would that give me an error message or what's the reasoning for doing it?
  6. Replies
    3
    Views
    2,562

    No classes available

    Hey, I had to edit this short code for a class I'm taking and add a few things. I already added my changes, but even before I did, when I clicked "run" it would pop up with a menu asking me to choose...
  7. Getting new objects to appear after running program

    Hello everyone,

    This is my code. I'm trying to make a random number and then that random number should create a graphic dice. Very basic program, I am just learning this and am about five weeks...
Results 1 to 7 of 7