Experiment with Ubuntu Unity integration

This commit is contained in:
Reinhard Pointner 2017-02-16 02:38:51 +08:00
parent 176c7618da
commit bdb1f96710
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ import net.miginfocom.swing.MigLayout;
public class SinglePanelFrame extends JFrame {
public SinglePanelFrame(PanelBuilder builder) {
super(getApplicationName());
super(String.format("%s %s", getApplicationName(), builder.getName()));
JComponent panel = builder.create();
JComponent c = (JComponent) getContentPane();