more visible console version

This commit is contained in:
rusefi 2019-05-03 15:01:29 -04:00
parent ea5618dd30
commit e946964bba
2 changed files with 3 additions and 7 deletions

View File

@ -46,7 +46,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see EngineSnifferPanel
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20190502;
public static final int CONSOLE_VERSION = 20190503;
public static final boolean SHOW_STIMULATOR = false;
private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port";

View File

@ -78,7 +78,7 @@ public class StartupFrame {
private JLabel noPortsMessage = new JLabel("No ports found!");
public StartupFrame() {
frame = new JFrame("rusEfi console v" + Launcher.CONSOLE_VERSION);
frame = new JFrame("rusEfi console version " + Launcher.CONSOLE_VERSION);
frame.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
frame.addWindowListener(new WindowAdapter() {
@Override
@ -103,11 +103,6 @@ public class StartupFrame {
realHardwarePanel.setBorder(new TitledBorder(BorderFactory.createLineBorder(Color.darkGray), "Real stm32"));
miscPanel.setBorder(new TitledBorder(BorderFactory.createLineBorder(Color.darkGray), "Miscellaneous"));
// leftPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10),
// BorderFactory.createLineBorder(Color.darkGray)));
connectPanel.add(comboPorts);
final JComboBox<String> comboSpeeds = createSpeedCombo();
connectPanel.add(comboSpeeds);
@ -174,6 +169,7 @@ public class StartupFrame {
rightPanel.add(logo);
}
rightPanel.add(new URLLabel(LINK_TEXT, URI));
rightPanel.add(new JLabel("Version " + Launcher.CONSOLE_VERSION));
JPanel content = new JPanel(new BorderLayout());
content.add(leftPanel, BorderLayout.WEST);