Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Swing / AWT / SWT
Java Graphics: Creating an adjustable timeline
Joined: Oct 16, 2012
Oct 16, 2012 13:52:51
I'm looking for suggestions as to a good approach for creating an adjustable timeline.
What I mean by "adjustable timeline" is that when the frame is zoomed in (out) the resolution of the timeline is increased (decreased).
For instance, the maximum resolution may be in seconds and the minimum in nanoseconds.
I'm working on creating a time-based simulator which displays certain events at the respective times that they occurred.
I've looked into using Piccolo2D for the zooming aspect as they have ZUI capabilities built-in for free - but this may not be the best direction to go in.
Any suggestions or links are appreciated!
It is sorta covered in the
JavaRanch Style Guide
subject: Java Graphics: Creating an adjustable timeline
JWebPlus exam simulator
Post date/time display in 'Bookmarks and Watches' page.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014