Re: RealBasic to Java interface help



In article <1143832166.920316.33200@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
goat5000@xxxxxxxxx wrote:

Hi,

I have a program that I made in RealBasic for Mac OSX that I would
like to translate over to Java. I have the code pretty much done, and
the interface is working out nicely. The only problem I am having is
that the original program is very much dependant on the Timer control.

I rebuilt the interface for the program in NetBeans 5.0 but I have
been unable to find anything that would substitute for the Timer. I'm
sure I could work around it, but I really would rather not. Anyone here
know any workarounds that might work?

Thanks for any help!

Grant

I never used a Timer in my own RB code, but a quick check of the
Language Ref (I've still got 5.5.5) tells me enough about what it is and
does to suggest looking into Java's own Timer. The javax.swing.Timer
probably isn't what you want, but java.util.Timer might well do the
trick. You create a TimerTask to handle the work and set the Timer to
schedule it as needed.

= Steve =
--
Steve W. Jackson
Montgomery, Alabama
.



Relevant Pages

  • Re: Wierd menu crash
    ... > No timer in it where in you create bitmaps everytime new which have a ... and if I display these in a listview my app uses ... Steve ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Time of day message
    ... Agree with Steve that using Access to control this is probably going to be ... Private Sub Form_Load ... ...and then set the timer interval for the next time around in the timer ... > On Timer event property, ...
    (microsoft.public.access.formscoding)
  • Re: Sleep()?
    ... Steve wrote: ... > Is there some way to implement a timer in python? ... > process and pipe a log out of it every 10 minutes. ...
    (comp.lang.python)
  • Re: online test using timer inasp.net
    ... You'll need to use some client side script for the timer. ... Here's an example that uses the javascript setTimeout function. ... Steve C. Orr, MCSD, MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • [patch 2.6.26-git] /dev/hpet - fixes and cleanup
    ... Tighten and correct the userspace interface code ... High Precision Event Timer Driver for Linux ... -Each HPET can have up to 32 timers. ...
    (Linux-Kernel)