File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes refreshing the jtabbedpane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "refreshing the jtabbedpane" Watch "refreshing the jtabbedpane" New topic
Author

refreshing the jtabbedpane

mohan rajv
Ranch Hand

Joined: Jan 28, 2009
Posts: 30
in my GUI i have a jtree and jtabbedpane.
if i click any element in the jtree i will get a new tab in jtabbedpane. and there is a submit button in my panel.and while submitting that panel i am changing the title for tat panel using jtabbedPaneObject.setTitleAt("newTitle");
but it is not changing the title of that panel.what might be the error?

thanks..
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> but it is not changing the title of that panel.what might be the error?

we shouldn't have to guess.

try posting some simplified code that we can compile/run and see EXACTLY what you're doing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: refreshing the jtabbedpane