Search:

Type: Posts; User: Suzanne

Search: Search took 0.20 seconds.

  1. Replies
    7
    Views
    4,035

    Re: Action Listener

    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...
  2. Replies
    7
    Views
    4,035

    Re: Action Listener

    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...
  3. Replies
    7
    Views
    4,035

    Re: Action Listener

    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...
  4. Replies
    7
    Views
    4,035

    Action Listener

    host_name.addActionListener(new HostnameListener());

    private class HostnameListener implements ActionListener
    {

    public void actionPerformed (ActionEvent event)
    {

    ...
Results 1 to 4 of 4