public void cell(Component comp, Integer index) {
            if (constraints.gridy == -1) {
                constraints.gridy = 0;
            }

            if (index == 1) {
                constraints.weightx = 0.1;
            } else {
                constraints.weightx = 1;
            }

            if (index > 0) {
                if (constraints.gridx >= index - 1) {
                    // Blocked
                    constraints.gridy++;
                }
                constraints.gridx = index - 1;
                container.add(comp, constraints);
            } else {
                constraints.gridy++;
                constraints.gridwidth = 2;
                constraints.gridx = 0;
                container.add(comp, constraints);
                constraints.gridx = 1; 
                constraints.gridwidth = 1;
            }
            
            if (container instanceof JPanel) {
                ((JPanel)container).updateUI();
            }
        }