java.lang.Error: setAccelerator() is not defined for JMenu. Use setMnemonic() instead.

Oracle Community | 807577 | 1 decade ago
  1. 0

    Run time error creating JMenu

    Oracle Community | 1 decade ago | 807577
    java.lang.Error: setAccelerator() is not defined for JMenu. Use setMnemonic() instead.
  2. 0

    JMenu does not support setAccelerator ?

    Oracle Community | 2 decades ago | 807582
    java.lang.Error: setAccelerator() is not defined for JMenu. Use setMnemonic() instead.
  3. 0

    GitHub comment 10#244557749

    GitHub | 3 months ago | mvmn
    java.lang.Error: This method is obsolete, use getFieldOrder() instead
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dynamic graphs

    Oracle Community | 1 decade ago | 843807
    java.lang.Error: Do not use DynamicGraph.setLayout() use DynamicGraph.getContentPane().setLayout() instead ...
  6. 0

    Swing with MVC

    Oracle Community | 1 decade ago | 843807
    java.lang.Error: Do not use TAddMedicationOrdersApp.setLayout() use TAddMedicationOrdersApp.getContentPane().setLayout() instead

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      setAccelerator() is not defined for JMenu. Use setMnemonic() instead.

      at javax.swing.JMenu.setAccelerator()
    2. Java RT
      JMenu.setAccelerator
      1. javax.swing.JMenu.setAccelerator(JMenu.java:1348)
      1 frame
    3. Unknown
      MainFrame.main
      1. ApplicationFrame.<init>(ApplicationFrame.java:72)
      2. MainFrame.main(MainFrame.java:11)
      2 frames