The Correct MySQL statement is at below.
sql = "INSERT INTO ITEMDETAILS("
+ "ItemCode,"
+ "ItemType,"
+ "ItemSize,"
+ "ItemName,"
+ "ItemColour,"
+ "InStock,"
+"ItemPrice)" + "VALUES(" + txtICode.getText() + ",'" + txtIType.getText() + "','" + txtISize.getText() + "','" + txtIName.getText() + "','"+ txtIColor.getText() + "','" + txtIStock.getText() + "','" + txtIPrice.getText() + "')";