siddharth_chhabra | 1 Dec 02:36
Picon
Favicon

setMethod example


Does somebody have an example/snippet using a setMethod() for a button.

My thinlet xml is generated at runtime and has many buttons(each given
a runtime name like button1,button2,...) I was wondering if there was
a way if they could share the same 'action' attribute and thus have
the same method.
Obviously in this method I need to find 'the button' on which the
event was fired(i.e event source).
How do i go about achieving this ?
I was wondering if 'setMethod()' holds the key to this problem.

Any help/views would be appreciated.
thanks
-Siddharth

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Gerald Bauer | 1 Dec 03:03
Picon
Favicon

thinletplus.com - New Thinlet Addon Central Web Site Alias


Hello,

  Just to let you know that you can now also access the sourceforge
hosted Thinlet Addon Central site using the thinletplus.com web address.

  See http://thinletplus.com or http://thinlet-contrib.sourceforge.net
for details.

  - Gerald

-----------------------
Gerald Bauer
Rich Client Conference (RichCon) 2005 - http://richcon.com
XUL News Wire - http://xulnews.com
XUL Alliance - http://xulalliance.org
United XAML - http://unitedxaml.org

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
valterzoccarato | 2 Dec 12:22
Picon
Favicon

MIDP how to launch an application


Hi everybody,
I've developed an application for a Motorola E1000 phone using 
thinlet for MIDP. Now I don't know how to run an application when the 
user press the button.
In thinlet I have seen that the Method invoke is used, in the thinlet 
fopr MIDP an handle method is called but this method is empty (it 
just return true).
Could someone help me??

Regards

Valter Zoccarato

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
fanny28822000 | 2 Dec 18:06
Picon
Favicon

How can I set the foreground or background color to a textfield


Hello,
It is possible to set a color to a choice component.
But how can I set a color to a textfield?
I think it isnt' supported from Thinlet???
Does anybody know how to modify the thinlet code...

Thank you.

Stefanie

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Ian de Beer | 3 Dec 12:32

Re: Digest Number 164


Hi
You first do and add(Object component) call. The component is produced  
by a call to the parse method with your thinlet markup as source.  You  
can then  override the commandAction, handle, keyPressed,  keyRepeated  
methods to get the behaviour you want.
Ian
On 03 Dec 2004, at 2:33 AM, thinlet <at> yahoogroups.com wrote:

>
>
> There are 2 messages in this issue.
>
> Topics in this digest:
>
>       1. MIDP how to launch an application
>            From: "valterzoccarato" <valterzoccarato <at> yahoo.it>
>       2. How can I set the foreground or background color to a  
> textfield
>            From: "fanny28822000" <fanny28822000 <at> yahoo.de>
>
>
> _______________________________________________________________________ 
> _
> _______________________________________________________________________ 
> _
>
> Message: 1
>    Date: Thu, 02 Dec 2004 11:22:57 -0000
>    From: "valterzoccarato" <valterzoccarato <at> yahoo.it>
(Continue reading)

jacquesbonet | 3 Dec 18:53
Picon
Favicon

Thinlet internationalization


Hello,

There is two methods to do internationalization in Thinlet.
The first is well explained, in using the method setResourceBundle() 
and changing the text to translate by something like i18n.yes, 
i18n.no.

The second method is less explained.
Is it possible to have more info about this second method to do 
internationalization?

Regards.

Jacques

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
nech_neb | 5 Dec 20:57
Picon
Favicon

setKeystroke


I'm not sure how to use setKeystroke method.
Can some one post some examles ??

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
palmadias | 6 Dec 14:18
Picon
Favicon

How can I get AWT component


Hi. I need to get the AWT component, for example:

java.awt.Component popupPanel = (java.awt.Component)thin.find
("popup");

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Picon
Favicon

Re: How can I get AWT component


I am needing to get an thinlet widget, for exemplo a panel, and parse it in
java.awt.Window. Does someone knows a way to do this? I tried to use the
method Thinlet.getComponent, but I did not understand how this method work.

Tks.

----- Original Message ----- 
From: "palmadias" <palmadias <at> yahoo.com.br>
To: <thinlet <at> yahoogroups.com>
Sent: Monday, December 06, 2004 10:18 AM
Subject: [thinlet] How can I get AWT component

>
>
> Hi. I need to get the AWT component, for example:
>
> java.awt.Component popupPanel = (java.awt.Component)thin.find
> ("popup");
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
(Continue reading)

valterzoccarato | 10 Dec 11:52
Picon
Favicon

menubar, menuitem and menu in midp!!!!


Hello everybody!

I have produced an interface on a mobile phone (using midp) but I 
cannot give focus to menu with the "Next" button.
Suggestions??

Best regards

Valter Zoccarato

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 

Gmane