Using a component type in a function - Programmers Heaven

Howdy, Stranger!

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

Categories

Using a component type in a function

akar2007akar2007 Posts: 1Member
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.