i am trying to get the running balance of my system. To do it, i get the sum of all numbers in the jtable from column AMOUNT and subtract the sum to the value inside the txt
Your number is locale-dependent. Normaly a number can only contain optional minus sign at the beginning and optional decimal dot. Comma-separated thousands are not supported.
NumberFormat class, as Pablo Santa Cruz suggested, allows you to specify your own format of numbers and parse according to that format.
If you are going to use decimals, I can suggest using DecimalFormat