Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuickTime Image Producer



Hello friends,

I have a problem in placing a components.

I have a JPanel whose background is set by backgroundpanel(backgroundpanel is JPanel in which the image is painted(using QuickTime ImageProducer)).

So JPanel's background image is set like this.

Now i am adding swing components(JButton,JTextField..) over this JPanel.
JPanel.add(Backgroundpanel);
backgroundpanel.add(jtextfield1);
....
But these swing components are not visible.But if these components are AWT components then its visible.

How come be overcome.
Light weight component(JButton,JTextField..) is being placed over the lightweightcomponent(JPanel).
Then why is not possible.I need Swing components to be placed.

Excepting ur replies,

with regards,
Valar.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.