Jlabel в центре JPanel

panel.setLayout(new GridBagLayout());
panel.add(label);
sandersuarez