Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.awt.Button, java.awt.Choice, etc. do not work on mobile browsers #170

Open
jiver18 opened this issue May 4, 2023 · 2 comments
Open

Comments

@jiver18
Copy link

jiver18 commented May 4, 2023

I am new to Cheerpj.

I have an existing applet that contains elements like java.awt.Choice, java.awt.Button, and java.awt.ScrollPane. These appear to function correctly on desktop browsers. However, they do not function on Safari on iPads or Chrome on Android.

The simplest example is that you cannot change the value of a java.awt.Choice drop down list. Clicking on the list has no effect when using Safari on iPad or Chrome on Android. Clicking on java.awt.Button elements also appears to have no effect. Ultimately the applet should pop up a java.awt.ScrollPane with embedded graphics.

@alexp-sssup
Copy link
Member

Touch events are not correctly handled for AWT components, this can be fixed in principle but it has never been a priority since AWT interfaces are designed for desktop and work very poorly on mobile anyway.

Our current focus is fully on the upcoming CheerpJ 3.0, a new architecture designed to be faster, simpler to use and scalable to Java 9+. I'll keep this bug open, but we won't be able to schedule any work on it for the time being.

@jiver18
Copy link
Author

jiver18 commented May 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants