Author: jfuerth
Date: Wed Sep  3 14:57:47 2008
New Revision: 2692

Modified:
   trunk/src/ca/sqlpower/architect/swingui/olap/OLAPPaneUI.java

Log:
Fixed rendering problem that was caused by the graphics state being changed by one component UI and affecting the next one.

Modified: trunk/src/ca/sqlpower/architect/swingui/olap/OLAPPaneUI.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/olap/OLAPPaneUI.java        
(original)
+++ trunk/src/ca/sqlpower/architect/swingui/olap/OLAPPaneUI.java Wed Sep 3 14:57:47 2008
@@ -175,6 +175,7 @@
     }

     public void paint(Graphics2D g2) {
+        g2 = (Graphics2D) g2.create();
         OLAPPane<T, C> op = olapPane;
         Stroke oldStroke = g2.getStroke();

Reply via email to