Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,277

    [SOLVED] Re: Can't seem to get starting position right

    Something small that will compile, execute and show the problem.


    Where are the values set to 0? try debugging the code by adding lots of println statements to show why and where the values are...
  2. Replies
    7
    Views
    1,277

    [SOLVED] Re: Can't seem to get starting position right

    I see that the code sets the starting position:

    x = 100;
    y = 400;


    Short, Self Contained, Correct Example
  3. Replies
    7
    Views
    1,277

    [SOLVED] Re: Can't seem to get starting position right

    What are you expecting to happen now? There needs to be a SSCCE
    http://sscce.org/
    for testing.
  4. Replies
    7
    Views
    1,277

    [SOLVED] Re: Can't seem to get starting position right

    How can the posted code be compile and executed for testing? It needs a JFrame and a main() method.


    That would be the 0,0 location. How does the code set the starting location?
Results 1 to 4 of 4