By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,538 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,538 IT Pros & Developers. It's quick & easy.

How can I display fraction and other math constructions in a JTextComponent?

P: n/a
I have a JTextComponent - lets say a JTextPane - and want to display some
text and fractions - for example 2/3. How can I do this? The only way for me
was to insert a JComponent which represents the whole fraction. But so I
cannot edit the fraction...

Which class should I extend from? And which method overwrite?

Any hints???
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
to be more precise:

I just want to display two numbers - one above and the other under a
horizontal line. Example:

- = 0.5
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.