}
private void showAddFileToCatalog(CategoryTreeNode categoryTreeNode, String description, Double length, File file) {
AddFileDialog addFileDialog = new AddFileDialog(catalogModel, categoryTreeNode, description, length, file);
addFileDialog.pack();
addFileDialog.restoreLocation();
addFileDialog.setVisible(true);
}
private void addFileToCatalog(CategoryTreeNode categoryTreeNode, File file) {