Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 31st, 2011  |  syntax: None  |  size: 2.74 KB  |  views: 103  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container
  2.         at java.awt.Container.checkNotAWindow(Unknown Source)
  3.         at java.awt.Container.addImpl(Unknown Source)
  4.         at java.awt.Container.add(Unknown Source)
  5.         at javax.swing.JFrame.addImpl(Unknown Source)
  6.         at java.awt.Container.add(Unknown Source)
  7.         at gameWindow.Window.<init>(Window.java:18)
  8.         at main.Main.actionPerformed(Main.java:72)
  9.         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  10.         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  11.         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  12.         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  13.         at javax.swing.AbstractButton.doClick(Unknown Source)
  14.         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
  15.         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
  16.         at java.awt.Component.processMouseEvent(Unknown Source)
  17.         at javax.swing.JComponent.processMouseEvent(Unknown Source)
  18.         at java.awt.Component.processEvent(Unknown Source)
  19.         at java.awt.Container.processEvent(Unknown Source)
  20.         at java.awt.Component.dispatchEventImpl(Unknown Source)
  21.         at java.awt.Container.dispatchEventImpl(Unknown Source)
  22.         at java.awt.Component.dispatchEvent(Unknown Source)
  23.         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  24.         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  25.         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  26.         at java.awt.Container.dispatchEventImpl(Unknown Source)
  27.         at java.awt.Window.dispatchEventImpl(Unknown Source)
  28.         at java.awt.Component.dispatchEvent(Unknown Source)
  29.         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  30.         at java.awt.EventQueue.access$000(Unknown Source)
  31.         at java.awt.EventQueue$1.run(Unknown Source)
  32.         at java.awt.EventQueue$1.run(Unknown Source)
  33.         at java.security.AccessController.doPrivileged(Native Method)
  34.         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
  35.         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
  36.         at java.awt.EventQueue$2.run(Unknown Source)
  37.         at java.awt.EventQueue$2.run(Unknown Source)
  38.         at java.security.AccessController.doPrivileged(Native Method)
  39.         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
  40.         at java.awt.EventQueue.dispatchEvent(Unknown Source)
  41.         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
  42.         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  43.         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  44.         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  45.         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  46.         at java.awt.EventDispatchThread.run(Unknown Source)
clone this paste RAW Paste Data