I know I can use the setLookAndFeel() method,
but i want full control over the look of my Components.
For this reason i override the paint method' and paint the Components with images or GradientPaint.
Here is my Skinnable ProgressBar.
Of course, the original code is more complicated, specially the paint method.
To make the code more readable and simple i remove some unnecessary part (more MouseListener, Graphics stuff etc...)
I don't succeed to make the resize() method of the SkinnableProgressBar class work Appropriately,
Which means to make that the indicatorRect Height's will Changes in proportion to the General High.
Can anyone show my how the resize mechanism should work ?
I know that during the resize the ProgressBar jump, but this is not the problem - it's happens because i remove some parts of the code...