// ----------------------------------------------------------------------------
private JRadioButton createGradientRadioButton(String description, int drawing_mode, int buttonIndex)
{
GradientJRadioButton button = new GradientJRadioButton( IconProvider.getInstance(), "fill_gradient" );
button.setBorder(BorderFactory.createEmptyBorder(8,8,8,8));
button.addActionListener( new SetDrawing2GradientAction(MainWindow.getDrawingPanel(),drawing_mode,MainWindow.MAIN_WINDOW,buttonIndex,true) );
button.addChangeListener( MainWindow.getDrawingPanel() );
// SetDrawingModeAction draw_action = new SetDrawingModeAction(description, MainWindow.getDrawingPanel(), drawing_mode, MainWindow.MAIN_WINDOW, buttonIndex);
// MultipleGradientPaint gradient = new LinearGradientPaint(JGradientChooser.START_,JGradientChooser.CENTER_,JGradientChooser.fractions_,JGradientChooser.colors,MultipleGradientPaint.NO_CYCLE,MultipleGradientPaint.SRGB);
// button = new JRadioButton( new GradientIcon(gradient) );