Re: Scrolling using a timer

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 06/19/04


Date: Sat, 19 Jun 2004 15:36:32 GMT

On 19 Jun 2004 06:58:10 -0700, Douglas Dillon wrote:

> I'm trying to scroll an image by shifting it with a timer.

I could not make head nor tail of your
snippet, try a self contained example..
<http://www.physci.org/codes/sscce.jsp>

OTOH, you may be able to get some pointers from..
It is not even clear if you are using AWT or Swing, so..
<http://www.physci.org/launcher.jsp#JAnimateFrame> or
<http://www.physci.org/launcher.jsp#AnimateFrame>

A better group for the moment might be..
<http://www.physci.org/codes/javafaq.jsp#cljh>
Though GUI matters are often discussed in
<http://www.physci.org/codes/javafaq.jsp#cljg>

You should have a long look through
this document for tips, as well..
<http://www.physci.org/guifaq.jsp>

-- 
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Relevant Pages

  • mpi bcast of a pointer and dereferencing.
    ... I'm new in MPI and I'm trying to build an MPI application. ... I have a problem with the following snippet. ... the pointers to the processes. ... int main{ ...
    (comp.parallel.mpi)
  • Re: #includes
    ... so your not chasing your tail?? ... OTOH, if you have pointers instead, then you break the paradox. ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.vc.language)
  • malloc Q
    ... I have the following snippet of code: ... pointers the malloc would be "sticky" and not be freed until a call to ... how do I rewrite the code to insure that the memory remains allocated? ... I could pass just the index for letters_array, but for maintenance and ...
    (comp.lang.c)
  • Re: strcat and three strings
    ... My first suggestion is that you did not allocate any space for your ... you only defined the pointers. ... instead of only a snippet. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Sheep Systems
    ... > any attempt to go down that line is just to serious a compromise on ... OTOH it may well be possible to select ... > for sheep that strip along their bellies and around the tail, ... Prev by Date: ...
    (uk.business.agriculture)