| Package | Description | 
|---|---|
| javax.swing.plaf.basic | Provides user interface objects built according to the
Basic look and feel. | 
| javax.swing.plaf.metal | Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel. | 
| javax.swing.text | Provides classes and interfaces that deal with editable
and noneditable text components. | 
| javax.swing.text.html | Provides the class  HTMLEditorKitand supporting classes
for creating HTML text editors. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | BasicDesktopPaneUI.CloseActionHandles closing an internal frame. | 
| protected class  | BasicDesktopPaneUI.MaximizeActionHandles maximizing an internal frame. | 
| protected class  | BasicDesktopPaneUI.MinimizeActionHandles minimizing an internal frame. | 
| protected class  | BasicDesktopPaneUI.NavigateActionHandles navigating to the next internal frame. | 
| protected class  | BasicDesktopPaneUI.OpenActionHandles restoring a minimized or maximized internal frame. | 
| protected class  | BasicFileChooserUI.ApproveSelectionActionResponds to an Open or Save request | 
| protected class  | BasicFileChooserUI.CancelSelectionActionResponds to a cancel request. | 
| protected class  | BasicFileChooserUI.ChangeToParentDirectoryAction | 
| protected class  | BasicFileChooserUI.GoHomeActionActs on the "home" key event or equivalent event. | 
| protected class  | BasicFileChooserUI.NewFolderActionCreates a new folder. | 
| protected class  | BasicFileChooserUI.UpdateActionRescans the files in the current directory | 
| class  | BasicInternalFrameTitlePane.CloseActionThis class should be treated as a "protected" inner class. | 
| class  | BasicInternalFrameTitlePane.IconifyActionThis class should be treated as a "protected" inner class. | 
| class  | BasicInternalFrameTitlePane.MaximizeActionThis class should be treated as a "protected" inner class. | 
| class  | BasicInternalFrameTitlePane.MoveActionThis class should be treated as a "protected" inner class. | 
| class  | BasicInternalFrameTitlePane.RestoreActionThis class should be treated as a "protected" inner class. | 
| class  | BasicInternalFrameTitlePane.SizeActionThis class should be treated as a "protected" inner class. | 
| class  | BasicSliderUI.ActionScrollerAs of Java 2 platform v1.3 this undocumented class is no longer used. | 
| class  | BasicTreeUI.TreeCancelEditingActionActionListener that invokes cancelEditing when action performed. | 
| class  | BasicTreeUI.TreeHomeActionTreeHomeAction is used to handle end/home actions. | 
| class  | BasicTreeUI.TreeIncrementActionTreeIncrementAction is used to handle up/down actions. | 
| class  | BasicTreeUI.TreePageActionTreePageAction handles page up and page down events. | 
| class  | BasicTreeUI.TreeToggleActionFor the first selected row expandedness will be toggled. | 
| class  | BasicTreeUI.TreeTraverseActionTreeTraverseActionis the action used for left/right keys. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | MetalFileChooserUI.DirectoryComboBoxActionActs when DirectoryComboBox has changed the selected item. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DefaultEditorKit.BeepActionCreates a beep. | 
| static class  | DefaultEditorKit.CopyActionCopies the selected region and place its contents
 into the system clipboard. | 
| static class  | DefaultEditorKit.CutActionCuts the selected region and place its contents
 into the system clipboard. | 
| static class  | DefaultEditorKit.DefaultKeyTypedActionThe action that is executed by default if
 a key typed event is received and there
 is no keymap entry. | 
| static class  | DefaultEditorKit.InsertBreakActionPlaces a line/paragraph break into the document. | 
| static class  | DefaultEditorKit.InsertContentActionPlaces content into the associated document. | 
| static class  | DefaultEditorKit.InsertTabActionPlaces a tab character into the document. | 
| static class  | DefaultEditorKit.PasteActionPastes the contents of the system clipboard into the
 selected region, or before the caret if nothing is
 selected. | 
| static class  | StyledEditorKit.AlignmentActionAn action to set paragraph alignment. | 
| static class  | StyledEditorKit.BoldActionAn action to toggle the bold attribute. | 
| static class  | StyledEditorKit.FontFamilyActionAn action to set the font family in the associated
 JEditorPane. | 
| static class  | StyledEditorKit.FontSizeActionAn action to set the font size in the associated
 JEditorPane. | 
| static class  | StyledEditorKit.ForegroundActionAn action to set foreground color. | 
| static class  | StyledEditorKit.ItalicActionAn action to toggle the italic attribute. | 
| static class  | StyledEditorKit.StyledTextActionAn action that assumes it's being fired on a JEditorPane
 with a StyledEditorKit (or subclass) installed. | 
| static class  | StyledEditorKit.UnderlineActionAn action to toggle the underline attribute. | 
| class  | TextActionAn Action implementation useful for key bindings that are
 shared across a number of different text components. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | HTMLEditorKit.HTMLTextActionAn abstract Action providing some convenience methods that may
 be useful in inserting HTML into an existing document. | 
| static class  | HTMLEditorKit.InsertHTMLTextActionInsertHTMLTextAction can be used to insert an arbitrary string of HTML
 into an existing HTML document. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.