|
|
@ -116,7 +116,7 @@ public class Main extends Application {
|
|
|
|
timeThread.start();
|
|
|
|
timeThread.start();
|
|
|
|
return statusBar;
|
|
|
|
return statusBar;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
private String getCurrentTime() {//实时时间
|
|
|
|
private String getCurrentTime() {//实时时间。
|
|
|
|
return java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
|
|
return java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
private MenuBar createMenuBar() {
|
|
|
|
private MenuBar createMenuBar() {
|
|
|
|