GeeCON Prague 2014*
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
 
GeeCON Prague 2014
 
subject: refreshing the jtabbedpane