Jlabel ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Jlabel ???

Hello there, I’m hope someone can tell me if I can copy text from a Jlabel, Let’s see, I wanna set text in a Jlabel, on it’s side a want to fill a Jtextfield and then create a method to copy text from Jlabel + numbers from Jtextfield. Jlabel: Jtextfield I’ll appreciate the help, thx...

2nd Jul 2018, 4:46 PM
Elvis Card
Elvis Card - avatar
2 Answers
0
there is getText method in JLabel object it will get text content of it
2nd Jul 2018, 5:26 PM
Vineet Bharadwaj
Vineet Bharadwaj - avatar
0
thx
2nd Jul 2018, 7:07 PM
Elvis Card
Elvis Card - avatar