Hi ,
   When I set the image in “FigSimpleState” through URL, it does not work.
   The way is as follows:
            URL viewUrl = null;
          try {
            viewUrl = new URL("file:///F:/test_image/test.png");
          } catch (MalformedURLException e) {
             TODO: Auto-generated catch block
             LOG.error("Exception", e);
          }
         image = new FigImage(
              getInitialX(),
              getInitialY() + 2 + getNameFig().getBounds().height + 1,
              69,
              40 - getInitialY() + 2 + getNameFig().getBounds().height + 1,
              viewUrl);
           addFig(image);

   but when i use the interface  “FigImage(int x, int y,int w,int h,Image 
img)“, it works well.
Does not argo support set image through URL??
Waitting for your response, thanks!!

Best regards / Mit freundlichen Grüßen
Aicheng Hai  海爱成
Tel.: +86 0512 6767 7562
Fax: +86 0512 6762 1200

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2997307

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to