| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.util | Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array). | 
| javax.management.openmbean | Provides the open data types and Open MBean descriptor classes. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AWTKeyStroke  | AWTKeyStroke. getAWTKeyStroke (Character keyChar,
 int modifiers)Returns a shared instance of an  AWTKeyStrokethat represents aKEY_TYPEDevent for the
 specified Character object and a set of modifiers. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Class<Character> | Character. TYPE The  Classinstance representing the primitive typechar. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Character  | Character. valueOf (char c)Returns a Character instance representing the specified
 char value. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | Character. compareTo (Character anotherCharacter)Compares two  Characterobjects numerically. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<Character> | Locale. getExtensionKeys ()Returns the set of extension keys associated with this locale, or the
 empty set if it has no extensions. | 
| Modifier and Type | Field and Description | 
|---|---|
| static SimpleType<Character> | SimpleType. CHARACTER The  SimpleTypeinstance describing values whose
 Java class name isjava.lang.Character. | 
| Modifier and Type | Method and Description | 
|---|---|
| static KeyStroke  | KeyStroke. getKeyStroke (Character keyChar,
 int modifiers)Returns a shared instance of a  KeyStrokethat represents aKEY_TYPEDevent for the
 specified Character object and a
 set of modifiers. | 
 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, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.