Professional Documents
Culture Documents
filesketch = fileChooser.showOpenDialog(chooseStage);
if (filesketch != null){
desktop.open(filesketch);
path.setText(filesketch.getAbsolutePath());
imgpath = new Image(filesketch.toURI().toString());
imgview.setImage(imgpath);
}
}catch (IOException e1){
Logger.getLogger(SuperviserFXMLContoller.class.getName()).log(Level.SEVERE, null,
e1);
}