Re: Dialog escape key

Tristan Richard <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Yeah, I'll do that. But it seems strange to me using an XDialog which 
extends JDialog to enable escape key, and then, just turn it off again.

I thought a nicer way of doing that would be a swixml specific attribute
for dialogs, let's say : isEscapable (boolean)??
One goal to use swixml is still to remove some Java code, not to add it 
with respect with Swing classical implementation

Thanks anyway

kate rhodes a écrit :
> wouldn't you just add a listener to the window that catches the escape 
> key and ignores it?
> there's nothing specific to the XML that I am aware of that can do that.
> 
> -Kate
> 
> Tristan Richard wrote:
> 
>> Hi all!
>>
>> is there a way to turn off escape key handling for dialogs in SwixML???
>>
>> Tristan
>>
>>
>> _______________________________________________
>> Forum mailing list
>> [email protected]
>> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.