java.lang.ClassCastException: java.awt.FlowLayout cannot be cast to java.awt.CardLayout

Coderanch | mel li | 12 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

    Start Button not working

    Coderanch | 12 months ago | Paul Clapham
    java.lang.ClassCastException: java.awt.FlowLayout cannot be cast to java.awt.CardLayout
  2. 0

    Start Button not working

    Coderanch | 12 months ago | mel li
    java.lang.ClassCastException: java.awt.FlowLayout cannot be cast to java.awt.CardLayout

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.awt.FlowLayout cannot be cast to java.awt.CardLayout

      at Furutsu7.actionPerformed()
    2. Unknown
      Furutsu7.actionPerformed
      1. Furutsu7.actionPerformed(Furutsu7.java:111)
      1 frame