Problem/Bug [Swing] Format incoming JSON query with color code support

Discussion in 'General Help' started by Dudemister1999, May 31, 2015.

Thread Status:
Not open for further replies.
  1. Offline


    Good afternoon, Bukkit forums! It's been a while, I miss you.

    I've got a JTextArea, and I need to format a deconstructed JSON packet to accept ยง[0-9a-fk-or] (Bukkit color codes) for my remote app, PRISM.

    Currently, output looks like this:

    Here is my code for formatting ('Borrowed' from RemoteBukkit until I can figure out the real solution)
    My logic for why this code isn't working is because these are ANSI escape characters (Thanks, Google <3)

    (I don't put code in here anymore because it ruins the formatting)

    I also need a way to fix the missing arrow brackets. I've heard it has something to do with converting it to an HTML tag, but that might just be my mind playing games.

    Thank you!
    -Alex (Hydroxocobalamin)
  2. Offline


    Hate to do it, but I'm going to make like a shoddy hair product and bump it.
  3. Offline


    One more bump, I promise. :'(
Thread Status:
Not open for further replies.

Share This Page