How to draw a Round rectangle in java with normal rectangle outline?

For my java application i need a Round rectangle with an outline that looks like a normal rectangle, like this I ...

Clear Transparent Background for QWidget?

I have a widget as on overlay for another widget. The transparency works fine, as long as I don't clear the backgrou...

Dynamically generated line with glow effective?

I want to draw line with glow effect like this The problem - i must generate this line in program in dependence o...