directoryDialog [message #212465] |
Mon, 28 May 2007 14:04 |
Eclipse User |
|
|
|
Originally posted by: ronancarty.eircom.net
Hi all,
I am currently writing a media player for blind users. I decided to use
SWT, but i have encountered a problem when using directoryDialog and
fileDialog. As my application uses the keyboard and not the mouse, I need
the focus to be set on the files or directories in the dialog box. When i
use directoryDialog the focus is set to the ok box on the dialog box once
it opens. Having looked through the API i havnt found any way of doing
this, if anyone knows how i can, i would really appreciate any advice!!
cheers
ro
|
|
|
Re: directoryDialog [message #212468 is a reply to message #212465] |
Mon, 28 May 2007 16:07 |
Eclipse User |
|
|
|
Originally posted by: krzysztofHMMMMdaniel.gmail.com
Impossible. SWT is based on native components, and you cannot have
access from Java level to Windows level.
I admit you checking Swing (it is slower, but more probable that has
support for that), or writing the browser yourself.
Regards
Chris
ro wrote:
> Hi all,
>
> I am currently writing a media player for blind users. I decided to use
> SWT, but i have encountered a problem when using directoryDialog and
> fileDialog. As my application uses the keyboard and not the mouse, I
> need the focus to be set on the files or directories in the dialog box.
> When i use directoryDialog the focus is set to the ok box on the dialog
> box once it opens. Having looked through the API i havnt found any way
> of doing this, if anyone knows how i can, i would really appreciate any
> advice!!
> cheers
> ro
>
|
|
|
Re: directoryDialog [message #212476 is a reply to message #212468] |
Mon, 28 May 2007 17:37 |
Eclipse User |
|
|
|
Originally posted by: ronancarty.eircom.net
Hi thanks alot for the reply. i have began writing a file browser myself
using a list box, i had hope i could use the directoryDialog but sure
thats that!! thanks again for the reply.
|
|
|
Powered by
FUDForum. Page generated in 0.05209 seconds