adamratcliffe2004 | 1 Aug 09:35
Picon

Re: Help with alpha-numeric text input on MIDP device

Hi Andrzej,

Sorry for the delay in replying, I was busy with a project launch 
last week.

I've been running Thinlet on my Sony Ericsson Z600, a MIDP 1.0 
compliant phone.  I added some extensions to Thinlet to provide 
support for some of the features that assumed the device had a 
keyboard and/or pointing device.  Here's a brief description of what 
I did and the code extensions, ITUTThinlet.java.

- Downloaded the last MIDP-enabled version: thinlet-2002-10-28.zip
- Installed the Sony Ericsson J2ME SDK Version 2.1.2 beta
- Installed the EclipseME plugin, provides integration with one or 
more J2ME wireless toolkits in the Eclipse environment
- Unpacked the distribution and ran Converter.java to produce the 
MIDP version of Thinlet.
- Created a new J2ME project in Eclipse and copied the java files 
and other resources for the Thinlet demo into my Eclipse workspace 
(I used the same directory structure as outlined in the 
thinlet\src\thinlet\midp\readme.txt).
- At this point I was able to build the demo in Eclipse and run it 
in the emulator.
- The package feature provided by the EclipseME plugin produced a 
JAR file that would not run on my phone (out of memory error), I re-
packaged the Demo midlet using KToolBar which worked fine.

Once I had the demo running on the phone I found that I couldn't 
invoke any button actions, enter text into any of the text 
components, or scroll horizontally in tables.
(Continue reading)

paul_johnson262 | 2 Aug 06:01
Picon

Tabbing out of textarea

I am not sure if anyone else needs this, but I changed the Thinlet.java file to stop tabbing 
out of a text area the a tab is used.  I needed this in order to insert tabs into  a textarea.  
Maybe there was a different way with the standard Thinlet.java file, but I did not see it.

Let me know it this change is needed to be sent out.

Paul Johnson

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
    thinlet-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Robert Piotrowski | 2 Aug 06:13
Picon
Favicon

Re: Tabbing out of textarea

Paul,

Can you send me a copy of your change to bob <at> azonic.net ?  Just the 
snippet if possible.

That might come in handy.

That's an interesting dilemma !  Tab to move, or tab for spacing ?  
How the heck do you solve that one?  If you follow HTML forms, 
tabbing moves you to the next html form object.  I guess if your app 
has serious "data entry" folks that "have to have tabbing", you can 
have a button to toggle between two "tabbing modes".

Kind of like the "INS" button.  Sometimes it's "INSERT" and sometimes 
it's "OVERWRITE".

A status bar at the bottom of the dialog box could show "TABBING 
STATUS" or something like it.

RP

--- In thinlet <at> yahoogroups.com, "paul_johnson262" 
<fingers_magoo <at> m...> wrote:
> I am not sure if anyone else needs this, but I changed the 
Thinlet.java file to stop tabbing 
> out of a text area the a tab is used.  I needed this in order to 
insert tabs into  a textarea.  
> Maybe there was a different way with the standard Thinlet.java 
file, but I did not see it.
> 
(Continue reading)

jjalenak | 2 Aug 15:44

[newbie] Dynamically changing Dialog size

I'm trying to dynamically change the size of a dialog, but it doesn't 
seem to work.  Can someone shed some light for me?

Here's the XML :

<?xml version="1.0"?>
<desktop name="LabOne Link">
	<dialog name="logonDialog" text="Please Logon ..." 
font="verdana bold" top="8" left="8" gap="6" height="115" width="250" 
columns="2" resizable="true">
		<label text="User Name : " alignment="right" />
			<textfield name="userName" columns="20" 
action="setThisUserName(this.text)" />
		<label text="Password : " alignment="right" />
			<passwordfield name="password" columns="20" 
action="setThisPassword(this.text)" />
		<button text="Logon" alignment="center" colspan="2" 
action="validateUser(thinlet, errorMessage)" />
		<label name="errorMessage" alignment="center" 
colspan="2" visible="false"/>
	</dialog>
</desktop>

and here's the code I'm using :

<snip>
 Object dialogObject = thinlet.find("logonDialog");
 thinlet.setInteger(dialogObject, "height", 135);
</snip>

(Continue reading)

Gerald Bauer | 2 Aug 22:32
Picon
Favicon

Poll Results: The Most Popular Free Java XML UI Toolkit - And The Winner Is...

Hello,

  Thanks to everybody for casting your vote in the Java Republic
online poll asking: "What Java XML UI Toolkit Do You Use Most?".

  Now on to the award ceremony and the winner is...

  * Thinlet  	   27% (39 votes)
  * XUI (Xoetrope) 20% (29 votes)
  * Luxor  	   18% (26 votes)
  * SwiXml 	   15% (22 votes)
  * Vexi 	    3% ( 5 votes)
  * JellySwing/JellySWT   3%  ( 5 votes)
  * Java Desktop Network Components (JDNC)/SwingX 	 2% ( 3 votes)
  * Jazilla 	    1% ( 1 vote)
  * Sulu 	    1% ( 1 vote)

  Full results and links @
http://viva.sourceforge.net/republic/2004/08/poll_results_the_most_popular_free_java_xml_ui_toolkit_and_the_winner_is.html

 - Gerald

-------------------
Gerald Bauer

XUL Alliance        | http://xul.sourceforge.net  
United XAML         | http://xaml.sourceforge.net 

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
(Continue reading)

Wolf Paulus | 2 Aug 20:58

Good news for Java Thinlet Developers: double and half

Good news for Java Thinlet Developers: double and half 

Carlsbad Cubes published an updated version of the Theodore Freeware
Edition. The free, 
visual environment for Thinlet GUI development now supports twice the
number of nodes 
and should now be completely satisfactory for more casual developers.

The price for Theodore-AP Edition, which targets Java Thinlet experts
and professional 
developers, has been cut in half.

About Theodore:
Advanced coding features allow visually creating and modifying the
XML descriptors 
defining a graphical user interface. The developed GUI remains
visible throughout the 
design process and modifications on Widget-properties are rendered in
real-time. By 
preventing illegal Widget combinations, the validating editor ensures
the generation of 
valid XUL (XML User interface Language) descriptors.

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

 
(Continue reading)

Gerald Bauer | 3 Aug 05:00
Picon
Favicon

Re: Good news for Java Thinlet Developers: double and half

Hello Wolf,

  First, great to hear that Theodore is alive and
kicking.

> Carlsbad Cubes published an updated version of the
Theodore Freeware
> Edition. The free, 
> visual environment for Thinlet GUI development now
supports twice the
> number of nodes 
> and should now be completely satisfactory for more
casual developers.

  If I may ask twice the number of nodes, that is how
many? 

> The price for Theodore-AP Edition, which targets
Java Thinlet experts
> and professional 
> developers, has been cut in half.

  If I may ask again cut in half, that is how much?

> About Theodore:

  You might wonna post a link to Theodore for those
people who haven't tried it yet and don't know where
to find it.

(Continue reading)

jacquesbonet | 3 Aug 15:59
Picon
Favicon

Mouse selection bug correction

There is a bug in thinlet.
When with the mouse you select the button ok of a dlgBox, the action 
associate is executed and the dlgBox disapear. Now, without moving 
the mouse, we click another time the mouse, the same action is 
executed.
To correct the problem we have to do the following in Thinlet.java:

In the processEvent() method we have to call the method findComponent
() when we process MouseEvent.MOUSE_PRESSED case:

else if (id == MouseEvent.MOUSE_PRESSED) {
  if (popupowner != null) { // remove popup
    String classname = getClass(mouseinside);
    if ((popupowner != mouseinside) && (classname != ":popup") && 
(classname != ":combolist")) {
      closeup();
    }
  }
  hideTip(); // remove tooltip

  // modif jb, append findComponent
  findComponent(content, x, y);
  // end modif jb

  mousepressed = mouseinside;
  pressedpart = insidepart;
  handleMouseEvent(x, y, clickcount, shiftdown, controldown,
              popuptrigger, MouseEvent.MOUSE_PRESSED, mousepressed,
              pressedpart);
}
(Continue reading)

Ali Cinar | 3 Aug 16:57

Bean repaint issue.

Hi All,

I have a Thinlet based GUI, and I am using an AWT based Ploting 
Component as a Thinlet Bean inside the GUI.  The Ploting bean makes 
calls to Component.repaint() when the mouse moves on it. Unfortunatly, 
the repaint call doesn't repaint the Component. I tried to call 
getParent().repaint() inside the bean, but it didn't work too. 

Does anybody have any suggestions?

Thanks in advance, 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
    thinlet-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

(Continue reading)

Paul Johnson | 3 Aug 18:01
Picon

Re: Bean repaint issue.

Hello Ali,

I just did a component that draws to the screen also.
All I did was call this.repaint() from inside the component.

I am not sure how you have yours setup, but I followed the same structure as what was being used for the chart
example in the drafts folder.

Everything seems to work just fine.

Paul

  ----- Original Message ----- 
  From: Ali Cinar 
  To: thinlet <at> yahoogroups.com 
  Sent: Tuesday, August 03, 2004 9:57 AM
  Subject: [thinlet] Bean repaint issue.

  Hi All,

  I have a Thinlet based GUI, and I am using an AWT based Ploting 
  Component as a Thinlet Bean inside the GUI.  The Ploting bean makes 
  calls to Component.repaint() when the mouse moves on it. Unfortunatly, 
  the repaint call doesn't repaint the Component. I tried to call 
  getParent().repaint() inside the bean, but it didn't work too. 

  Does anybody have any suggestions?

  Thanks in advance, 

(Continue reading)


Gmane