Argo Figimage
"Hai Aicheng (CM/ESW1-CN)" <[email protected]> Wed, 8 Aug 2012 15:08:54 +0800
| Newsgroups | gmane.comp.lang.uml.argouml.devel |
|---|---|
| Message-ID | <E1299ECC000B184687638F223D01042031E900A9DB__36157.5896888555$1346451564$gmane$org@SGPMBX05.APAC.bosch.com> |
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]]