h o m ep r o j e c ta p p l e t sa d v i s o ra b o u t   u s
curve.gif
applets

JMeter

Programmer:   Raymond Li
Applet:   JMeter Applet
Documentation:   JMeter Docs
Source Code:   JMeter Code , Format Code

The JMeter class was designed to display an integer or decimal with a user-defined left and right accuracy. The class makes sure the display is read-only. Facial modifications of the instantiated object can also be readily accomplished through methods.

The JMeter class is derived from JTextField from the JDK 1.2.2 libraries. Although an unmodified JTextField object could have been used to accomplish the same effect, the need for reusability and encapsulation lends naturally to the creation of a JMeter class.

Integer and decimal values can be displayed in the JMeter. The amount of the digits to the left and right of the decimal can be specified as well. The font, foreground color, and background color can all be adjusted to fit the developer's application. The value displayed in the JMeter even rounds if for any reason the accuracy given by the user truncates the original number.

<< Back to applet index


home | project | applets | advisor | about us
footer.gif