java.lang.Error: Unresolved compilation problems: Syntax error on token "JFrame", import expected Syntax error on token "JButton", import expected b cannot be resolved b cannot be resolved b cannot be resolved

Coderanch | Olga Matveeva | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    issues in sample code for graphical elemets

    Coderanch | 2 years ago | Olga Matveeva
    java.lang.Error: Unresolved compilation problems: Syntax error on token "JFrame", import expected Syntax error on token "JButton", import expected b cannot be resolved b cannot be resolved b cannot be resolved

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: Syntax error on token "JFrame", import expected Syntax error on token "JButton", import expected b cannot be resolved b cannot be resolved b cannot be resolved

      at BListener.<init>()
    2. Unknown
      InnerButton.main
      1. BListener.<init>(BListener.java:5)
      2. InnerButton.go(InnerButton.java:21)
      3. InnerButton.main(InnerButton.java:12)
      3 frames