NetBeans: Syntax-Highlighting JavaScript embedded in XML
Stack Overflow Forums » Net Beans
by martin.lindenlauf
2d ago
I'm using Apache NetBeans 22 (Windows, all settings default). I'd like to syntax highlight JavaScript code that is embedded in XML. The file extension is .xml. The JS-Code is embedded inside <js>-Tag and CDATA like this: <js> <![CDATA[ ${cursor} ]]> </js> How do I manage to get the JS syntax-highlighted in NetBeans 22 ..read more
Visit website
In NetBeans 22 unit tests does not see the source classes in the same package
Stack Overflow Forums » Net Beans
by JHead
2d ago
In unit tests, the source classes are not accessible in the modular, Ant-based project if the module-info.java is defined. Unfortunately, I haven't found a solution for this. In NetBeans 15 it worked. Has anyone encountered a similar problem? Do you know a solution for this? This is a screen shot that shows the problem ..read more
Visit website
Java - Trying to call upon method to open GUI from separate class but not opening (Netbeans) [closed]
Stack Overflow Forums » Net Beans
by Oxi
3d ago
I am currently trying to create a piano keyboard and wanted to include themes, i figured the best way to do that was present the option on startup, to ask the question of what theme to use, tried and the radio buttons were not working and I have kinda deduced it down to the initComponents() method of the class KeyboardGUIClassic not functioning when being called, any help, tips or suggestions on the problem or even the program would be helpful. The only direct modification I did to try and solve the issue of initComponents(), was to change it to public but it is not working,I also used a try a ..read more
Visit website
Issue with Opening NetBeans TopComponent at Startup
Stack Overflow Forums » Net Beans
by Ece Çanga
5d ago
I'm working on a NetBeans Platform application and I want to open a TopComponent automatically when the application starts. Despite following the typical steps, my TopComponent does not open at startup. Here are the steps I have followed: Created the TopComponent: package com.example.myapp; import org.openide.windows.TopComponent; import org.openide.awt.ActionID; import org.openide.awt.ActionReference; import org.openide.util.NbBundle.Messages; @TopComponent.Description( preferredID = "MyTopComponent", persistenceType = TopComponent.PERSISTENCE_ALWAYS ) @TopComponent.Regis ..read more
Visit website
Hi guys so I was tasked to build a program known as Class Attendance and Monitoring System, Apache Netbeans 17, 8.0 Mysql server and workbench
Stack Overflow Forums » Net Beans
by Rance Solatorio
6d ago
/*So in the addstudentjpanel form I had issues with the generated variable declaration on the end of the code. enter image description hereenter image description here how do I fix this? if you have facebook please let me know and contact you ..read more
Visit website
How to add a mysqlconnector jar file in netbeans 22 web app project
Stack Overflow Forums » Net Beans
by George Tebrox
6d ago
So I'm new to Java and I', working in Netbeans 22 and I dont have a Library dir within my project. I tried adding a driver thru Services/Drivers/Add driver, i added the latest verison mysqlconnector (8.4.0). But whenever i try to run the app it just wont find the jdbc class. Can anyone help pls I'm trying to practice for my exams and this is making my life so much harder. I also tried manually adding it in some directives chatGPT told me to add but i couldnt find them withing my project folder ..read more
Visit website
When using Gradle 8, you must set the JAVA17_HOME environment variable to the location of a Java 17 JDK
Stack Overflow Forums » Net Beans
by Mike Clonts
1w ago
I’ve been unable to build codenameone Android Gradle Projects since upgrading on NetBeans 12.6 to codenameone-maven-plugin:7.0.150. Receiving the following error message: Generating android gradle Project to /Users/mike/IT/NetBeansProjects/myapp/android/target/myapp-android-1.0-SNAPSHOT-android-source... Starting android project builder... Failed to build Android project with error: When using gradle 8, you must set the JAVA17_HOME environment variable to the location of a Java 17 JDK com.codename1.builders.BuildException: When using gradle 8, you must set the JAVA17_HOME environment variab ..read more
Visit website
Problem with pdf file path when executig jar on javafx project
Stack Overflow Forums » Net Beans
by user25400402
2w ago
I have a JavaFX application developed in NetBeans that sends emails with pdfs. The application works fine within NetBeans, but when I generate the JAR file and run it, and i attempt to send an email with an attached PDF file I receive a FileNotFoundException. This is the code of the method: public static void sendEmailWithAttachment(String recipientEmail, String subject, String body, String filePath) throws IOException { Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.starttls.enable", "true"); props.put("mail.smtp.host", "smtp.of ..read more
Visit website
"Tomcat with the same Catalina Home folder is already registered."
Stack Overflow Forums » Net Beans
by Messa Tee
2w ago
I'm still new to programming, and as much as I tried to find a solution online, I couldn't find anyone giving an answer to this problem. Basically I'm running "Apache NetBeans IDE 18" with Tomcat version 10.1. I first tried to port a code so I could practice for a test, then noticed the "Javax doesn't exist" error, leading me to finding out I have to use the Tomcat library, and I made a test servlet and used the Tomcat folder as my server location. It worked and I resolved the Javax issue by replacing it with Jakarta, and as I started to go back to the original code, hoping to "resolve the ser ..read more
Visit website
Visual studio vs Netbeans [closed]
Stack Overflow Forums » Net Beans
by user25393563
2w ago
Visual studio vs Netbeans Which IDE is most popular amongst website developers? Just trying to gauge popularity of the IDEs. I've used Netbeans but seems to be buggy and doesn't have seemless cloud or even local server deployment features ..read more
Visit website

Follow Stack Overflow Forums » Net Beans on FeedSpot

Continue with Google
Continue with Apple
OR