amrit sharma wrote:hii..
i want to know how can i call a function of a different class using actionlistener event ....and how can i switch between different functions on the selection of a radiobutton..
plse help..
amrit
Well, you're not providing enough information here to understand what you really want. Additionally, it seems you're asking two separate questions. It would be best to ask each question in its own Topic.
If the method is static (a class method), you can just prefix the method name with the class name. If the method is an instance method, you need a reference to the object instance. How you get that depends on the details of your application.
Perhaps you could provide some more details and show what you've tried and what result you're getting?
As for the radio button, have a look at the tutorials provided by Sun. Using Google, I just searched for
Java Radio Button Tutorial and the very first hit is a tutorial provided by Sun. Give it a try.