File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refreshing the jtabbedpane

 
mohan rajv
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic