Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

The bean class show null value  RSS feed

 
sudarshan jadhav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to call bean class value into a text box in java?show null value on command line
My code is as follow

bean class


string break class

 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


You're getting a bean values without setting it. Please go through this definition and example of JavaBean.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1103
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sudarshan ,
Please UseCodeTags (click on this link) when posting code.
 
sudarshan jadhav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank for reply
The getter setter method that is commandbean() class function is call in GetCommand() class and all values are get in it but in RTUConfig() class the getter setter that is commandbean() class method pass null value please help me?
Thank you in advance
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1103
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sudarshan jadhav wrote: The getter setter method that is commandbean() class function is call in GetCommand() class

where? I don't see that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!