In each of the following lines taken from a Java program, Eclipse has flagged a
syntax error. Identify and fix the error.
if(x == 3) && (y == 4) // x and y are both integers
m_MainPanel.setSize(640, 480) // m_MainPanel is a JPanel
m_Label1.setLocation(32); // m_Label1 is a JLabel
while(count <= 3 // count is an integer
m_StatusTF = New JTextField(); // m_StatusTF is a JTextField
m_MainPanel.add(JSlider); // m_MainPanel is a JPanel
m_TextButton1.setBackgroundColor(Color.WHITE); // m_TextButton1 is a JButton
listData.add(new String("List item 01); // listData is a Vector
public static void main(String args) // start of the main() function
if(val = 2.5) // val is a double
for(int i=0, i<10, i++) // start of a for loop
System.out.println("Num = ", num); // num is an integer