How to display fraction JTextComponent?

From: Daniel Forster (trx_at_zhwin.ch)
Date: 06/02/04

  • Next message: Muzaffer Dogru: "store image"
    Date: Wed, 2 Jun 2004 00:16:58 +0100
    
    

    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???


  • Next message: Muzaffer Dogru: "store image"