Actions
Bug #3745
closedBold, italics and underline buttons are not functional
Start date:
01/13/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
3745
Description
The buttons to make text bold, underlined and italicized do not function.
The JEditorPane class has a method that can be used to apply the bold action to the selected text; note that when we move from one JEditorPane to another, however, we need to update the action associated with the toolbar button/menu to be the right one.
There should also be standard keyboard short-cuts associated with these buttons.
Related issues
Updated by Ryan McFall almost 16 years ago
Completed through use of StyledEditorKit actions; it turns out that the BoldAction class will work on the currently active JTextComponent object, so this was easier than first thought (although a bug in some prior code made it much harder than it should have been)
Actions