calling a method defined in another class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajs
    New Member
    • Mar 2008
    • 36

    #1

    calling a method defined in another class

    hello! I have a problem with a call to method defined in other class .
    I want to call this method in actionListener method actionPerformed
    can anybody solve this problem
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by pankajs
    hello! I have a problem with a call to method defined in other class .
    I want to call this method in actionListener method actionPerformed
    can anybody solve this problem
    If the method is non-static then you need an instance of it's class then you just do
    instance.method Name(parameters here);

    Comment

    Working...