You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2020/08/19 10:36:17 UTC

[sis] 01/03: Enable change of input method in text editors.

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 <ma...@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);
     }