[Schmitzm-commits] r1830 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jan 18 12:42:52 CET 2012
Author: mojays
Date: 2012-01-18 12:42:51 +0100 (Wed, 18 Jan 2012)
New Revision: 1830
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProgressBarWithText.java
Log:
ProgressBarWithText: XOR mode for label rendering removed because of problems for some screen resolutions
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProgressBarWithText.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProgressBarWithText.java 2012-01-16 19:52:22 UTC (rev 1829)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProgressBarWithText.java 2012-01-18 11:42:51 UTC (rev 1830)
@@ -88,8 +88,8 @@
@Override
public void paintComponent(Graphics g) {
super.paintComponent(g);
- g.setXORMode(getBackground());
g = g.create();
+// g.setXORMode(getBackground());
g.translate(5, 0);
label.setSize(getSize());
label.paint(g);
More information about the Schmitzm-commits
mailing list