Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

RealBasic to Java interface help

Thread view: 
goat5000@gmail.com - 31 Mar 2006 20:09 GMT
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
Steve W. Jackson - 31 Mar 2006 21:06 GMT
> Hi,
>
[quoted text clipped - 11 lines]
>
> 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 =
Signature

Steve W. Jackson
Montgomery, Alabama

Roedy Green - 31 Mar 2006 21:15 GMT
On Fri, 31 Mar 2006 14:06:36 -0600, "Steve W. Jackson"
<stevewjackson@charter.net> wrote, quoted or indirectly quoted someone
who said :

> 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.

For sample code see http://mindprod.com/jgloss/timer.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.