Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)



On Jul 4, 3:51 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
caultonpos wrote:
It appears whenever a modal window is opened on Linux X-Windows the
focus is stolen from the window and you CANNOT use the keyboard or any
peice of code to return focus to the form - let alone set the focus in
the textbox.

This is not just for my modal forms but for something as fundamental
as JOptionPane or simple code like this:

JFileChooser chooser = new JFileChooser();
if (chooser.showOpenDialog(parentComponent) ==
JFileChooser.APPROVE_OPTION) {
}

From trolling through posts I can see no answers which is really sad
for Linux good for Microsoft I guess.  How can we deploy on Linux if
you are forced to get carpal tunnel clicking on every form with the
mouse ?

I would be willing to pay some consulting dollars to get this
resolved.

Greg

Either you are not explaining your self adequately or you've got some
odd problem.  If I open a JFileChooser dialog on XP or Fedora 9 I can
close it very easily with the escape key.  On both, focus is returned to
the frame that opened the dialog and I can continue to maneuver with the
keyboard.

However, I am happy to consult.  Please remit a large sum of cash and
you will definitely get my full attention to your problem :-).

--

Knute Johnson
email s/nospam/knute2008/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
      ------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access- Hide quoted text -

- Show quoted text -

Its not closing it that is the issue, it is getting focus on it
without the mouse.

Have a look at http://www.patientos.org/demo.htm

login with admin/admin and press the Import button

you will notice you cannot type or use the keyboard until you use the
mouse.
.