This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have this code GradientPaint gp2 = new GradientPaint(0,0,Color.white,100,100,Color.black,false); Rectangle2D r2 = new Rectangle(200,30,100, 100); g2.setPaint(gp2); g2.fill(r2); if draw this its a square of white but if i change the false to true to acylic draw just fine. what gives i need a horizontal gradient from dark to light. thanks, nick