java.lang.ClassCastException: org.jzy3d.plot3d.rendering.canvas.VoidCanvas cannot be cast to java.awt.Component

Stack Overflow | Kex | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cast jzy3d.canvas to awt.component

    Stack Overflow | 4 months ago | Kex
    java.lang.ClassCastException: org.jzy3d.plot3d.rendering.canvas.VoidCanvas cannot be cast to java.awt.Component

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.jzy3d.plot3d.rendering.canvas.VoidCanvas cannot be cast to java.awt.Component

      at cz.bia.Launcher.lambda$setComponents$0()
    2. cz.bia
      Launcher.lambda$setComponents$0
      1. cz.bia.Launcher.lambda$setComponents$0(Launcher.java:63)
      1 frame
    3. Java RT
      Button.processEvent
      1. java.awt.Button.processActionEvent(Button.java:409)
      2. java.awt.Button.processEvent(Button.java:377)
      2 frames