i'm new to java and i m trying do a simple program using netbeans.
but the line jTextField2.setText(vArray[0]); dont execute.
what i can do to run?
thanks..
private void click(java.awt.event.MouseEvent evt)
{
// TODO add your handling code here:
jTextField3.setText(funcaoDivideString("text1.text2.text3"));
}
public String funcaoDivideString(String vParametro)
{
String[] vArray = null;
vArray = vParametro.split(".");
jTextField1.setText("value");
jTextField2.setText(vArray[0]);
return vParametro;
}