showing fixed width font in SWT

Discussion in 'Java' started by Mars Lin, Aug 14, 2006.

  1. Mars Lin

    Mars Lin Guest

    I am using SWT and I am wondering how can I show font in the fixed
    width size. Right now I am showing the font in Text object but the
    characters are showing in different width. Can I set each character has
    the same width? Thanks in advance if who is knowing the answer
    Mars Lin, Aug 14, 2006
    #1
    1. Advertising

  2. Mars Lin

    fiziwig Guest

    Mars Lin wrote:
    > I am using SWT and I am wondering how can I show font in the fixed
    > width size. Right now I am showing the font in Text object but the
    > characters are showing in different width. Can I set each character has
    > the same width? Thanks in advance if who is knowing the answer


    JComponent.setFont(...);
    --gary
    fiziwig, Aug 14, 2006
    #2
    1. Advertising

  3. Mars Lin

    fiziwig Guest

    fiziwig wrote:

    > JComponent.setFont(...);
    > --gary


    OOPS. Misread the question. Ignore that answer
    --gary
    fiziwig, Aug 14, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Arthur Connor
    Replies:
    9
    Views:
    600
  2. johnp
    Replies:
    4
    Views:
    3,657
    Toby Inkster
    May 23, 2005
  3. Dustan

    Fixed Width Font in Tkinter

    Dustan, Dec 7, 2005, in forum: Python
    Replies:
    1
    Views:
    330
    Dustan
    Dec 7, 2005
  4. Ramon F Herrera

    Where can I download SWT? (SWT homepage)

    Ramon F Herrera, Dec 5, 2007, in forum: Java
    Replies:
    11
    Views:
    4,016
    Ramon F Herrera
    Dec 6, 2007
  5. mttc
    Replies:
    2
    Views:
    2,371
    Roedy Green
    Jul 3, 2009
Loading...

Share This Page