With debug

This commit is contained in:
Dmitry Isaenko 2020-05-10 19:47:09 +03:00
parent 6d4bed20a9
commit c78fdcdf12
2 changed files with 3 additions and 2 deletions

View file

@ -73,8 +73,10 @@ public class NxdtController implements Initializable {
dc.setTitle(rb.getString("tabSplMrg_Btn_SelectFolder")); dc.setTitle(rb.getString("tabSplMrg_Btn_SelectFolder"));
dc.setInitialDirectory(new File(saveToLocationLbl.getText())); dc.setInitialDirectory(new File(saveToLocationLbl.getText()));
File saveToDir = dc.showDialog(saveToLocationLbl.getScene().getWindow()); File saveToDir = dc.showDialog(saveToLocationLbl.getScene().getWindow());
if (saveToDir != null) if (saveToDir != null) {
saveToLocationLbl.setText(saveToDir.getAbsolutePath()); saveToLocationLbl.setText(saveToDir.getAbsolutePath());
statusLbl.setText("FreeSpace: "+saveToDir.getParentFile().getFreeSpace()); //TODO:REMOVE DEBUG
}
} }
/** /**
* Start reading commands from NXDT button handler * Start reading commands from NXDT button handler

View file

@ -31,7 +31,6 @@ import java.nio.ByteBuffer;
import java.nio.ByteOrder; import java.nio.ByteOrder;
import java.nio.IntBuffer; import java.nio.IntBuffer;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import java.util.Arrays; import java.util.Arrays;
class NxdtUsbAbi1 { class NxdtUsbAbi1 {