This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help in JtabbedPane

 
pooja prabhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have a form in which i have menu items and in one item there is a form containing JTabbedPane. My Jtabbedpane contains JScrollPane. The Problem is When I run My Project for the first time it works fine.But if i close the second screen and and load it again it doesn't show any records. Do Check Attachment.
Please help guys
tabs.GIF
[Thumbnail for tabs.GIF]
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this type of error is generally found on line 42 of your code.
 
pooja prabhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply......I have declared a string on line 42. can you Elaborate?
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Michael means is that post your SSCCE code so we can try and help you figure out what is going wrong.
Please do take out time to check what SSCCE (<= click this) really means.
 
pooja prabhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm did you even bother to check out what SSCCE really means? Is the code you posted SSCCE? Will it compile and run if we download it? Does it demonstrate the problem?
 
pooja prabhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes..all the parts are interrelated..I dint know how to put code tabs.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes? So you are saying if I download the code you posted, it will execute? Really?
 
pooja prabhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your valuable time.... Issue solved...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic