GATE
Version 3.1-2270

Package guk

This package is used to add Unicode handling capabilities (the ability to accept input in any of the supported languages) to any Java application.

See:
          Description

Class Summary
Editor A simple text editor included here to demonstrate the capabilities of the GUK package.
Editor_AboutBox  
MenuLayout A layout designed to allow Java menus to make better use of the screen real-estate.
 

Package guk Description

This package is used to add Unicode handling capabilities (the ability to accept input in any of the supported languages) to any Java application. It has been first designed as part of the GATE 2 project and the name GUK stands for "Gate Unicode Kit". GUK does not depend on any GATE classes and can be used independently of GATE as a separate library.

The Editor class provides a simple Unicode enabled text editor.

Installing GUK

GUK needs to be installed as an instaled JVM extension (a jar in the <path to jdk>/jre/lib/ext directory).

Handling input

The user (programmer in this case) doesn't need to do anything special to take advantage of the Gate input method which allows Unicode input. All that is needed is proper installation of the package as an "Installed JVM extension". (see installation above). When GUK is properly installed any Java application run in that JVM should have an additional sub-menu in the system menu (the one started by clicking the application's icon, usually in the top left corner of the window) saying "Select Input Method". The functionality of the Gate Input Method is available through that menu. The only useful option that is only available through and API is the choice of displaying or not the virtual keyboard map (see GateIM.setMapVisible(boolean)).


GATE
Version 3.1-2270