-----Original Message-----
From: Discussion list for Java 2D API [mailto:[EMAIL PROTECTED]On Behalf Of Braun-Friedman, David
Sent: Wednesday, June 23, 2004 10:21 AM
To: [EMAIL PROTECTED]
Subject: [JAVA2D] FW: [JAVA2D] disappearing borders

 

I would very much appreciate some feedback on the following:

 

I have a small problem that seems to be related to the version of jdk being used.  I have an image manipulation application which contains two canvases for viewing images.  At program startup both canvases are assigned and given etched borders.  My program has a function that allows a user to annotate an image by drawing crosses on its graphical context.  When using the jdk1.4, the first time an annotation is painted through a mouseclick, the borders disappear for good.  This problem does not occur with jdk1.3.   If anyone can help me to figure why this is happening or how to resolve the problem so everything works with the latest jdk, it would be much appreciated.  Thanks.

[Rosenstrauch, David] 

 

It's really pretty hard to say what could be causing this, given that there were not much details provided in your message.  (I suspect that this is why no one responded.)
 
Off the top of my head, I can't think of too many reasons why this would happen.  Only guess that comes to mind is:  are you re-sizing the image canvases when people start annotating them?  If so, perhaps then the image canvas is being displayed on top of the border and so wiping it out.
 
Beyond that, it's hard to hazard a guess without more detail.  Maybe you can post a small, relevant piece of code up to the list here.  (Or, if you need people to see more code, maybe you can just put it on a web site and post the URL here.)
 
If you provide more info, maybe someone will be able to help you come up with a solution.
 
DR
 

==============================================================================
This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to