Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 19:08:12 +0000
From:      "ghulam dastgir" <gdastgir786@hotmail.com>
To:        MATTHEW.GRAYBOSCH@cshore.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Java: drawing graphics primitives
Message-ID:  <F164XFhLWCACNTfkQBE00009551@hotmail.com>

next in thread | raw e-mail | index | archive | help
The problem relates to me running Sun's JDK on FreeBSD 2.2.6. Any help would 
be appreciated.


>From: "MATTHEW.GRAYBOSCH" <MATTHEW.GRAYBOSCH@cshore.com>
>Reply-To: <MATTHEW.GRAYBOSCH@cshore.com>
>To: "ghulam dastgir"  <gdastgir786@hotmail.com>
>CC: <freebsd-questions@freebsd.org>
>Subject: Re: Java: drawing graphics primitives
>Date: Thu, 13 Sep 2001 13:55:05 -0400
>
>Ghulam, this is not the appropriate forum for Java programming questions, 
>unless they relate directly to running Java on FreeBSD.
>--
>Matthew Graybosch
>http://www.starbreaker.net
>"Never forgive. Never forget."
>
>---------- Original Message ----------------------------------
>From: "ghulam dastgir" <gdastgir786@hotmail.com>
>Date: Thu, 13 Sep 2001 17:14:38 +0000
>
> >Hi,
> >
> >I'm building a Java GUI for an application which has a toolbar and a 
>drawing
> >area. The toolbar has icons representing various shapes (rectangles, 
>lines
> >etc). The idea is that each time I mouse-click on say a rectangle icon I
> >draw another new rectangle (retaining existing rectangles in the drawing
> >area) when I click the mouse-button in the drawing area.
> >
> >The problem is that the code I've hacked doesn't draw another new 
>rectangle
> >but erases the one only rectangle there is and replaces it with a new one
> >where-ever the mouse click is.
> >
> >I suspect this is because the repaint() method repaints! What are my 
>options
> >if  want such mouse clicks to create NEW shapes?
> >
> >Thanks,
> >
> >Ghulam
> >
> >_________________________________________________________________
> >Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-questions" in the body of the message
> >


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F164XFhLWCACNTfkQBE00009551>