Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » directoryDialog
directoryDialog [message #212465] Mon, 28 May 2007 14:04 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Welcome Screen Content
Next Topic:Build error,(Exec error:Launching failed)
Goto Forum:
  


Current Time: Mon Dec 30 16:53:02 GMT 2024

Powered by FUDForum. Page generated in 0.05209 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top