java.lang.Error: Unresolved compilation problems: The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer

Coderanch | Jon Camilleri | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [newbie] The constructor <Class>(String, ImageIcon) is undefined

    Coderanch | 8 years ago | Jon Camilleri
    java.lang.Error: Unresolved compilation problems: The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer The constructor ColorAction(String, ImageIcon) is undefined The constructor ImageIcon(String, Color) is undefined Syntax error, insert ")" to complete VariableInitializer

      at homenetwork.bkr.training.ActionFrame.<init>()
    2. homenetwork.bkr.training
      ActionTest$1.run
      1. homenetwork.bkr.training.ActionFrame.<init>(ActionFrame.java:19)
      2. homenetwork.bkr.training.ActionTest$1.run(ActionTest.java:16)
      2 frames
    3. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEvent(Unknown Source)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      6. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      8. java.awt.EventDispatchThread.run(Unknown Source)
      8 frames