java.lang.Error

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error runnning program using javx.swing in jcreator
    via by Mitchell Mock,
  • Opening Applets from Applets
    via by 807577,
  • Moving graphics with arrow keys with java
    via Stack Overflow by user481710
    ,
  • moving rectangle(GUI)
    via by 807597,
  • Compile problems with Netbeans
    via by 807598,
  • Multiple JFrames in 1 Container
    via by Stephen Boston,
  • Real Noob question
    via by 807598,
  • JLabel and Picture
    via by 807577,
    • java.lang.Error: Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead at javax.swing.JFrame.createRootPaneException(JFrame.java:465) at javax.swing.JFrame.addImpl(JFrame.java:491) at java.awt.Container.add(Container.java:307) at HelloJava.main(HelloJava.java:37)
    No Bugmate found.