@@ -0,0 +1,1568 @@
+package me.noahandrews.mediaplayersync.javafx;%0A%0Aimport javafx.geometry.Insets;%0Aimport javafx.geometry.Pos;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.layout.VBox;%0Aimport javafx.stage.Modality;%0Aimport javafx.stage.Stage;%0A%0A/**%0A * Copyright (C) 2016 Noah Andrews%0A * %3Cp%3E%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as published%0A * by the Free Software Foundation, either version 3 of the License, or%0A * (at your option) any later version.%0A * %3Cp%3E%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A * %3Cp%3E%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Aclass AlertBox extends Stage %7B%0A%0A    AlertBox(String message, String title) %7B%0A        initModality(Modality.APPLICATION_MODAL);%0A        setTitle(title);%0A        setMinWidth(250);%0A%0A        Label label = new Label(message);%0A%0A        Button okBtn = new Button(%22OK%22);%0A        okBtn.setOnAction(event -%3E close());%0A%0A        VBox pane = new VBox(10);%0A        pane.setPadding(new Insets(7.0));%0A        pane.getChildren().addAll(label, okBtn);%0A        pane.setAlignment(Pos.CENTER);%0A%0A        Scene scene = new Scene(pane);%0A        setScene(scene);%0A    %7D%0A%7D%0A

Create AlertBox class