frame.add(comp);
frame.getContentPane().add(comp);
    private void addBag(Component comp, GridBagLayout gridbag, GridBagConstraints c) {        gridbag.setConstraints(comp, c);        frame.add(comp);    }