You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "davd211 (via GitHub)" <gi...@apache.org> on 2024/05/13 10:36:02 UTC
[I] javafx [netbeans]
davd211 opened a new issue, #7375:
URL: https://github.com/apache/netbeans/issues/7375
### 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](https://github.com/apache/netbeans/files/15293083/messages.log)
este es el mensaje de log


### Are you willing to submit a pull request?
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] StackOverflowError during scan ant/javafx [netbeans]
Posted by "davd211 (via GitHub)" <gi...@apache.org>.
davd211 closed issue #7375: StackOverflowError during scan ant/javafx
URL: https://github.com/apache/netbeans/issues/7375
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] StackOverflowError during scan ant/javafx [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #7375:
URL: https://github.com/apache/netbeans/issues/7375#issuecomment-2126332768
the stack trace looks like it is walking a cyclic java module tree or something similar. Difficult to say without seeing the project - it might be a invalid `module-info.java` cycle or something like that.
it had some ant project stack frames in it, would be worth a try and check if it works with maven like @johntor suggested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] javafx [netbeans]
Posted by "johntor (via GitHub)" <gi...@apache.org>.
johntor commented on issue #7375:
URL: https://github.com/apache/netbeans/issues/7375#issuecomment-2123632056
Try File / New Project...
Select: Java with Maven
then: FXML JavaFX Maven Archetype
Chick Next and then Finish.
You should have a running JavaFX Example with FXML files.
Chears!
J!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists