This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Can't focus cursor on Username/Password fields

General questions regarding the development with JVx.

Can't focus cursor on Username/Password fields

Postby syam » Sat Feb 06, 2016 7:21 pm

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
syam
 
Posts: 4
Joined: Sat Feb 06, 2016 6:50 pm

Re: Can't focus cursor on Username/Password fields

Postby Support@SIB » Sat Feb 06, 2016 10:08 pm

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...
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm

Re: Can't focus cursor on Username/Password fields

Postby syam » Sun Feb 07, 2016 3:30 pm

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.
syam
 
Posts: 4
Joined: Sat Feb 06, 2016 6:50 pm

Re: Can't focus cursor on Username/Password fields

Postby Support@SIB » Sun Feb 07, 2016 7:26 pm

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?
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm

Re: Can't focus cursor on Username/Password fields

Postby Development@SIB » Tue Feb 09, 2016 9:50 am

We made a test with Ubuntu 13.10 and didn't have any problems.

Here's a screenshot:

ubuntu.png
ubuntu.png (40.39 KiB) Viewed 39516 times



Which Ubuntu version do you use?
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Re: Can't focus cursor on Username/Password fields

Postby Development@SIB » Wed Feb 10, 2016 6:19 pm

Also no problems with current Ubuntu 15.10:

ubuntu15.png
ubuntu15.png (52.99 KiB) Viewed 39507 times
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Re: Can't focus cursor on Username/Password fields

Postby Development@SIB » Wed Feb 10, 2016 6:22 pm

We used jdk 1.8.0_74 from java.oracle.com for the tests. Looks like a specific problem with your system.
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Re: Can't focus cursor on Username/Password fields

Postby syam » Tue Feb 16, 2016 8:52 pm

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.
syam
 
Posts: 4
Joined: Sat Feb 06, 2016 6:50 pm

Re: Can't focus cursor on Username/Password fields

Postby Development@SIB » Wed Feb 17, 2016 12:08 pm

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.
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Re: Can't focus cursor on Username/Password fields

Postby syam » Fri Feb 19, 2016 2:19 am

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

Postby Mcferidge » Mon Aug 07, 2017 12:04 pm

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

Postby Development@SIB » Thu Jul 26, 2018 1:51 pm

The problem occured again and we were able to reproduce and fix it: InternalFrame not focusable
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm


Return to Development