## Uses of Class
java.awt.im.InputContext

- Packages that use InputContext
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.im | Provides classes and interfaces for the input method framework.

- - ### Uses of InputContext in java.awt

    Methods in java.awt that return InputContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `InputContext` | Component.`getInputContext()` Gets the input context used by this component for handling the communication with input methods when text is entered in this component.
    `InputContext` | Window.`getInputContext()` Gets the input context for this window.

  - ### Uses of InputContext in java.awt.im

    Methods in java.awt.im that return InputContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `static InputContext` | InputContext.`getInstance()` Returns a new InputContext instance.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.