Im trying to input 11 digit numbers but i got an error when parsing from string to int
JLabel lblMobile = new JLabel("Mobile No. :");
add(lblMobile);
JTextField txtMobile = new JTextField("");
add(txtMobile);
int CUSMobnum = Integer.parseInt(txtMobile.getText());