This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

refreshing the jtabbedpane  RSS feed

 
mohan rajv
Ranch Hand
Posts: 30
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!