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 | 1 year 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

    issues in sample code for graphical elemets

    Coderanch | 1 year 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