It sounds like you have a proof that it doesn't work! :)

In all seriousness, the Icon Editor was written quite a while ago and was never really useful enough to be used, even when it did run.

I think a better long term solution is to integrate one of the many SVG-creating graphics tools into Vergil and to use
an open source SVG library to paint the icons on the screen. Unfortunately,
this is probably going to be alot of work. I have tried using XML-Batik for doing this, but it doesn't handle painting at arbitrary scaling terribly well: it is more oriented towards fixed-size image generation.


Currently you can rather easily replace the icon of an actor with a reference to a manually created gif image.
This is probably a much simpler approach at the moment.


Steve

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]



---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

Reply via email to