I just wanted a code where I can display partial text and the remaining text by the tool tip using 'JTextPane'.
Eg: If text is 'Java is re useable'. I want it to display 'Java is ...' Then I want to add a tooltip to display the rest of the data.
Please do let me know how it is done.
Thanks.