Results 1 to 2 of 2
  1. #1
    lumpy is offline Member
    Join Date
    Feb 2010
    Posts
    5
    Rep Power
    0

    Default Display Pinyin WITH tones in Java

    Hi,

    I would like to display pinyin WITH the tones on some Java components such as JLabel or JButton.

    I tried the package "Pinyin4j" from SourceForge but it doesn't really work, it gives me some weird errors.

    So I would like to know if someone knows a good way to display pinyin in java ?

    Thanks for your help!

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,762
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by lumpy View Post
    Hi,

    I would like to display pinyin WITH the tones on some Java components such as JLabel or JButton.

    I tried the package "Pinyin4j" from SourceForge but it doesn't really work, it gives me some weird errors.

    So I would like to know if someone knows a good way to display pinyin in java ?

    Thanks for your help!
    Did you use a font that is capable of rendering pinyin (with tones)? afaik the 'Arial Unicode MS' font can do it.

    kind regards,

    Jos

Similar Threads

  1. display bar graph with the help of java applet
    By ras_pari in forum Java Applets
    Replies: 1
    Last Post: 12-15-2009, 02:18 PM
  2. how can I display more then one Java Graph
    By santana in forum New To Java
    Replies: 2
    Last Post: 10-29-2009, 11:22 AM
  3. Replies: 8
    Last Post: 12-29-2008, 08:12 AM
  4. Display Screecast in Java Stand Alone App?
    By JimCrowell@EMail.com in forum AWT / Swing
    Replies: 0
    Last Post: 08-05-2008, 04:15 PM
  5. Replies: 0
    Last Post: 06-28-2008, 10:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •