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



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
.



Relevant Pages

  • Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
    ... focus is stolen from the window and you CANNOT use the keyboard or any ... Knute Johnson ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.gui)
  • Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
    ... focus is stolen from the window and you CANNOT use the keyboard or any ... for Linux good for Microsoft I guess. ... odd problem. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ...
    (comp.lang.java.gui)
  • Keyboard keys stop working
    ... >>I have an odd problem, that I havent quite seen a ... >get a USB keyboard hook it up with the USB mouse so I ...
    (microsoft.public.windowsxp.perform_maintain)
  • Odd keyboard problem
    ... I'm having an odd problem with the keyboard on a PC I recently ... and the keyboard worked fine. ... does Linux support USB keyboards; if the support is good, ...
    (comp.os.linux.hardware)
  • Re: Keyboard keys stop working
    ... Try another keyboard with your computer. ... If the second keyboard works fine, ... Ted Zieglar ... > I have an odd problem, that I havent quite seen a ...
    (microsoft.public.windowsxp.perform_maintain)