Andrzej Bialecki | 1 Oct 01:05

Re: Bug in TextField?

Stephen Colebourne wrote:
> I am pretty sure this is a bug, because I had to fix a similar bug with
> buttons before (I need to dig out the change and get it applied to core
> thinlet).

Folks, are you sure you're not mixing up "enabled" with "editable"?

--

-- 
Best regards,
Andrzej Bialecki

-------------------------------------------------
Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
-------------------------------------------------
FreeBSD developer (http://www.freebsd.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
--------------------------------------------------------------------~-> 

 
abbottkirk | 1 Oct 01:10
Picon
Favicon

list_using_vector implementation

I have just uploaded a file (see files) which does a list using
vector implementation. It is not the prettiest but let me know
what happens.
Here is the README.txt

--------------------------------------------------------------------
This is some code which hacks thinlet/Thinlet.java to use a Vector
implementation in a list rather than the generic object linked list.
This helps to avoid the jvm bug with deep hierarchies and also
gives great speed.

Unpack to create a directory called fast_list

A makefile is included.
Do:
  cd fast_list
  make compile
  make listtest  -- to run.

One still needs an original thinlet.jar to get FrameLauncher.
(is included)

Hit the load button multiple times or the load and reload button to 
see
what happens. I have not found a limit yet...
See the hacked code in thinlet/Thinlet.java.

One feature of the implementation that I don't like is the use of a 
global
table of list objects. But, I did not want to add an ':items' field 
(Continue reading)

Stephen Colebourne | 1 Oct 01:21

Re: Bug in TextField?

----- Original Message -----
From: "Andrzej Bialecki" <ab <at> getopt.org>
> Stephen Colebourne wrote:
> > I am pretty sure this is a bug, because I had to fix a similar bug with
> > buttons before (I need to dig out the change and get it applied to core
> > thinlet).
>
> Folks, are you sure you're not mixing up "enabled" with "editable"?
It is after midnight here ;-)

But the basic problem is the same - the event handling code should block key
based input when the component is disabled/non-editable. I'll try to
remember to find the patch tomorrow...

Stephen

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

 
Stephen Colebourne | 1 Oct 01:24

Re: [VOTE] Focus all management at sourceforge


I forgot to say, that I intend to declare the vote result after 3 days.

Michael, are you willing to place a vote on this?

Stephen

----- Original Message ----- 
From: "Stephen Colebourne" <scolebourne <at> btopenworld.com>
To: <thinlet <at> yahoogroups.com>
Sent: Thursday, September 30, 2004 1:50 PM
Subject: [thinlet] [VOTE] Focus all management at sourceforge

> 
> OK, we now have a much improved structure in terms of
> project personnel, the next step is deciding how and
> where to manage thinlet development. In particular we
> have two 'management sites',
> https://sourceforge.net/projects/thinlet/ and
> http://thinlet.dev.java.net/
> 
> CVS:
> Currently at sourceforge.
> 
> Bug tracking:
> Unclear.
> 
> Releases:
> Currently direct download and java.net.
> 
(Continue reading)

Picon

Re: [VOTE] Focus all management at sourceforge

-1

Sorry for taking so long to answer, but I'm working on client site and I can't access my email during the day.

There a few problems in moving to sourceforge, imho. The first one is the fact there are a lot of projects
pointing today to java.net's DTD and migrating it for new versions will force users to change all of these
to get access to the new features.

I find sf's bug tracker much inferior to issuezilla and I'm wondering if we could use java.net
infrastructure for that. However, I think having duplicated resources is a waste, such as two CVS
repositories for the same purpose, as we have today (the one at java.net is not up-to-date, btw).

After being exposed to sourceforge and java.net tools, I'd say java.net tools are much more
developer-friendly and effective than sourceforge's. In my opinion, maybe we should remove all the
files from java.net CVS except for the DTD, since they're out-of-synch anyway, and provide a updated DTD
in sf.net site for our next release (whenever it is). At that time, we should deprecate the DTD@ java.net
and tell people to start using sf's one. I like the other facilities @ java.net better than @ sf.net, but
maybe that's just me, anyway.

Regards,
-------------------------------------------------------------
Michael Nascimento Santos
JSR 207 Expert Group Member
JSR Community Manager - http://community.java.net/jsr
Organizacao SouJava - http://www.soujava.org.br
Thinlet - http://www.thinlet.com
http://www.javablogs.com.br/blogs/page/soujavamisterm
http://today.java.net/pub/au/80
  ----- Original Message ----- 
  From: Stephen Colebourne 
(Continue reading)

jacquesbonet | 1 Oct 15:34
Picon
Favicon

Re: How to define Z order for components

Thks for your replay Timothy,

I replaced my Panel with a Dialog object and is ok now.
(I changed also the code a little in Thinlet, to have the 
possibilities to hide de dlg border).

Jacques

--- In thinlet <at> yahoogroups.com, Timothy Stack <stack <at> c...> wrote:
> > 
> > Hello,
> > 
> > 
> > I have a probleme with my thinlet application.
> > This application is composed of widget with panels. In particular 
I 
> > have a status panel. I want this status panel be on top of all 
others 
> > components when I resize the application. How can I do that?
> 
> Are you using dialog's?  Panel's shouldn't overlap in the layout.  
Maybe 
> I'm not understanding you correctly, can you send some code?
> 
> > Jacques
> 
> thanks,
> 
> tim

(Continue reading)

abbottkirk | 1 Oct 15:40
Picon
Favicon

Re: [VOTE] Focus all management at sourceforge

Hello,

I don't have any experience using java.net and I am somewhat familar
with sourceforge.net. I vote for sf.net. The primary reason is
the following:
   Marketing!
Sourceforge is a rich  clearing house of all types of products.
It is perhaps the best first place to visit when looking for
solutions. Thinlet will get a lot of buzz if hosted at sf.net

Regards,
Kirk.

I vote for sourceforge.net for mainly one rea
--- In thinlet <at> yahoogroups.com, "Michael Nascimento Santos" 
<mister__m <at> h...> wrote:
> -1
> 
> Sorry for taking so long to answer, but I'm working on client site 
and I can't access my email during the day.
> 
....
> 
> After being exposed to sourceforge and java.net tools, I'd say 
java.net tools are much more developer-friendly and effective than 
sourceforge's. In my opinion, maybe we should remove all the files 
from java.net CVS except for the DTD, since they're out-of-synch 
anyway, and provide a updated DTD in sf.net site for our next 
release (whenever it is). At that time, we should deprecate the DTD@ 
java.net and tell people to start using sf's one. I like the other 
(Continue reading)

daniel.destro | 1 Oct 16:21
Picon
Favicon

Change List selection

How can I, programatically, change the selected item of a list?
And, how can I set no selected item?

Tks
Daniel

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

 
Timothy Stack | 1 Oct 16:29
Picon
Favicon

Re: Change List selection

> 
> How can I, programatically, change the selected item of a list?

  setBoolean(item, "selected", true);

I think that works, you shouldn't have to deselect the currently selected 
item.

> And, how can I set no selected item?

  item = getSelectedItem(list);
  if( item != null )
    setBoolean(item, "selected", false);

If it is a multiple selection list, use getSelectedItems() and iterate 
over the array setting "selected" to false.

> Tks
> Daniel

tim

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

daniel.destro | 1 Oct 16:34
Picon
Favicon

Change Combobox selection

I have a combobox.

If I do this: 

 setInteger( myCombo, "selected", 1 );

It works fine and the Item located at index 1 is set.

I tried to set -1 to have no item selected, but it did not work.
Is there any way to do that?

tks again
Daniel

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

 

Gmane