Gauges, Dials and more for Oracle Forms

3

Posted by Hafed | Posted in Forms, oracle, PJCs/Javabeans | Posted on 07-01-2009

I don’t really know why but lately I found myself wanting to design dials, gauges and thermometers. May be it is because I spent a lot of time on http://dashboardspy.com or it seemed to me that Oracle Forms users are lacking some of the nice visualization components available on other platforms.

See this link for a nice dashboard. Actually, this is the one that we will be designing once these javabeans are completed this week.

So, with that in my mind, I sketched two basic gauges, make that one gauge and one thermometer, that can be used to display some data coming from tables or straight from measurement sensors (think of National Instruments telemetry).

Here are the rough sketches I made with the properties that can be changed for each gauge.

and

There are other properties that can be included but for this version these are the only ones.

There are constraints when designing with Java graphics on Oracle forms. I am listing here the ones I think are important.

  • Use JInitiator whenever possible since most implementation are still using it instead of SUN JRE.
  • The Jar files should be of the smallest possible size.
  • Graphic routines should not cause any flickering or cause side-effects.

    I will be releasing the JAR files by the end of this week.