This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

TabbedPanere opening major problem

Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem with tabed Pane.
My JTabbedPane had two panes
with each pane having a panel and a button in
I have this JtabbedPane in a JDialog
Now my frame i press a button and
invoke this JDialog
then when i close this JDialog
i remove all the pane of tabbedPAne
,now if i press again the button in my frame
i should display back the JDialog
with tabbedPane.
so always before displaying i add the tabs.
Now when i reopen for the second time
my problem is tab 1 will not display anything
,if change tab and come back to 1,
it works properly.
after i remove i said tab.revalidate(),repaint
and after i add i say the same.
Then also reopening i have this major problem
what is the solution to his
Ranch Hand
Posts: 15304
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am curious as to why you are removing the panals from the the tabs when you close the JDialog, however, without seeing the code you are using to do this function, it is hard to say what the problem is. Could you post some of your code?
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic