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 ...

How to draw inner stroke with Java2D?

I just want to draw the circle which is exactly 15x15 pixels sized, and have fill and outline. I'm using Java2D. The...

Problem with gif with transparent background?

I have a problem with displaying my gif with a transparent background because when I start this program, my gif show...