Gerald Bauer | 1 Feb 04:10
Picon
Favicon

Thinlet Titan Interview Series Site Now Live


Hello,

  I've created a Thinlet Interview Series page for easy reference that
collects all the Q&As with Thinlet titans. The Thinlet titans
interviewed so far include: Dawid Weiss, Michael Nascimento Santos,
Andrzej Bialecki, Kate Rhodes & Wolf Paulus

  If you want to volunteer for an upcoming Thinet titan interview,
please let me know so we can arrange all the details.

  You can find the Thinlet Titan Interview Series page online @
http://thinlet-contrib.sourceforge.net/interviews.html

  Enjoy.

  - Gerald

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
Schuhmacher, Bret | 1 Feb 07:03

RE: Re: Popupmenus on MIDP?


Hmmmm, I was planning on invoking it via a command menu... I was going
to treat the left softbutton on the phone as a left click (i.e.
selection) and the right button as a right click.

Bret 

> -----Original Message-----
> From: Eric Ballet-Baz [mailto:eballetbaz <at> gmail.com] 
> Sent: Monday, January 31, 2005 12:42 PM
> To: thinlet <at> yahoogroups.com
> Subject: [thinlet] Re: Popupmenus on MIDP?
> 
> 
> 
> Hello,
> I think there is no popup menu in MIDP, because there is no 
> right click ! After looking at the code, it seems true ...
> 
> sorry
> 
> --- In thinlet <at> yahoogroups.com, "Schuhmacher, Bret" 
> <bret.schuhmacher <at> a...> wrote:
> > Anyone used a popup menu in a MIDP app?  I've tried putting my
> popupmenu
> > into a panel, a desktop and a dialog and I cannot get it appear
> when I
> > parse and add the xml file (the popup menu is defined separately
> from
> > the rest of my UI - I'm trying to add(parse("popup.xml")) on
(Continue reading)

stanberka | 1 Feb 08:39

initialize components before displaying them


Hi,
It's still my first app in thinlet.  Got stuck again.  I have a few
labels placed on a panel inside a Dialog.  Before, I display it, I
need to dynamically set the label texts.  I guess I could do it in the
handler's constructor, but are the components already available:

   add(parse("CustomerScreen.xml", new
CustomerScreenHandler(customerName)));

Or is there a simpler way to do it?

And, BTW, how do I display a Dialog?  FrameLauncher just like for a
Panel?

Stan Berka

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
Andrzej Bialecki | 1 Feb 12:43

RFC: radio button widgets


Hi,

Radio buttons (created with <checkbox group=".." ../> element) are 
probably the ugliest looking widgets in Thinlet. In my experience they 
never look right, because the circles are never quite circular, and due 
to integer approximation (no antialiasing) they always look messed up.

I have a working patch, which changes the way they are drawn, and is 
compatible both with the J2SE and MIDP versions.

In short, here's what I did (use fixed-width font to view it):
   ____
  /____\
/|    |\
||####||
||####||
\|____|/
  \____/

The outermost circle has been replaced with regular octagon. For small 
values of "block" (i.e. for normal base font sizes) this looks almost 
exactly like a regular circle. But, as I said, finally it's regular. For 
larger "block" values you notice the octagonal shape, but IMHO this just 
fits nicely in the overal rectangular look of Thinlet widgets.

The focus marker is a square, fitting in the octagon. This works well 
both for small and large "block" sizes, and gives the marker some free 
space (at least one pixel, except for the square corners). The square's 
corners touch the sides of the outermost octagon, which in the end gives 
(Continue reading)

Dawid Weiss | 1 Feb 12:44
Picon

Re: RFC: radio button widgets


+1, I agree with you -- the appearance of radio buttons is not right.

D.

Andrzej Bialecki wrote:
> Hi,
> 
> Radio buttons (created with <checkbox group=".." ../> element) are 
> probably the ugliest looking widgets in Thinlet. In my experience they 
> never look right, because the circles are never quite circular, and due 
> to integer approximation (no antialiasing) they always look messed up.
> 
> I have a working patch, which changes the way they are drawn, and is 
> compatible both with the J2SE and MIDP versions.
> 
> In short, here's what I did (use fixed-width font to view it):
>    ____
>   /____\
> /|    |\
> ||####||
> ||####||
> \|____|/
>   \____/
> 
> The outermost circle has been replaced with regular octagon. For small 
> values of "block" (i.e. for normal base font sizes) this looks almost 
> exactly like a regular circle. But, as I said, finally it's regular. For 
> larger "block" values you notice the octagonal shape, but IMHO this just 
> fits nicely in the overal rectangular look of Thinlet widgets.
(Continue reading)

Andrzej Bialecki | 1 Feb 13:01

Re: RFC: radio button widgets


>>In short, here's what I did (use fixed-width font to view it):
>>   ____
>>  /____\
>>/|    |\
>>||####||
>>||####||
>>\|____|/
>>  \____/

Ehhh, stupid Thunderbird... Now you see what I mean by "messed-up".

(shift to the left the top and the bottom lines to get the original 
picture).

--

-- 
Best regards,
Andrzej Bialecki
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
Joe Bowbeer | 1 Feb 14:24
Picon
Gravatar

Re: RFC: radio button widgets


Andrzej Bialecki wrote:
>
> Radio buttons (created with <checkbox group=".." ../> element) are
> probably the ugliest looking widgets in Thinlet. In my experience they
> never look right, because the circles are never quite circular, and due
> to integer approximation (no antialiasing) they always look messed up.
>

FWIW, I believe that most of the ugliness is due to one or more bugs
in the Java implementations.

Read it and weep:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4151279

That said, really small circles can get kind of pointy no matter how
they're rendered.

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
Andrzej Bialecki | 1 Feb 15:36

Re: RFC: radio button widgets


Joe Bowbeer wrote:
> FWIW, I believe that most of the ugliness is due to one or more bugs
> in the Java implementations.
> 
> Read it and weep:
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4151279

Ah, thanks for the link - I wasn't aware of that. Pathetic, indeed...

> That said, really small circles can get kind of pointy no matter how
> they're rendered.

...which is yet another reason to replace them with simpler shapes.

--

-- 
Best regards,
Andrzej Bialecki
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
Stephan H. Wissel | 1 Feb 18:06
Gravatar

Re: Difference between PDA and mobile phone


Hi Valter,

you might want to check your PDA's JVM. I had a mixed up installation
of J9 V2.1. There the Midlet Demo took 15sek to load. After
reinstalling J9 2.2 load time was < 1sek. Maybe you have a similar
problem?
Hth
:-) stw

--- In thinlet <at> yahoogroups.com, "valterzoccarato"
<valterzoccarato <at> y...> wrote:
> 
> Hello everybody,
> 
> I implemented an application using thinlet both for a phone than for 
> a PDA.
> I notice that the application on the PDA is more slow then the one on 
> the mobile phone!!
> Any suggestion??
> 
> Thanks
> 
> Valter

_________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com 
(Continue reading)

Robert Piotrowski | 1 Feb 21:14
Picon
Favicon

Re: initialize components before displaying them


Any time I need to display a dialog on top, I just
"add(parse('http://www.myhome.com/mydialog.xml'))" the xml to the desktop.

Your webserver can create the xml with the dynamic label text.  All
thinlet has to do is add(parse()) it to the desktop (or another
component).

I never used the parse(xml,handler) method.  I don't see a need for
it.  I thought all handlers are declared in the xml.

Robert

--- In thinlet <at> yahoogroups.com, "stanberka" <sberka <at> p...> wrote:
> 
> Hi,
> It's still my first app in thinlet.  Got stuck again.  I have a few
> labels placed on a panel inside a Dialog.  Before, I display it, I
> need to dynamically set the label texts.  I guess I could do it in the
> handler's constructor, but are the components already available:
> 
>    add(parse("CustomerScreen.xml", new
> CustomerScreenHandler(customerName)));
> 
> Or is there a simpler way to do it?
> 
> And, BTW, how do I display a Dialog?  FrameLauncher just like for a
> Panel?
> 
> Stan Berka
(Continue reading)


Gmane