aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Get the changing title of Jnternalframe into JFrame
 
Similar Threads
JTree
Replacinf Java cup icon of JFrame and changing default folder look in JTree
JTree
JTree
Customising the editor in JTree