Re: RealBasic to Java interface help
- From: "Steve W. Jackson" <stevewjackson@xxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 14:06:36 -0600
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
.
- Follow-Ups:
- Re: RealBasic to Java interface help
- From: Roedy Green
- Re: RealBasic to Java interface help
- References:
- RealBasic to Java interface help
- From: goat5000
- RealBasic to Java interface help
- Prev by Date: cannot compile web application(jar file in WEBINF/lib)
- Next by Date: Re: RealBasic to Java interface help
- Previous by thread: RealBasic to Java interface help
- Next by thread: Re: RealBasic to Java interface help
- Index(es):
Relevant Pages
|