Proyecto
Proyecto
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
/**
*
* @author Juannez
*/
public class Proyecto extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("inscripcion.fxml"));
stage.getIcons().add(new Image("recursos/icono.png"));
Scene scene = new Scene(root);
stage.setScene(scene);
stage.setTitle("Escuela Secuendaria Tecnica N°55");
scene.getStylesheets().add(Proyecto.class.getResource("personalizar.css").toExterna
lForm());
stage.setResizable(false);
stage.show();
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}