Page 1 of 1
Can't focus cursor on Username/Password fields
Posted:
Sat Feb 06, 2016 7:21 pm
by syam
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
Re: Can't focus cursor on Username/Password fields
Posted:
Sat Feb 06, 2016 10:08 pm
by Support@SIB
Do you mean this application:
http://www.sibvisions.com/en/jvxmdocume ... helloworldand this download:
http://sourceforge.net/projects/jvxfirstapp/Did you try a JVM 7? Shouldn't make a difference, but nevertheless...
Re: Can't focus cursor on Username/Password fields
Posted:
Sun Feb 07, 2016 3:30 pm
by syam
I was following the tutorial at
http://www.sibvisions.com/en/jvxmdocumentation/86-jvxfirstapplI 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.
Re: Can't focus cursor on Username/Password fields
Posted:
Sun Feb 07, 2016 7:26 pm
by Support@SIB
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?
Re: Can't focus cursor on Username/Password fields
Posted:
Tue Feb 09, 2016 9:50 am
by Development@SIB
We made a test with Ubuntu 13.10 and didn't have any problems.
Here's a screenshot:
- ubuntu.png (40.39 KiB) Viewed 65793 times
Which Ubuntu version do you use?
Re: Can't focus cursor on Username/Password fields
Posted:
Wed Feb 10, 2016 6:19 pm
by Development@SIB
Also no problems with current Ubuntu 15.10:
- ubuntu15.png (52.99 KiB) Viewed 65784 times
Re: Can't focus cursor on Username/Password fields
Posted:
Wed Feb 10, 2016 6:22 pm
by Development@SIB
We used jdk 1.8.0_74 from java.oracle.com for the tests. Looks like a specific problem with your system.
Re: Can't focus cursor on Username/Password fields
Posted:
Tue Feb 16, 2016 8:52 pm
by syam
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.
Re: Can't focus cursor on Username/Password fields
Posted:
Wed Feb 17, 2016 12:08 pm
by Development@SIB
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.
Re: Can't focus cursor on Username/Password fields
Posted:
Fri Feb 19, 2016 2:19 am
by syam
Yes, I do use a standard Ubuntu installation with no customization!
Re: Can't focus cursor on Username/Password fields
Posted:
Mon Aug 07, 2017 12:04 pm
by Mcferidge
Thanks, seems to be fixed now for me too. had to stop using it for a while.
Re: Can't focus cursor on Username/Password fields
Posted:
Thu Jul 26, 2018 1:51 pm
by Development@SIB
The problem occured again and we were able to reproduce and fix it:
InternalFrame not focusable