| Author |
Get the changing title of Jnternalframe into JFrame
|
prav ford
Greenhorn
Joined: Apr 28, 2004
Posts: 16
|
|
|
I have a jtree in jinternalframe. my internal frames title reflects the selected node of the jtree. I need to get this changing title to reflect on the main jframe.
|
 |
Surasak Leenapongpanit
Ranch Hand
Joined: May 10, 2002
Posts: 341
|
|
Hi prav, You can using a method setTitle(String title) of JInternalFrame.
|
 |
prav ford
Greenhorn
Joined: Apr 28, 2004
Posts: 16
|
|
Hi, Let me make my problem more clear. I have a main frame, which has a internal frame. In that internal frame i have a jtree. Now when i click on the node of the jtree, i can update the title of the internal frame. I can reflect in the title , the node i have clicked. Now i need to do this on the main frame. I assume i need to listen to the jinternalframe state. Since i need to dynamically change the title of the main frame as the title of the internal frame changes. Can u help me in this regard. Regards, Prav_ford.
|
 |
 |
|
|
subject: Get the changing title of Jnternalframe into JFrame
|
|
|