I copied this code from school and it says that ...
public void itemStateChanged(ItemEvent it) has illegal start of expression and ';' expected could someone please tell me how to fix it
}
public void itemStateChanged(ItemEvent it)
{
if(it.getSource()==chkPencil)
{
intPencilCounter += 1;
dblPencilTotal=dblPencilPrice*intpencilCounter;
txaUserThings.serTexr("Pencils price: $" + dblPencilTotal +"\nNumber of pencils ordered "
+ intPencilCounter + "\n" + "\n");
}
