include application version in frame title
This commit is contained in:
parent
3b05072a59
commit
df094e0e01
|
@ -19,7 +19,7 @@ public class SinglePanelFrame extends JFrame {
|
|||
private final JComponent panel;
|
||||
|
||||
public SinglePanelFrame(PanelBuilder builder) {
|
||||
super(String.format("%s %s", getApplicationName(), builder.getName()));
|
||||
super(String.format("%s %s %s", getApplicationName(), builder.getName(), getApplicationVersion()));
|
||||
panel = builder.create();
|
||||
|
||||
JComponent c = (JComponent) getContentPane();
|
||||
|
|
Loading…
Reference in New Issue