Just do
new ULCIcon(getClass().getResource("imagename.png"))
On Di, 2007-10-09 at 16:15 +0100, chris idr wrote:
> how do you create ULCIcons,
> i have looked at the demo, which has a method getIcon("location") but it
> does not define the method.
>
> and the only options in the ULCIcon are URL and byte[]
> I currently have a bufferedImage, and would like to add it as the image
> of the icon, can someplease help me in doing this.
>
> also, i have a location rectangle which i want each component to be in,
> but i cant figure out how to set this location for ULCComponents, please
> help?
>
> cheers
>
> chris
>
>
> _______________________________________________
> ULC-developer mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/ulc-developer
>
--
Mit freundlichen Grüßen/Kind Regards,
Christoph Brill
Telefon 0261/50086-18
Telefax 0261/50086-29
E-Mail: [EMAIL PROTECTED]
http://www.huebinet.de
HUEBINET Informationsmanagement GmbH & Co. KG
Maria Trost 23
56070 Koblenz
Sitz und Registergericht: Koblenz HRA 5329
Persönlich haftender Gesellschafter der KG: HUEBINET GmbH
Sitz und Registergericht: Koblenz HRB 6857
Geschäftsführung: Frank Hüttmann; Michael Biemer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer