asitecnologia | 1 Sep 17:15
Picon

Re: J9 problems?

Thank you for answering. It is more or less clear, at least clear 
enough to see that it works perfectly now thanks.

However I have a doubt: how affects this changes to Thinlet's 
licence? Is it possible to distribute the final product for 
commercial purposes having managed Thinlet.java? do you have 
the "legal authority" to make changes and the resulting source still 
be considered inside Thinlet's Licence?

I could not see the modifications you tell me at cvs repository 
(http://cvs.sourceforge.net/viewcvs.py/thinlet/thinlet/src/java/thinle
t/Thinlet.java?rev=1.13&view=log) is it because the are exclusive 
changes for J9/PoketPC?

regards.

--- In thinlet <at> yahoogroups.com, "Gerald Bauer" <vamp201 <at> y...> wrote:
> Hello,
> 
>   Dawid Weiss told me to forward the message about J9 problems to 
the
> Thinlet list that somehow ended up in my private inbox. Here we go:
> 
> Dear All,
> 
> Out of curiousity I tried to pin down this problem and I even 
managed 
> to get Thinlet work... so here's what I discovered:
> 
> The AWT on IBM J9/PocketPC sends a different order of events than 
(Continue reading)

Dawid Weiss | 10 Sep 03:39
Picon

Re: Re: J9 problems?


A bit late due to vacation, but I am here to respond:

> Thank you for answering. It is more or less clear, at least clear 
> enough to see that it works perfectly now thanks.

It doesn't work _perfectly_, but at least it is workable (I have some 
issues with a 'busy' prompt being displayed on PocketPC when attempting 
to drag a dialog window -- must be something with event management, but 
didn't have time to investigate).

> However I have a doubt: how affects this changes to Thinlet's 
> licence? Is it possible to distribute the final product for 
> commercial purposes having managed Thinlet.java? do you have 
> the "legal authority" to make changes and the resulting source still 
> be considered inside Thinlet's Licence?

I think LGPL allows you to redistribute the code in a final product. You 
should just state that you're using an altered version of Thinlet, most 
likely giving the CVS checkout date or tag and a diff to what you have 
altered (LGPL requires that you publish changes you made to the core 
library, so you do by providing a diff :).

> I could not see the modifications you tell me at cvs repository 
> (http://cvs.sourceforge.net/viewcvs.py/thinlet/thinlet/src/java/thinle
> t/Thinlet.java?rev=1.13&view=log) is it because the are exclusive 
> changes for J9/PoketPC?

I posted them to the newslist, but they are rather a hack than a patch. 
I only wanted to provide the Thinlet community with information why 
(Continue reading)

aignashk | 12 Sep 00:34

Re: J9 problems?

I have noticed a few other issues running the Thinlet Demo on
J9/Pocket PC. 

1. 
Some UI operations are quite slow ( for example switching between
tabs or between top level menu items). I noticed that Thinlet uses
some explicit delays in certain event handlers. Did not have time
to look into it yet. 

2. a "Backspace" key removes two characters at once from a text field 

3. I have noticed an issue with dragging a dialog window as well. The 
window moves quite slowly and the system clock cursor pops up 
sometimes and does not disappear.

4.  a white box painted on the screen at around the place you touched
( the white box disappears in a few seconds)

Has anyone tried to run the thinlet Demo on Jeode/PocketPC? 
Any similar issues there?

------------------------ 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
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

(Continue reading)

Dawid Weiss | 12 Sep 16:26
Picon

Re: Re: J9 problems?

Hi.

> 1. 
> Some UI operations are quite slow ( for example switching between
> tabs or between top level menu items). I noticed that Thinlet uses
> some explicit delays in certain event handlers. Did not have time
> to look into it yet. 

Really? I noticed that too, but blamed the slow processor -- I'll have 
to take a look at the code then.

> 3. I have noticed an issue with dragging a dialog window as well. The 
> window moves quite slowly and the system clock cursor pops up 
> sometimes and does not disappear.

I confirm this one. Don't know why it happens, but it does.

> 4.  a white box painted on the screen at around the place you touched
> ( the white box disappears in a few seconds)
> 
> Has anyone tried to run the thinlet Demo on Jeode/PocketPC? 
> Any similar issues there?

I think the white box is the repainting region and the delay is caused 
by Thinlet thinking about repainting it (less complex UIs are faster at 
repainting it). But again: haven't seen the code yet, just my observation.

I also add this one:

5. There is something wrong with selecting text from a textarea -- the 
(Continue reading)

Gerald Bauer | 17 Aug 23:43
Picon
Favicon

Re: J9 problems?


Hello,

  Dawid Weiss told me to forward the message about J9 problems to the
Thinlet list that somehow ended up in my private inbox. Here we go:

Dear All,

Out of curiousity I tried to pin down this problem and I even managed 
to get Thinlet work... so here's what I discovered:

The AWT on IBM J9/PocketPC sends a different order of events than the 
usual Windows AWT (no matter whether SUN or J9 is used on Windows, 
the sequence is correct). The ENTERED message is sent AFTER the 
PRESSED message (when the user clicked the touchpad). Because Thinlet 
saves the component on which the user currently is (on ENTERED/ MOVED 
etc) and reuses this information in the event handling code for 
PRESSED event, the user interface seems to be unresponsive (because 
Thinlet has no idea which component the user currently clicked).

Apologies if I'm not clear here... it's been a long day. Anyway, the 
patch I include below (apply it to Thinlet.java) should make the CVS 
HEAD Thinlet work for you on PocketPC devices.

Regards,
Dawid

Index: Thinlet.java
===================================================================
RCS file: /cvsroot/thinlet/thinlet/src/java/thinlet/Thinlet.java,v
(Continue reading)


Gmane