gbc.weighty = 190;
gbc.weighty = 100;
    private void createUI()    {        createToolbar();        createActionbar();        createPanels();                        JPanel container = new JPanel();        container.setLayout(new BoxLayout(container, BoxLayout.X_AXIS));        container.add(toolbar , BorderLayout.WEST);        container.add(Box.createHorizontalBox());        container.add(userActionbar, BorderLayout.EAST);        this.setLayout(new GridBagLayout());        GridBagConstraints gbc = new GridBagConstraints();		gbc.gridx = 0;		gbc.gridy = 0;		gbc.weightx = 40;		gbc.weighty = 0;		gbc.anchor = GridBagConstraints.NORTH;		gbc.fill = GridBagConstraints.HORIZONTAL;		gbc.insets = new Insets(0, 5, 0, 5);		        this.add(container, gbc);        gbc.gridx = 0;		gbc.gridy = 1;		gbc.weightx = 100;		gbc.weighty = 190;		gbc.anchor = GridBagConstraints.CENTER;		gbc.fill = GridBagConstraints.BOTH;		gbc.insets = new Insets(5, 5, 0, 5);		        this.add(paintPotPane, gbc);                gbc.gridx = 0;		gbc.gridy = 2;		gbc.weightx = 100;		gbc.weighty = 5;		gbc.anchor = GridBagConstraints.CENTER;		gbc.fill = GridBagConstraints.BOTH;		gbc.insets = new Insets(0, 0, 0, 0);        		this.add(colourWheelPane, gbc);		gbc.gridx = 0;		gbc.gridy = 2;		gbc.weightx = 100;		gbc.weighty = 600;		gbc.anchor = GridBagConstraints.CENTER;		gbc.fill = GridBagConstraints.BOTH;		gbc.insets = new Insets(0, 0, 0, 0);	               this.add(RGBSliderPane, gbc);                gbc.gridx = 0;		gbc.gridy = 2;		gbc.weightx = 100;		gbc.weighty = 2800;		gbc.anchor = GridBagConstraints.CENTER;		gbc.fill = GridBagConstraints.BOTH;		gbc.insets = new Insets(0, 0, 0, 0);	               this.add(swatchPane, gbc);        RGBSliderPane.setVisible(false);        swatchPane.setVisible(false);        colourWheelButton.setSelected(true);        colourWheelPane.setActive(true);        this.doLayout();    }