TextWorkbenchView.java

/**
 * Copyright (c) 2016 European Organisation for Nuclear Research (CERN), All Rights Reserved.
 */

package org.minifx.workbench.components;

import javafx.geometry.Insets;
import javafx.scene.control.Label;
import javafx.scene.layout.BorderPane;

public class TextWorkbenchView extends BorderPane {

    public TextWorkbenchView(String text) {
        setCenter(new Label(text));
        setPadding(new Insets(10));
    }

}