wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Get the changing title of Jnternalframe into JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Get the changing title of Jnternalframe into JFrame" Watch "Get the changing title of Jnternalframe into JFrame" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get the changing title of Jnternalframe into JFrame
 
Similar Threads
Customising the editor in JTree
JTree
JTree
JTree
Replacinf Java cup icon of JFrame and changing default folder look in JTree