Keep getting an Error “Component must be displayable”
问题 Hi I keep getting an error "Component must be displayable" and cant solve it I looked at the Questions on SO and tried the solutions but to no avail. I'm trying to implement a JVLC player the error occurs when I try " .setVideoOutput(canvas1) " in the Vid class here is the main class. import java.awt.Component; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.util.logging.Level; import java.util