I do not believe so. make sure your variable you use to create your BorderPane object is of type BorderPane not type Pane.
e.g. BorderPane root = new BorderPane(canvas); NOT
Pane root = new BorderPane(canvas);
Had this same problem and Dr. Stonedahl had me change my variable type and it worked. BorderPane is a subclass of Pane and to access the unique methods of BorderPane(like .setCenter() and .setTop()) the variable must be of type BorderPane not type Pane