Hello All,
I have one class extends JEditorPane Whose constructor contains code as bellow :
super("text/plain","Hello");
setEditable(false);
Font ft=new Font("Bold Arial",Font.ITALIC,new JEditorPane().getFont().getSize());
setFont(ft);
setForeground(Color.BLUE);
I just want to have an underline to the text.
But without using HTML tags..
can it be possible with Font Class ??? If yes , How???
Thanks in advance
Suyog