time for some fun again...last monday i attended a meeting where some colleagues presented some piece of software. The software was a logfile analyzer and to make the results comparable they've added the so called score of the result. This is a simple integer between 1 and 5, where 1 is bad and 5 is very good.
This score thing reminded me on a graphic that i found on the web a few days ago and i decided to create a little component to visualize the score of something.
Long story short, here is the screenshot of the component...
noOfArrows setNoOfArrows(int) [3 - 10]
getNoOfArrows()
score setScore(int)
getScore()
colorDirection setColorDirection(ColorDirection) ColorDirection.RED_TO_GREEN
ColorDirection.GREEN_TO_RED
getColorDirection()
textVisible setTextVisible(boolean)
isTextVisible()
textColor setTextColor(Color)
getTextColor()
And i think that's it with this component, like i said it's really simple but it might be useful for one or the other, so enjoy using it...
------------------------------------------------------
here is the binary and the NetBeans project:
binary: score.jar
NetBeans project: Score.zip
------------------------------------------------------
Enjoy the upcoming weekend and keep coding...
Very nice.
ReplyDeleteMay I suggest a Component. A square rectangular led with text inside. You can see this can of stuff on the electrical panel of a train for example
If you could send me an image I'll see what is possible... :)
DeleteI have send a drawing on your mail. I hope it will be ok (it is not very nice)
DeleteOk, got it...seems to be an easy one...thx and stay tuned,
DeleteCheers,
Gerrit