Forums Register Login

JTable To JTextField Disappearance Problem

+Pie Number of slices to send: Send
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
1
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
 


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.

+Pie Number of slices to send: Send
raghav, you didn't click the SSCCE link, did you?
+Pie Number of slices to send: Send
 

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.
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 509 times.
Similar Threads
JTable ........
How to move the selected row in Jtable to be the first row in the table
JTables
JTable
JTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:20:00.