Is there anyway to use superscript and subscript with a JLabel combining bold , italic etc. I do not wish to use HTML because the JLabel is in a cell in a Jtable and the user sees the text when he/she edits it.
What is the best approach? The JTable is used for a user to add , edit data that will be used in a catalouge. Every cell can
As for your editor, how do you imagine entering superscripts and supscripts? As a first approximation I would just edit the raw markup, I mean if your users are untrained, anything else is at least as complex.
There is no emoticon for what I am feeling!
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 367
posted
0
The users don't know HTML. I must see to that the input isn't wrong because I must parse the html tags and replace the tags against other tags. The result is a txt file with data marked up without <html><body> etc.
Do you think the JFrame will be heavy if every cell is a JTextPane?