5 Replies Latest reply: May 2, 2011 3:17 PM by 802316 RSS

    Is it possible to call Listener's methods remotely ?

    808188
      Hello All,

      These methods belongs to
      ActionListener
      and
      PropertyChangeListener
      i need to realize these two cases and similar with other swing classes
      PropertyChangeEvent , ActionEvent
      .

      The server should call this method for each client, when ever some change occur in model:
       public void propertyChange(PropertyChangeEvent evt) {
              for (AbstractViewPanel view: registeredViews) {
                  view.modelPropertyChange(evt);
              }
          }
      in case of an event on one client, each client actionPerformed() should be called from server:
      @Override
      public void actionPerformed(ActionEvent e)  {
      }
      any help really appreciated,

      jibbylala