mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2025-04-28 02:57:22 +00:00
Update Splash.java
Remove word Core from splash screen
This commit is contained in:
parent
bb7888ff33
commit
c72d1346ed
@ -49,6 +49,7 @@ import javax.swing.border.EmptyBorder;
|
|||||||
|
|
||||||
import PamController.PamController;
|
import PamController.PamController;
|
||||||
import PamController.PamguardVersionInfo;
|
import PamController.PamguardVersionInfo;
|
||||||
|
import PamController.PamguardVersionInfo.ReleaseType;
|
||||||
import PamUtils.PlatformInfo.OSType;
|
import PamUtils.PlatformInfo.OSType;
|
||||||
import pamguard.Pamguard;
|
import pamguard.Pamguard;
|
||||||
|
|
||||||
@ -163,11 +164,15 @@ public class Splash extends JWindow implements Runnable {
|
|||||||
else if (runMode == PamController.RUN_PAMVIEW) {
|
else if (runMode == PamController.RUN_PAMVIEW) {
|
||||||
modeText = "Viewer";
|
modeText = "Viewer";
|
||||||
}
|
}
|
||||||
|
String typeText = " " + PamguardVersionInfo.getReleaseType().toString();
|
||||||
|
if (PamguardVersionInfo.getReleaseType() == ReleaseType.CORE) {
|
||||||
|
typeText = "";
|
||||||
|
}
|
||||||
if (modeText != null) {
|
if (modeText != null) {
|
||||||
version = modeText + " " + PamguardVersionInfo.version + " " + PamguardVersionInfo.getReleaseType().toString();
|
version = modeText + " " + PamguardVersionInfo.version + typeText;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
version = "Version " + PamguardVersionInfo.version + " " + PamguardVersionInfo.getReleaseType().toString();
|
version = "Version " + PamguardVersionInfo.version + typeText;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get image graphics handle.
|
// get image graphics handle.
|
||||||
|
Loading…
Reference in New Issue
Block a user