Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • united0wnage: holy shit this place is still here?
      January 25, 2021, 06:21:53 PM
    • thewraith500: check out autoscape.org custom osrs server! inferno hydra konar
      January 22, 2021, 04:02:52 PM
    • jennipher11: better play dodian.net
      January 21, 2021, 02:53:53 PM
    • Project_Czar: Yes @Zymus..
      January 21, 2021, 04:49:17 AM
    • Zymus: Are you the programmer?
      January 20, 2021, 05:04:26 PM
    • Project_Czar: FizzerX - Allstar server is now ONLINE!
      January 20, 2021, 06:46:51 AM
    • Mazeingmaze: sick
      January 12, 2021, 08:56:35 PM
    • jennipher11: dodian.net
      January 11, 2021, 02:12:23 PM
    • jennipher11: yes it's back online
      January 11, 2021, 02:12:04 PM
    • arham 4: nice
      January 10, 2021, 04:43:09 PM
    • Togasa: Dodian is back online!? Dodian.net
      January 08, 2021, 10:04:21 PM
    • Pwnd: Y'all don't even know there's a community inside talk section
      January 06, 2021, 07:49:05 PM
    • drubrkletern: damn
      January 06, 2021, 01:04:50 AM
    • Zymus: Nobody cares
      January 04, 2021, 06:39:43 AM
    • wildskiller: or does no one give a shit about moparscape anymore?
      January 03, 2021, 09:24:08 PM
    • wildskiller: So, anyone gonna ban the guy in Server and Client development showoff?
      January 03, 2021, 09:24:00 PM
    • zachrida: wheres all my work?
      December 08, 2020, 09:50:22 AM
    • zachrida: what happend?
      December 08, 2020, 09:49:53 AM
    • zachrida: yo
      December 08, 2020, 09:49:36 AM
    • Shady Aftermath: try out skyfire317.com it has 5 custom skills, max level 168 and combat level 255
      December 07, 2020, 12:55:12 PM

    Show Posts

    This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


    Topics - Bowser jr

    Pages: [1]
    1
    I wish to use the <ruby> tag in some kind of Java text field/pane/box.
    I tried this:
    Code: Scala
    1. var panel =new JTextPane();
    2. panel.setContentType("text/html");
    3. panel.setText("""<ruby>??<rp>(</rp><rt>???</rt><rp>)</rp></ruby>""")
    (I'm doing this is scala, but that doesn't matter as it is a Java class I'm using).

    This doesn't work, JTextPane doesn't render it properly at all. Searching for anything on Google doesn't give me much either as Google thinks I want information on the programming language Ruby. So does anyone know how to fix this or any other way of rendering HTML in java that supports this tag?

    EDIT: Using JavaFX fixed the problem.

    Pages: [1]
    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal