java.lang.Error: Unresolved compilation problems: The constructor MenuItem(String, ImageIcon) is undefined The constructor MenuItem(String, ImageIcon) is undefined

Stack Overflow | MimoBot | 8 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

    Add an icon/image to beside text as a part of a menuItem in PopupMenu

    Stack Overflow | 8 months ago | MimoBot
    java.lang.Error: Unresolved compilation problems: The constructor MenuItem(String, ImageIcon) is undefined The constructor MenuItem(String, ImageIcon) is undefined

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The constructor MenuItem(String, ImageIcon) is undefined The constructor MenuItem(String, ImageIcon) is undefined

      at minecraft.status.checker.Interface.mainInterface()
    2. minecraft.status.checker
      MainClass.main
      1. minecraft.status.checker.Interface.mainInterface(Interface.java:23)
      2. minecraft.status.checker.MainClass.main(MainClass.java:12)
      2 frames