src/ui/dialog/Dialogs.java
/*
     * Show the attach a location dialog.
     */
Show the attach a location dialog.
Show the attach a location dialog .
public static void showLocationDialog() {
        try {
            final Parent root = FXMLLoader.load(Dialogs.class.getResource("/resources/fxml/LocationDialog.fxml"));
            showDialog(root, new OnShownAction() {
                @Override
                public void perform() {
                    for (Node node : root.lookupAll(".button")) {
                        if (node instanceof Button && ((Button) node).isDefaultButton()) {
                            node.requestFocus();
                        }
                    }
                }
            });
        } catch (IOException ex) {
            Model.getInstance().addException(new RemindersException("Could not load /resources/fxml/LocationDialog.fxml", ex, true));
        }
    }
public static void showLocationDialog ( ) { try { final Parent root = FXMLLoader . load ( Dialogs . class . getResource ( "/resources/fxml/LocationDialog.fxml" ) ) ; showDialog ( root , new OnShownAction ( ) { @ Override public void perform ( ) { for ( Node node : root . lookupAll ( ".button" ) ) { if ( node instanceof Button && ( ( Button ) node ) . isDefaultButton ( ) ) { node . requestFocus ( ) ; } } } } ) ; } catch ( IOException ex ) { Model . getInstance ( ) . addException ( new RemindersException ( "Could not load /resources/fxml/LocationDialog.fxml" , ex , true ) ) ; } }
Show the attach a location dialog.
Show the attach a location dialog .