Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Ernest Friedman-Hill:
Both of the SWT books I have ("The Definitive Guide to SWT and JFace" from Apress and Manning's "SWT/JFace in Action") have some material about doing animation on Canvases, which is effectively what you're doing. The first book I listed has a clear and concise example on page 428-431 which would probably be a help.
Originally posted by Ernest Friedman-Hill:
They use Display.timerExec() to periodically call an animate() function. You could have your own thread poll the log and put the data in a queue, and have an animation function called this way pull data from the queue and draw the graph.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Tanuja Rattan:
Is there a free online version of this book