title: JPanel gradient background
body: <p>I googled but could find no correct answer. I have a <code>JPanel</code> and I want it to have a gradient that comes from top to bottom. I'm just going to use two colors. How can I achieve this?</p>