Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 05 Jul 2008 14:38:23 -0700
caultonpos wrote:
On Jul 5, 12:56 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
caultonpos wrote:On Jul 4, 3:51 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>On what the modal dialog?
wrote:
caultonpos wrote:Its not closing it that is the issue, it is getting focus on itIt appears whenever a modal window is opened on Linux X-Windows theEither you are not explaining your self adequately or you've got some
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
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/
- Show quoted text -
without the mouse.
Have a look athttp://www.patientos.org/demo.htmI think you should do as Andrew suggests and post an SSCCE.
login with admin/admin and press the Import button
you will notice you cannot type or use the keyboard until you use the
mouse.
--
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 -
I already posted an short example
JFileChooser chooser = new JFileChooser();
if (chooser.showOpenDialog(parentComponent) ==
JFileChooser.APPROVE_OPTION) {
}
The JFileChooser shows the dialog to browse for files - but unlike
windows the dialog has no focus - you must click on it to do anything.
Perhaps it does not fail on a local linux box but I am using NXClient
- the applet on demo.htm fires up NX and you can see for yourself.
Not sure how else you are going to see the issue without spending a
lot of time setting up a Swing app on a remote linux desktop, setting
on Nx and connecting to it...
I don't like having my time wasted. I wouldn't have answered you or tried to duplicate your problem on my Linux and Windows machines if I had known that you were using some sort of remote access software that I don't own.
I suggest if you need assistance in the future you completely describe your problem or use a different name!
--
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
.
- References:
- Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: caultonpos
- Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: Knute Johnson
- Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: caultonpos
- Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: Knute Johnson
- Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- From: caultonpos
- Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- Prev by Date: Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- Next by Date: Row layout
- Previous by thread: Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- Next by thread: Re: Linux/X-Windows unable to set focus on a modal form (Consulting $ anyone)
- Index(es):
Loading