Skip to content

java.lang.ClassNotFoundException: sun.swing.UIClientPropertyKey #43

@hamid-nazari

Description

@hamid-nazari

Running the latest demo (3.7.8) on JDK13 for TriStateCheckBox Demo I received the error mentioned above with attached stack trace in java.exe console.

This is clearly due to com.jidesoft.plaf.windows.AnimationController importing an interface from JDK1.8 which is now moved to javax.swing.UIClientPropertyKey, post JDK9. It can be fixed easily ,for example, by providing a variant version of com.jidesoft.plaf.windows.AnimationController using Multi-Release JAR feature of JDK9+.

JRE:
java version "13" 2019-09-17
Java(TM) SE Runtime Environment (build 13+33)
Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing)

stacktrace.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions