-
Notifications
You must be signed in to change notification settings - Fork 26
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
Sim Control Panel Find Next and Find Previous buttons are greyed out in Trick 19 #1826
Comments
When you insert any characters into the Find: box, it produces these messages: We are running: |
It seems like the issue is coming from the Java library code itself. You don't encounter the error with the same OpenJDK version when using Trick 17.4.0? Will investigate this further. |
FYI, |
Thanks for the info. It turns out that the built-in matcher in the Java Swing GUI component for the status area calls a method to find a match and return the result. This matching process involves creating a new matcher instance with the state copied over. However, since JDK 9, the matcher result is an instance of a non-public class (new since JDK 9) within the matcher that cannot be cloned, thus the exception. I used to have JDK 8 but not anymore. However, I observed the issue while testing JDK 11 and JDK 21 on my machine. We'll need to have a customized approach to return the match results for Java Swing's JXEditorPane. |
The Sim Control Panel in Trick 19.5.1 does not allow the user to select the Find Next or Find Previous buttons. These buttons were enabled and working in the Trick 17.4.0 version.
The text was updated successfully, but these errors were encountered: