console to show binary file date timestamp #6515

only: reducing confusion one byte at a time
This commit is contained in:
rusefillc 2024-05-22 13:05:05 -04:00
parent 84ca436052
commit f56249f116
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ public class StartupFrame {
private final JLabel noPortsMessage = new JLabel("Scanning ports...");
public StartupFrame() {
String title = "rusEFI console version " + Launcher.CONSOLE_VERSION;
String title = "rusEFI console " + Launcher.CONSOLE_VERSION;
log.info(title);
noPortsMessage.setForeground(Color.red);
frame = FrameHelper.createFrame(title).getFrame();
@ -208,7 +208,7 @@ public class StartupFrame {
if (logo != null)
rightPanel.add(logo);
rightPanel.add(LogoHelper.createUrlLabel());
rightPanel.add(new JLabel("Version " + Launcher.CONSOLE_VERSION));
rightPanel.add(new JLabel("Console " + Launcher.CONSOLE_VERSION));
JPanel content = new JPanel(new BorderLayout());
content.add(leftPanel, BorderLayout.WEST);
@ -229,7 +229,7 @@ public class StartupFrame {
private static @NotNull JLabel binaryModificationControl() {
long binaryModificationTimestamp = MaintenanceUtil.getBinaryModificationTimestamp();
String fileTimestampText = binaryModificationTimestamp == 0 ? "firmware file not found" : new Date(binaryModificationTimestamp).toString();
String fileTimestampText = binaryModificationTimestamp == 0 ? "firmware file not found" : ("Files " + new Date(binaryModificationTimestamp).toString());
return new JLabel(fileTimestampText);
}