DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Regarding JContentPane (http://www.daniweb.com/forums/thread167513.html)

srs_grp Jan 10th, 2009 11:10 am
Regarding JContentPane
 
We have 3 classes.In first class,we have a content pane and we have created object of second class on it.In second class,we have
added a few textfields.We want that all these textfields of second class should be visible in third class.Third class also has its own GUI components(textfields).

But the problem is that textfields in second class are not visible in third class.We have used removeAll() and repaint() methods for
removing components of third class and adding textfileds of second class.But it's not working.How can we do this?

puneetkay Jan 10th, 2009 11:14 am
Re: Regarding JContentPane
 
Hello,

Can you please post your code here ? :D


All times are GMT -4. The time now is 3:58 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC