Bold, italics and underline buttons are not functional
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.
#1 Updated by Ryan McFall over 10 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)