I have the same problem too.

My current solution is to write a InternalFrameListener. When the
JInternalFrame which contains the JMapPane is deactivated, the listener
calls JMapPane.setRepaint(false)

-----Original Message-----
From: Richard Marshall [mailto:[email protected]] 
Sent: Tuesday, April 13, 2010 1:55 AM
To: [email protected]
Subject: [Geotools-gt2-users] JMapPane bleeding through JInternalFrame


Hi

I have created an application that is made up of a JFrame that contains a
JDesktopPane which in turn contains two JInternalFrames, one containing a
JMapPane and the other containing a simple JPanel.  When the application
starts up, the JMapPane reads a shape file and displays a map.  If the
second JInternalFrame is dragged over the JMapPane the map image bleeds
through.  How can I prevent this from happening?  I have tried to set the
second JInternalFrame to opaque but this does not make any difference.

I image this is more of a Swing/AWT issue but I thought I would ask here
just in case it has been seen before.  I am using GeoTools 2.6.1 and Java
1.6

Thanks,
Richard
-- 
View this message in context:
http://n2.nabble.com/JMapPane-bleeding-through-JInternalFrame-tp4891979p4891
979.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to