Search:

Type: Posts; User: athrun8703

Search: Search took 0.17 seconds.

  1. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    Ya... That's the case.... How should I draw it then???
  2. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    At the constructor of SmoothBus.. There is a for loop which add BusRender array to the centre border layout.. Variable name is b[z].add(......);
  3. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    The current BusRender class has the code to draw the route.. It is just that the line for the 1st route is not coming out... Even the bus image for the 1st BusRender object does not show out... The...
  4. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    the timer is used to draw the buses.. what i am unsure now is where to put that iteration... as for the case of drawing one thing.. only that busRender class has the paint component.. the main class-...
  5. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    1st sorry for the lengthy code..

    the main class- SmoothBus:


    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
  6. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    should the paint component be in the main class or BusRender class(bus class)... my bus render class has a paint method already..

    BusRender paintcomponent:



    public void...
  7. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    Ya... The program only print the last route and the relevant bus for that loop.. What u mean by drawing the bus in a loop... My current code has a paint method for each bus object... Meaning to say...
  8. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    please ignore my post above... i made some progress... the issue now is the program only draw the last set of the route.. with respect to my attached image above, it would only draw the blue route.....
  9. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    hi.. i read the code but i still don't get what it mean.... also now i encounter another error.. the above code is to be created into a bus object and the main class will create this bus object and...
  10. Replies
    21
    Views
    1,340

    [SOLVED] Re: Using multiple timers to draw images??

    Sorry I am new in this.... Do u have any reference I could refer to????
  11. Replies
    21
    Views
    1,340

    [SOLVED] Using multiple timers to draw images??

    http://img163.imageshack.us/img163/6751/mtimers.png

    Uploaded with ImageShack.us


    hi.. from my uploaded images there are buses on 2 route, namely the blue route and the red route.. my task is...
Results 1 to 11 of 11