Another alternative that I've seen (thanks Efrat!) was a little bit of SVG embedded right in the Java code. So one can at least create the SVG externally, then put it in somehow.
Don't know if that helps. If it does, Efrat could send the code snippet. Bertram >>>>> "SAN" == Stephen Andrew Neuendorffer <[EMAIL PROTECTED]> writes: SAN> SAN> It sounds like you have a proof that it doesn't work! :) SAN> In all seriousness, the Icon Editor was written quite a while ago and was SAN> never really useful enough to be used, even when it did run. SAN> SAN> I think a better long term solution is to integrate one of the many SAN> SVG-creating graphics tools into Vergil and to use SAN> an open source SVG library to paint the icons on the screen. Unfortunately, SAN> this is probably going to be alot of work. I have tried using XML-Batik SAN> for doing this, but it doesn't handle painting at arbitrary scaling SAN> terribly well: it is more oriented towards fixed-size image generation. SAN> SAN> Currently you can rather easily replace the icon of an actor with a SAN> reference to a manually created gif image. SAN> This is probably a much simpler approach at the moment. SAN> SAN> Steve SAN> SAN> At 01:37 PM 9/23/2003 -0700, Chad Berkley wrote: >> Hi, >> >> I read in the release notes of Ptolemy II 3.0.2 that the icon editor is >> not yet integrated, but I was was wondering if this also means that it >> does not work. I've tried to run ptolemy.vergil.icon.IconEditor and it >> throws a NullPointerException around line 239 of IconEditor. I followed >> up on the exception and it appears that there is a null PaintedList object >> being created around line 271 in IconEditorPane.java. I can't figure out >> where this exception is coming from (I think it's an object in Diva) but I >> was wondering if this is a known problem or if I'm doing something >> wrong. Should the iconEditor execute properly or is it a work-in-progress? >> >> thanks, >> chad >> >> -- >> ----------------------- >> Chad Berkley >> National Center for >> Ecological Analysis >> and Synthesis (NCEAS) >> [EMAIL PROTECTED] >> ----------------------- >> >> >> ---------------------------------------------------------------------------- >> Posted to the ptolemy-hackers mailing list. Please send administrative >> mail for this list to: [EMAIL PROTECTED] SAN> SAN> SAN> SAN> ---------------------------------------------------------------------------- SAN> Posted to the ptolemy-hackers mailing list. Please send administrative SAN> mail for this list to: [EMAIL PROTECTED] ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]