Click on the button to show the JXGradientChooser. You can design any gradient that you want. Selecting OK from the gradient chooser will set the new gradient to be the background for the panel.