thank you. does that mean the variables that are set inside the Action listener cannot be used outside the Action listener for any further purpose ? for example, I wanted to use the values of hname...
Type: Posts; User: Suzanne
thank you. does that mean the variables that are set inside the Action listener cannot be used outside the Action listener for any further purpose ? for example, I wanted to use the values of hname...
the variables are hname and p_number. The updates to the variables inside the action listener are not visible outside. I have commented the code in those places...
import java.awt.*;
import...
please see a standalone part of my code
hname and p_number are variables whose values do not seem updated outside the respective action listeners. perhaps, i have made some basic mistake. please...
host_name.addActionListener(new HostnameListener());
private class HostnameListener implements ActionListener
{
public void actionPerformed (ActionEvent event)
{
...