Menu

#52 Specifying pixel settings from treeview applet

closed-out-of-date
nobody
None
5
2009-09-10
2009-04-07
Anonymous
No

Hello all,

I have created a webpage that makes use of the applet version of Java Treeview in order to display hierarchically clustered files (.cdt) which range from [-400, 200] in signal value. I need to specify and override the applications default Pixel Settings such that negative values are colored in red and positive values are colored in green. What is the appropriate tag or plugin for doing this?

Thanks,
K

Discussion

  • Alok Saldanha

    Alok Saldanha - 2009-04-08

    This is not really a bug, is it? I recommend that you open the file using the desktop version of java treeview, set the colors the way you want (using Settings->Display) and then close the file. This will create a ".jtv" file that contains your pixel settings. If you upload this file along with the ".cdt" file to your webserver, it should display with your pixel settings. You should be able to apply these color settings to other files just by renaming the ".jtv" file. The ".jtv" file is just XML inside, so it should be pretty easy to generate your own if you want to make them on the fly. There are a lot of tags you can leave out, so let me know if you're going to be generating them with a custom piece of software and I can send you a minimal ".jtv" that just sets the pixel colors/contrast. Please let me know if this works for you so I can mark this closed.

     
  • Alok Saldanha

    Alok Saldanha - 2009-09-10
    • status: open --> closed-out-of-date
     
  • Alok Saldanha

    Alok Saldanha - 2009-09-10

    assuming my answer was satisfactory.

     

Log in to post a comment.