wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Help with Combo box and action listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help with Combo box and action listener" Watch "Help with Combo box and action listener" New topic

Help with Combo box and action listener

sunil menhdiratta

Joined: Jun 25, 2011
Posts: 1

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


Arun Chidam
Ranch Hand

Joined: May 08, 2006
Posts: 79
check the below code with some modification from your code......

SCJP 1.4, SCWCD 1.4
I agree. Here's the link: http://aspose.com/file-tools
subject: Help with Combo box and action listener
Similar Threads
Blank Frame or Panel
Won't Display
What is the best way to create GUI components- in-line, methods, inner classes or separate classes
button colors, etc.
mysql refused rmi connection