Using a component type in a function

Hi i'm beginner in Java

I want to use components variables as parameter for function

like :
[PHP]
public void mycomponent function(Comboboxtype myComboboxVar)
{
myComboboxVar.addItem(myobject);
}
[/PHP]

how can i write methods for components?

Thank you..
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories