+ 1
jTextField1.setText((subject.length() + 10) + " ");
string subject= "informatics practices";
11 Respuestas
+ 14
welcome 👍
+ 13
well @Rohit
U must have wrote (""+subject.length()+10)
//thats why concatination started first
//why shock by 2110 ... its ""+21+10 only
+ 11
@Nomeh ,
I have worked with netbeans and this jTextField components are basic component just after the jLabels
//might available in both ☺
+ 9
String in place of string
//only 1 error found , ... btw this piece of code U must write in some button or events of a component
//are U using netbeans java IDE
//jTextField as a component for creating forms 👍
+ 9
31 will be the output [ bcz spaces are counted ]
//it will appear in the jTextField1 on clicking of the button or any other event
+ 2
@Gaurav!
...it's probably Android Studio
+ 1
yes
+ 1
can you please give me the output..
+ 1
ans given is 2110😓
+ 1
oo thanks brother.
+ 1
ans 21 10