Experiment with Ubuntu Unity integration

This commit is contained in:
Reinhard Pointner 2017-02-16 02:22:52 +08:00
parent 6185663e9c
commit 176c7618da
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
package net.filebot.ui; package net.filebot.ui;
import static net.filebot.Settings.*;
import java.awt.Dimension; import java.awt.Dimension;
import javax.swing.JComponent; import javax.swing.JComponent;
@ -12,7 +14,7 @@ import net.miginfocom.swing.MigLayout;
public class SinglePanelFrame extends JFrame { public class SinglePanelFrame extends JFrame {
public SinglePanelFrame(PanelBuilder builder) { public SinglePanelFrame(PanelBuilder builder) {
super(builder.getName()); super(getApplicationName());
JComponent panel = builder.create(); JComponent panel = builder.create();
JComponent c = (JComponent) getContentPane(); JComponent c = (JComponent) getContentPane();