Hello all,
I have a JEditorPane and i wish to increase the font size of the html content that it holds so far i am at this point and it doesn't seem to work:
HTMLEditorKit size = new HTMLEditorKit();
String bigger = size.FONT_CHANGE_BIGGER;
displayEditorPane.setEditorKit(size);
displayEditorPane.setEditorKitForContentType(bigger, size);
What is wrong with the above?
Is there any other way i can increase font size?
All help will be appreciated. Thank you. :)