* simplify name

This commit is contained in:
Reinhard Pointner 2015-12-14 15:39:07 +00:00
parent 769306b0e7
commit cf9045d3a4
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ public class SinglePanelFrame extends JFrame {
setSize(850, 600); setSize(850, 600);
setMinimumSize(new Dimension(800, 400)); setMinimumSize(new Dimension(800, 400));
String title = System.getProperty("application.name");
if (title != null) {
this.setTitle(title);
}
} }
public SinglePanelFrame publish(Transferable transferable) { public SinglePanelFrame publish(Transferable transferable) {