• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable To JTextField Disappearance Problem  RSS feed

 
raghav singh
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

When selecting a row from JTable all the values are being correctly transfered to all my JTextFields but problem is that they don't appear visible at first. I need to select the blank space in each JTextfields to make them appear.
How do i correct this problem?.

Thanks for you in advance
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raghav singh wrote:How do i correct this problem?


Difficult, if not impossible, to say without seeing how you are performing the transfer. To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.
 
raghav singh
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.


This the code where i transfer all values from a row in a JTable to all JTextFields.

As i said the code work but they are not visble unless you select the blank space in each textbox then they will appear and stay visible.

 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raghav, you didn't click the SSCCE link, did you?
 
raghav singh
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:raghav, you didn't click the SSCCE link, did you?


Sorry i don't know how to do this. I thought by enclosing in "code" is the same thing. Since i don't know where is SSCCE link. Let's close the topic. In this way i won't lose your time and my time.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!