Issue 67: ScrollingExample.java doesn't work
http://code.google.com/p/piccolo2d/issues/detail?id=67

New issue report by gigony:
What steps will reproduce the problem?
1. Compile and execute 'ScrollingExample.java'
2.
3.

What is the expected output? What do you see instead?
It only shows a empty window
Error messages on console are followed
--------------
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
adding container's parent to itself
        at java.awt.Container.addImpl(Unknown Source)
        at java.awt.Container.add(Unknown Source)
        at ScrollingExample.initialize(ScrollingExample.java:81)
        at edu.umd.cs.piccolox.PFrame$1.run(PFrame.java:107)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
------------------------
This statement is the code that the error is occured
getContentPane().add(scrollPane);

What version of the product are you using? On what operating system?
   I used the latest revision of piccolo2d(r400).
   jre1.6.0_07
   Windows XP SP3.

Please provide any additional information below.





Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to