I have implemented my own javafx.concurrent.Task
, and I want to call its updateProgress
method outside its class declaration but error says: updateProgress(double,double) has protected access in Task
Example:
downloadTask.updateProgress(index,size);
Is this possible?