java.lang.Error: Do not use map.setLayout() use map.g etContentPane().setLayout() instead

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 message - please help
    via by 807594,
  • Swing with MVC
    via by 843807,
  • HI help in paintComponent please
    via by 807597,
  • Problems at Runtime
    via by 807598,
  • JTabbedPane with JTextField
    via by 807592,
  • question about the layout manager
    via by 807593,
  • Building a simple interface
    via by Derek Harper,
  • moving rectangle(GUI)
    via by 807597,
    • java.lang.Error: Do not use map.setLayout() use map.g etContentPane().setLayout() instead at javax.swing.JFrame.createRootPaneException(JFrame.java:458) at javax.swing.JFrame.setLayout(JFrame.java:524) at map.<init>(map.java:30) at mapdriver.main(mapdriver.java:12)
    No Bugmate found.