Give the Timeline top compnent the required ctor

This commit is contained in:
Richard Cordovano
2019-06-18 19:33:52 -04:00
parent 007a45aa47
commit 7434b9037d
@@ -254,7 +254,7 @@ public final class TimeLineTopComponent extends TopComponent implements Explorer
}
/**
* Constructs a "static" version of the top component for the Timeline
* Constructs a "shell" version of the top component for the Timeline
* feature which has only Swing components, no controller, and no listeners.
* This constructor conforms to the NetBeans window system requirement that
* all top components have a public, no argument constructor.
@@ -288,7 +288,7 @@ public final class TimeLineTopComponent extends TopComponent implements Explorer
*/
public TimeLineTopComponent(TimeLineController controller) {
this();
this.controller = controller;
Platform.runLater(this::initFXComponents);