Experiment with Ubuntu Unity integration
This commit is contained in:
parent
176c7618da
commit
bdb1f96710
|
@ -14,7 +14,8 @@ import net.miginfocom.swing.MigLayout;
|
||||||
public class SinglePanelFrame extends JFrame {
|
public class SinglePanelFrame extends JFrame {
|
||||||
|
|
||||||
public SinglePanelFrame(PanelBuilder builder) {
|
public SinglePanelFrame(PanelBuilder builder) {
|
||||||
super(getApplicationName());
|
super(String.format("%s %s", getApplicationName(), builder.getName()));
|
||||||
|
|
||||||
JComponent panel = builder.create();
|
JComponent panel = builder.create();
|
||||||
|
|
||||||
JComponent c = (JComponent) getContentPane();
|
JComponent c = (JComponent) getContentPane();
|
||||||
|
|
Loading…
Reference in New Issue