sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/03: Clarification in comment.
Date Wed, 26 Aug 2020 12:59:58 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 9ddcb3319535d1ab5f7e3d186cdfb1cb25d1b425
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sun Aug 23 14:46:20 2020 +0200

    Clarification in comment.
---
 .../sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java
index a9ad25b..1d92550 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java
@@ -183,7 +183,9 @@ public class DataViewer extends Application {
         window.setHeight(0.75 * bounds.getHeight());
         window.show();
         /*
-         * Hide splash screen after the main window became visible.
+         * Hide splash screen when the application it ready to show. Despite above call to
`window.show()`,
+         * the window will become really visible only after this method returned. Consequently
the splash
+         * screen will be hidden before the main window become visible.
          */
         final SplashScreen sp = SplashScreen.getSplashScreen();
         if (sp != null) {


Mime
View raw message