My program reads data from socket and now I want to display that data in a textbox. I splitted the data into seperate variables and here is my code:
                  final int aData = 0;
                  final int aData = 0;
                  final int cData = 0;
                      final String[] separated = data.split(":");
                      if ((separated.length == 3) && (data.contains(":")))
                      {
                            aData = Integer.parseInt(separated[0]);
                            bData   = Integer.parseInt(separated[1]);
                            cData     = Integer.parseInt(separated[2]);
                      }
                      handler.post(new Runnable() {
                            public void run() {
                                    txtDebug.setText("a: "+aData + " b: "+bData + " c: " + cData);
                            }
                          });
it doesn't allow me to run the program and shows me following error:
"The final local variable aData cannot be assigned. It must be blank and not using a compound assignment". Any help to solve the problem would be highly appreciated.
 
     
     
    