Hi Chris,

The server side ULC App runs in a headless environment so you can't uses any
Swing/Awt classes that can not run in a headless environment.

Additionally, you can construct ULC's color as Color(int r, int g, int b,
int a) and you can create various Borders (as in Swing/Awt) with ULC's
BorderFactory.

For buffered image, I have already replied earlier:
http://lists.canoo.com/mailman/private/ulc-developer/2007/005627.html.

Thanks and regards,

Janak

>-----Original Message-----
>From: chris idr [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 05, 2007 10:12 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [ULC-developer] awt in ulc
>
>
>janak,
>
>i have a product that already uses swing widgets,
>but i have it setup so i store most data seperate, and then read this
>data to create the swing widget,
>
>i am trying to set it up so i can replace the swing widgets with ULC
>widgets, from the seperate data,
>for complex reasons i have to use buffered image and awt.Color to setup
>some fields,
>
>(ie. color as i can define in either float (0-1) or int (0-255),
>
>so i have the colors, borders etc stored in seperate data, and can
>convert them to use ULC widgets and types,
>
>but im not sure if i can use awt. anything inside a canoo client or server?
>
>chris
>
>
>Janak Mulani wrote:
>> Hi Chris,
>>
>> ULC itself offers classes like Color, Border and ULCIcon which
>can be used
>> on the server side.
>>
>> Why is this not sufficient for you?
>>
>> Please explain your requirement in more detail.
>>
>> Thanks and regards,
>>
>> Janak
>>
>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of chris idr
>>> Sent: Wednesday, December 05, 2007 8:32 PM
>>> To: [email protected]
>>> Subject: Re: [ULC-developer] awt in ulc
>>>
>>>
>>> janak,
>>>
>>> i have awt elements like,
>>> color, Border, and Images
>>>
>>> but want to use them in ULC components,
>>>
>>> i know ULC takes different types, but i can convert them correctly, but
>>> im not sure if i can reference and use awt classes inside ULC
>>> implementations?
>>>
>>> does that make sense.
>>>
>>> regards
>>>
>>> chris
>>>
>>>
>>> Janak Mulani wrote:
>>>
>>>> Hi Chris,
>>>>
>>>> By extending a ULC Widget (see ULC Extension Guide), you can access the
>>>> underlying Swing/Awt object from the client side proxy of the widget.
>>>>
>>>> Can you please explain your requirement?
>>>>
>>>> Thanks and regards,
>>>>
>>>> Janak
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: [EMAIL PROTECTED]
>>>>> [mailto:[EMAIL PROTECTED] Behalf Of chris idr
>>>>> Sent: Saturday, December 01, 2007 12:45 AM
>>>>> To: [email protected]
>>>>> Subject: [ULC-developer] awt in ulc
>>>>>
>>>>>
>>>>> hi all,
>>>>>
>>>>> i just wanted to ask if you can access awt within a ULC canoo client
>>>>> operation?
>>>>>
>>>>> chris
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ULC-developer mailing list
>>>>> [email protected]
>>>>> http://lists.canoo.com/mailman/listinfo/ulc-developer
>>>>>
>>>>>
>>>> _______________________________________________
>>>> ULC-developer mailing list
>>>> [email protected]
>>>> http://lists.canoo.com/mailman/listinfo/ulc-developer
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> ULC-developer mailing list
>>> [email protected]
>>> http://lists.canoo.com/mailman/listinfo/ulc-developer
>>>
>>
>> _______________________________________________
>> ULC-developer mailing list
>> [email protected]
>> http://lists.canoo.com/mailman/listinfo/ulc-developer
>>
>>
>>

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to