src/ui/dialog/Dialogs.java
/*
     * Show the create or edit reminder dialog.
     */
Show the create or edit reminder dialog.
Show the create or edit reminder dialog .
public static void showReminderDialog() {
        try {
            final Parent root = FXMLLoader.load(Dialogs.class.getResource("/resources/fxml/ReminderDialog.fxml"));
            showDialog(root, new OnShownAction() {
                @Override
                public void perform() {
                    Node first = root.lookup(".text-input");
                    if (first != null) {
                        first.requestFocus();
                    }
                }
            });
        } catch (IOException ex) {
            Model.getInstance().addException(new RemindersException("Could not load /resources/fxml/ReminderDialog.fxml", ex, true));
        }
    }
public static void showReminderDialog ( ) { try { final Parent root = FXMLLoader . load ( Dialogs . class . getResource ( "/resources/fxml/ReminderDialog.fxml" ) ) ; showDialog ( root , new OnShownAction ( ) { @ Override public void perform ( ) { Node first = root . lookup ( ".text-input" ) ; if ( first != null ) { first . requestFocus ( ) ; } } } ) ; } catch ( IOException ex ) { Model . getInstance ( ) . addException ( new RemindersException ( "Could not load /resources/fxml/ReminderDialog.fxml" , ex , true ) ) ; } }
Show the create or edit reminder dialog.
Show the create or edit reminder dialog .