Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Mitchell Mock, 1 year ago
Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
via Google Groups by Tobias Müller, 7 months ago
Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
via Stack Overflow by Extorcs
, 8 months ago
Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
via Google Groups by Fuddzy, 9 months ago
Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
via Stack Overflow by user481710
, 1 year ago
Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
via Google Groups by Stefan Bräu, 6 months ago
Do not use javax.swing.JFrame.add() use
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)