Lo folks,
First post here, I'm going to share a puzzle with you about the AWT Graphics fillArc method that I'm experiencing.
Basically I like little borders like this on my custom JPanels before sticking components in it...
http://www.cyorxamp.info/dump/EndBox.png
That shot was taken on my Linux box, however when I load it on Windows the arcs are drawn differently. I've colour coded the seperate bits I draw and shown the top corner bits of the box below zoomed in (the grey border is extra for this shot)...
http://www.cyorxamp.info/dump/zoomed.png
The top ones are Windows, bottom ones are Linux.
Here is the code I use (in a paintComponent override) to make them...
Is Java meant to be controlling how a arc/circle is drawn, or is the host OS meant to be controlling this?Code:Dimension dmnSize = getSize();
gpxGraphics.fillArc(4, 4, 35, 35, 180, -90);
gpxGraphics.fillArc(dmnSize.width-40, 4, 35, 35, 90, -90);
Any ideas on how to get a consistant look on both?
Thanx in advance...
Steve

