Creating a gradient fill in Java