java.lang.Error: Unresolved compilation problems: Illegal modifier for argument labelPrefix; only final is permitted Illegal modifier for argument numClicks; only final is permitted ActionListener cannot be resolved or is not a type

Oracle Community | 807595 | 1 decade 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

    error message

    Oracle Community | 1 decade ago | 807595
    java.lang.Error: Unresolved compilation problems: Illegal modifier for argument labelPrefix; only final is permitted Illegal modifier for argument numClicks; only final is permitted ActionListener cannot be resolved or is not a type

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: Illegal modifier for argument labelPrefix; only final is permitted Illegal modifier for argument numClicks; only final is permitted ActionListener cannot be resolved or is not a type

      at gui.gui.main()
    2. gui
      gui.main
      1. gui.gui.main(gui.java:15)
      1 frame