mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2025-04-27 18:48:38 +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.PamguardVersionInfo;
|
||||
import PamController.PamguardVersionInfo.ReleaseType;
|
||||
import PamUtils.PlatformInfo.OSType;
|
||||
import pamguard.Pamguard;
|
||||
|
||||
@ -163,11 +164,15 @@ public class Splash extends JWindow implements Runnable {
|
||||
else if (runMode == PamController.RUN_PAMVIEW) {
|
||||
modeText = "Viewer";
|
||||
}
|
||||
String typeText = " " + PamguardVersionInfo.getReleaseType().toString();
|
||||
if (PamguardVersionInfo.getReleaseType() == ReleaseType.CORE) {
|
||||
typeText = "";
|
||||
}
|
||||
if (modeText != null) {
|
||||
version = modeText + " " + PamguardVersionInfo.version + " " + PamguardVersionInfo.getReleaseType().toString();
|
||||
version = modeText + " " + PamguardVersionInfo.version + typeText;
|
||||
}
|
||||
else {
|
||||
version = "Version " + PamguardVersionInfo.version + " " + PamguardVersionInfo.getReleaseType().toString();
|
||||
version = "Version " + PamguardVersionInfo.version + typeText;
|
||||
}
|
||||
|
||||
// get image graphics handle.
|
||||
|
Loading…
Reference in New Issue
Block a user