javax.swing.text
public static class StyledEditorKit.FontSizeAction extends StyledEditorKit.StyledTextAction
Constructor Summary | |
---|---|
FontSizeAction(String nm, int size)
Creates a new instance of FontSizeAction to set the
font size to size .
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent event)
Performs the action.
|
FontSizeAction
to set the
font size to size
.
Parameters: nm the name of the Action size the font size to set
Parameters: event the ActionEvent
that describes the action