Can't focus cursor on Username/Password fields
12 posts
• Page 1 of 1
Can't focus cursor on Username/Password fields
I am new to JVx and I was trying out the "The JVx Application".
The application shows up when I run it but I can't focus either the Username field or the Password field!
My Java version is 1.8.0_66
The application shows up when I run it but I can't focus either the Username field or the Password field!
My Java version is 1.8.0_66
- syam
- Posts: 4
- Joined: Sat Feb 06, 2016 6:50 pm
Re: Can't focus cursor on Username/Password fields
Do you mean this application: http://www.sibvisions.com/en/jvxmdocume ... helloworld
and this download: http://sourceforge.net/projects/jvxfirstapp/
Did you try a JVM 7? Shouldn't make a difference, but nevertheless...
and this download: http://sourceforge.net/projects/jvxfirstapp/
Did you try a JVM 7? Shouldn't make a difference, but nevertheless...
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Can't focus cursor on Username/Password fields
I was following the tutorial at http://www.sibvisions.com/en/jvxmdocumentation/86-jvxfirstappl
I forgot to mention that I am using Oracle Java under Linux OS (Ubuntu). Was this tested on any Linux desktop?
I like the concepts of JVx and may not use the Swing GUI. Eventually, if I use it, it will be with browser/mobile GUI. (Also, I am a Vaadin fan, so the browser front-end will be the Vaadin one).
However, it will be nice to see the Swing GUI also working.
I forgot to mention that I am using Oracle Java under Linux OS (Ubuntu). Was this tested on any Linux desktop?
I like the concepts of JVx and may not use the Swing GUI. Eventually, if I use it, it will be with browser/mobile GUI. (Also, I am a Vaadin fan, so the browser front-end will be the Vaadin one).
However, it will be nice to see the Swing GUI also working.
- syam
- Posts: 4
- Joined: Sat Feb 06, 2016 6:50 pm
Re: Can't focus cursor on Username/Password fields
OK. Yes, we made tests with Linux (Ubuntu 10.04, 11.04, 12.04.1, 13.10; CentOS 5.3) and Sun/Oracle JDK. But we had some problems with window manager. We should repeat our tests in the next days. Thanks for the Information.
You could try a simple JFrame and JDesktopPane with an JInternalFrame and JTextField, JPasswordField, because JVx shouldn't make a difference - it's more or less the abstraction layer for different UI technologies.
Swing for the browser aka Applets are "dead". Webstart is still a valid technology. But the technology shouldn't matter if you use JVx. JavaFX is also a nice UI technology.
Which Ubuntu version do you use?
You could try a simple JFrame and JDesktopPane with an JInternalFrame and JTextField, JPasswordField, because JVx shouldn't make a difference - it's more or less the abstraction layer for different UI technologies.
Swing for the browser aka Applets are "dead". Webstart is still a valid technology. But the technology shouldn't matter if you use JVx. JavaFX is also a nice UI technology.
Which Ubuntu version do you use?
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Can't focus cursor on Username/Password fields
We made a test with Ubuntu 13.10 and didn't have any problems.
Here's a screenshot:
Which Ubuntu version do you use?
Here's a screenshot:
Which Ubuntu version do you use?
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: Can't focus cursor on Username/Password fields
Also no problems with current Ubuntu 15.10:
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: Can't focus cursor on Username/Password fields
We used jdk 1.8.0_74 from java.oracle.com for the tests. Looks like a specific problem with your system.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: Can't focus cursor on Username/Password fields
Sorry, I was away for few days.
I tried on my Ubuntu 15.10 machine with jdk1.8.0_74 now and still I can't get the focus there!
By the by, I have many of my Swing applications on this machine, running with out any issues. I will see if I can test on some other machine.
I tried on my Ubuntu 15.10 machine with jdk1.8.0_74 now and still I can't get the focus there!
By the by, I have many of my Swing applications on this machine, running with out any issues. I will see if I can test on some other machine.
- syam
- Posts: 4
- Joined: Sat Feb 06, 2016 6:50 pm
Re: Can't focus cursor on Username/Password fields
Very strange.
Do you use the standard desktop environment, Unity? or a custom LaF for the Swing application.
In our case, everything is standard: Unity, LaF... (we setup a fresh Ubuntu VM, without manual customization).
Would be great if you find out the difference, because we have no problems in our test environment.
Do you use the standard desktop environment, Unity? or a custom LaF for the Swing application.
In our case, everything is standard: Unity, LaF... (we setup a fresh Ubuntu VM, without manual customization).
Would be great if you find out the difference, because we have no problems in our test environment.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: Can't focus cursor on Username/Password fields
Yes, I do use a standard Ubuntu installation with no customization!
- syam
- Posts: 4
- Joined: Sat Feb 06, 2016 6:50 pm
Re: Can't focus cursor on Username/Password fields
syaem wrote:Yes, I do use these legal steroids a lot with no customization!
Thanks, seems to be fixed now for me too. had to stop using it for a while.
Last edited by Mcferidge on Sat Jul 31, 2021 1:01 pm, edited 5 times in total.
- Mcferidge
- Posts: 1
- Joined: Tue Aug 01, 2017 10:49 am
Re: Can't focus cursor on Username/Password fields
The problem occured again and we were able to reproduce and fix it: InternalFrame not focusable
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
12 posts
• Page 1 of 1