Component resizing and JDesktopPane

I have problem with component initialization after its size changed. Suppose i created JInternalFrame and after that I make it visible with JDesktopPane.toFront(). In this case any component which is placed on procesed JInternalFrame recieve no ComponentEvent. Its interesting to me why EventQueue contains resize events before calling JDesktopPane.toFront(), but after the method returns EventQueue is empty. But registered eventlisteners are not notified about changes.

I posted similar question last week, but can't find it. Possibly it was removed. If there is something incorrect in my question, please explain me that. thank you.

[650 byte] By [__new_usera] at [2007-11-26 19:39:03]
# 1
Your other thread is here: http://forum.java.sun.com/thread.jspa?threadID=5139857A click on your username displays your posting history.Kaj
kajbja at 2007-7-9 22:17:47 > top of Java-index,Java Essentials,New To Java...