This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with Combo box and action listener

 
sunil menhdiratta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have problem with below code, i want to populate the value of combobox into textfield,

I have defined action listener- migButtonAction. seems its in the new actionlistener class-migButtonAction, the object combo1 and myField is not visible,

I know it cant be as its defined in main class, Please suggest me . I tried defining those object as public but its not allowing me.

Please help

-Sunil

 
Arun Chidam
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the below code with some modification from your code......

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic