optionComps = new Vector();
optionComps = new Vector<DialogOptionComponent>();
    public void refreshOptions() {        panOptions.removeAll();        optionComps = new Vector();                GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        panOptions.setLayout(gridbag);                c.gridwidth = GridBagConstraints.REMAINDER;        c.fill = GridBagConstraints.HORIZONTAL;        c.insets = new Insets(0, 0, 0, 0);        c.ipadx = 0;    c.ipady = 0;                for (Enumeration i = options.getGroups(); i.hasMoreElements();) {            IOptionGroup group = (IOptionGroup)i.nextElement();                        addGroup(group, gridbag, c);                        for (Enumeration j = group.getOptions(); j.hasMoreElements();) {                IOption option = (IOption)j.nextElement();                addOption(option, gridbag, c, editable);            }        }                validate();    }