Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

llegalArgumentException: adding a window to a container

843805May 2 2007 — edited May 2 2007
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container
at java.awt.Container.addImpl(Container.java:1010)

I am using NetBeans to create my app... I have a seperate class that creates a Frame and I would like to be able to call this class to generate a frame and add it to an internal frame in the main class. Is this possible? Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2007
Added on May 2 2007
1 comment
1,091 views