public PaletteChooserPanel([In] PaletteSample obj0, [In] PaletteSample[] obj1)
 {
   base.\u002Ector();
   PaletteChooserPanel paletteChooserPanel = this;
   ((Container) this).setLayout((LayoutManager) new BorderLayout());
   this.selector = new JComboBox((object[]) obj1);
   this.selector.setSelectedItem((object) obj0);
   JComboBox jcomboBox = this.selector;
   PaletteSample.__\u003Cclinit\u003E();
   PaletteSample paletteSample = new PaletteSample((ColorPalette) new RainbowPalette());
   jcomboBox.setRenderer((ListCellRenderer) paletteSample);
   ((Container) this).add((Component) this.selector);
 }
 public DefaultColorBarEditor([In] ColorBar obj0)
   : base((NumberAxis) obj0.getAxis())
 {
   DefaultColorBarEditor defaultColorBarEditor = this;
   this.invertPalette = false;
   this.stepPalette = false;
   this.invertPalette = obj0.getColorPalette().isInverse();
   this.stepPalette = obj0.getColorPalette().isStepped();
   PaletteSample.__\u003Cclinit\u003E();
   this.currentPalette = new PaletteSample(obj0.getColorPalette());
   this.availablePaletteSamples = new PaletteSample[2];
   PaletteSample[] paletteSampleArray1 = this.availablePaletteSamples;
   int index1 = 0;
   PaletteSample.__\u003Cclinit\u003E();
   PaletteSample paletteSample1 = new PaletteSample((ColorPalette) new RainbowPalette());
   paletteSampleArray1[index1] = paletteSample1;
   PaletteSample[] paletteSampleArray2 = this.availablePaletteSamples;
   int index2 = 1;
   PaletteSample.__\u003Cclinit\u003E();
   PaletteSample paletteSample2 = new PaletteSample((ColorPalette) new GreyPalette());
   paletteSampleArray2[index2] = paletteSample2;
   JTabbedPane otherTabs = this.getOtherTabs();
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new LCBLayout(4));
   ((JComponent) jpanel1).setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
   ((Container) jpanel1).add((Component) new JPanel());
   JCheckBox.__\u003Cclinit\u003E();
   this.invertPaletteCheckBox = new JCheckBox(DefaultColorBarEditor.localizationResources.getString("Invert_Palette"), this.invertPalette);
   ((AbstractButton) this.invertPaletteCheckBox).setActionCommand("invertPalette");
   ((AbstractButton) this.invertPaletteCheckBox).addActionListener((ActionListener) this);
   ((Container) jpanel1).add((Component) this.invertPaletteCheckBox);
   ((Container) jpanel1).add((Component) new JPanel());
   ((Container) jpanel1).add((Component) new JPanel());
   JCheckBox.__\u003Cclinit\u003E();
   this.stepPaletteCheckBox = new JCheckBox(DefaultColorBarEditor.localizationResources.getString("Step_Palette"), this.stepPalette);
   ((AbstractButton) this.stepPaletteCheckBox).setActionCommand("stepPalette");
   ((AbstractButton) this.stepPaletteCheckBox).addActionListener((ActionListener) this);
   ((Container) jpanel1).add((Component) this.stepPaletteCheckBox);
   ((Container) jpanel1).add((Component) new JPanel());
   JPanel jpanel2 = jpanel1;
   JLabel.__\u003Cclinit\u003E();
   JLabel jlabel = new JLabel(DefaultColorBarEditor.localizationResources.getString("Palette"));
   ((Container) jpanel2).add((Component) jlabel);
   JButton.__\u003Cclinit\u003E();
   JButton jbutton = new JButton(DefaultColorBarEditor.localizationResources.getString("Set_palette..."));
   ((AbstractButton) jbutton).setActionCommand("PaletteChoice");
   ((AbstractButton) jbutton).addActionListener((ActionListener) this);
   ((Container) jpanel1).add((Component) this.currentPalette);
   ((Container) jpanel1).add((Component) jbutton);
   otherTabs.add(DefaultColorBarEditor.localizationResources.getString("Palette"), (Component) jpanel1);
 }