netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

javafx

Open davd211 opened this issue 1 year ago • 0 comments

Apache NetBeans version

Apache NetBeans 21

What happened

estoy intentando que me funcione javafx.

Language / Project Type / NetBeans Component

No response

How to reproduce

/*

  • Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
  • Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template */ package javafx;

import static javafx.application.Application.launch; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage;

/** *

  • @author David.P */ public class Javafx {

public static void main(String[] args) { // TODO code application logic here launch(args); }

public void start(Stage stage) throws Exception { Parent root = FXMLLoader.load(getClass().getResource("FXML.fxml"));

Scene scene = new Scene(root);

stage.setScene(scene); stage.show(); }

}

este es el codigo que me han dado para ejecutarlo y me tendri aque saltar una ventanita, tambien tengo instalado scenebuilder

Did this work correctly in an earlier version?

No / Don't know

Operating System

windows

JDK

21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

messages.log este es el mensaje de log image image

Are you willing to submit a pull request?

Yes

davd211 avatar May 13 '24 10:05 davd211