Author: ppitonak(a)redhat.com
Date: 2011-05-06 08:45:22 -0400 (Fri, 06 May 2011)
New Revision: 22476
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/a4j/A4JMediaOutputBean.java
Log:
method for generating image fixed
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/a4j/A4JMediaOutputBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/a4j/A4JMediaOutputBean.java 2011-05-06
10:27:57 UTC (rev 22475)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/a4j/A4JMediaOutputBean.java 2011-05-06
12:45:22 UTC (rev 22476)
@@ -106,7 +106,7 @@
graphics2D.fillRect(paintData.getWidth() / 2, 0, paintData.getWidth() / 2,
paintData.getHeight() / 2);
graphics2D.setColor(Color.BLUE);
- graphics2D.fillRect(0, paintData.getWidth() / 2, paintData.getWidth() / 2,
paintData.getHeight() / 2);
+ graphics2D.fillRect(0, paintData.getHeight() / 2, paintData.getWidth() / 2,
paintData.getHeight() / 2);
graphics2D.setColor(Color.GREEN);
graphics2D.fillRect(paintData.getWidth() / 2, paintData.getHeight() / 2,
paintData.getWidth() / 2, paintData.getHeight() / 2);