Java JTextField entry broken on 1.8.0_40 OS X Yosemite 10.10.2

六月ゝ 毕业季﹏ 提交于 2019-12-12 01:54:53

问题


After upgrading to java 1.8.0_40 from java 1.8.0_31 JTextFields are no longer accepting any input.

Environment OS X 10.2.2 java 1.8.0_40 (the current build). iMac 4 GHz Intel Core i7.

I'm using webstart to launch the apps.

In order to test, I created a simple new project from the code downloaded from here:

http://www.javabeginner.com/java-swing/java-jtextfield-class-example

This sample code failed as well. In fact using the Oracle website examples fails to allow text field entry.

You can test from here:

http://docs.oracle.com/javase/tutorial/uiswing/components/textfield.html

Assuming you have the same environment.

It does not appear to fail on Windows 7 under Parallels on the same machine, can't say about other environments.

Any suggestion?

来源:https://stackoverflow.com/questions/28971608/java-jtextfield-entry-broken-on-1-8-0-40-os-x-yosemite-10-10-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!