Path: csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Making a cross-hair visible Date: Thu, 11 Aug 2016 17:34:27 -0400 Organization: Aioe.org NNTP Server Lines: 15 Message-ID: References: <87a8gjm2it.fsf@Equus.decebal.nl> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35259 On 8/11/2016 5:14 PM, Cecil Westerhof wrote: > I am dabbling with Swing to do some GUI stuff. This is relatively new > for me. At the moment I draw a rectangle for cropping an image. The > position is selected by clicking on the centre from where I think the > rectangle should be placed. This can be a little of, so I have to > fine-tune it. For this I draw a little cross in the centre. Problem is > that I paint it in black and when the centre is black, I will not see > it. And with every colour I choose I can have this problem. Is there a > smart way to make the cross always visible? White circle with black cross in? Arne