label = new JLabel(" Resolution");
label = new JLabel(" Bit depth");
    private void buildGUI()    {        setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10));        GridBagLayout gridbag = new GridBagLayout();        setLayout(gridbag);        GridBagConstraints c = new GridBagConstraints();            JLabel label = new JLabel(" Wavelength");        c.ipadx = RenderingAgt.H_SPACE;        c.weightx = 0.5;        c.gridx = 0;        c.gridy = 0;        c.fill = GridBagConstraints.HORIZONTAL;        gridbag.setConstraints(label, c);        add(label);        c.gridy = 1;        label = new JLabel(" Map");        gridbag.setConstraints(label, c);        add(label);        c.gridy = 2;        gridbag.setConstraints(gammaLabel, c);        add(gammaLabel);        c.gridy = 3;                label = new JLabel(" Resolution");        gridbag.setConstraints(label, c);        add(label);        c.gridy = 4;        label = new JLabel(" Histogram");        gridbag.setConstraints(label, c);        add(label);        c.gridy = 5;        label = new JLabel(" Noise reduction");        gridbag.setConstraints(label, c);        add(label);        c.gridx = 1;        c.gridy = 0;        JPanel wp = UIUtilities.buildComponentPanel(wavelengths);        gridbag.setConstraints(wp, c);        add(wp);        c.gridy = 1;        wp = UIUtilities.buildComponentPanel(transformations);        gridbag.setConstraints(wp, c);        add(wp);        c.gridy = 2;        c.weightx = 1.0;        c.ipadx = 5;         JPanel gp = buildSliderPanel(gamma);        gridbag.setConstraints(gp, c);        add(gp);        c.gridy = 3;        JPanel brp = buildSliderPanel(bitResolution);        gridbag.setConstraints(brp, c);        add(brp);        c.gridy = 4;        c.weightx = 0.0;        c.ipadx = 0;         JPanel hp = UIUtilities.buildComponentPanel(histogram);        gridbag.setConstraints(hp, c);        add(hp);        c.gridy = 5;        JPanel np = UIUtilities.buildComponentPanel(noise);        gridbag.setConstraints(np, c);        add(np);    }