sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/03: Enable change of input method in text editors.
Date Wed, 19 Aug 2020 10:36:17 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 57de59e988bc6df4ac55e1ec54c3ec5967cc0f74
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Tue Aug 18 12:09:13 2020 +0200

    Enable change of input method in text editors.
---
 .../sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java      | 5 +++++
 1 file changed, 5 insertions(+)

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 c8024d0..c8479d1 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
@@ -69,6 +69,11 @@ public class DataViewer extends Application {
      */
     public static void main(final String[] args) {
         LogHandler.register(true);
+        /*
+         * Following line seems necessary for enabling input method framework
+         * (tested on Java 14 and JavaFX 14).
+         */
+        java.awt.im.InputContext.getInstance();
         launch(args);
     }
 


Mime
View raw message