Questions tagged [netbeans]

NetBeans refers to both a platform framework for Java desktop applications, and an integrated development environment (IDE) for developing with Java and other languages.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Can I Install Zend on my windows laptop which is already installed/successful using Netbeans

I am beginner and learner. Currently I'm try to learn and gain more and more knowledge and skills on PHP. I have a lot of dummy questions. But first thing, I am really appreciate your help to answer ...
huzdam's user avatar
  • 1
-1 votes
0 answers
11 views

how i solve this error cannot invoke "Object.toString"because the return value of "javax.swing.JTable.getValueAt(int, int)" [duplicate]

int sum = 0; for(int i = 0; i<jTable.getRowCount(); i++) { sum = sum + Integer.parseInt(jTable.getValueAt(i, 4).toString()); } ...
Rence's user avatar
  • 1
-2 votes
0 answers
20 views

I cant access data from the SQL database [duplicate]

My code generates an Exception and I cant seem to find a solution to the problem. Even chatGPT can't seem to solve the problem. Exception in thread "AWT-EventQueue-0" java.lang....
Dr Z's user avatar
  • 1
0 votes
0 answers
22 views

Building parent project always recompiles all modules

I have a parent project with many child modules (it's a Netbeans platform application). The app builds and runs OK. If I run mvn compile on the parent project twice, the 2nd time it's fast because ...
jjazzboss's user avatar
  • 1,211
-1 votes
0 answers
20 views

Adapting JavaFX scenes to different sizes during transitions

I am working on javafx project that have multiple pages, The problem is that all the pages mentain the main page size, and the content wont fit that size. this is the main page .FXML code <?xml ...
Ahmed AL-ghamdi's user avatar
-2 votes
0 answers
15 views

How do I solve Exception in thread "main" java.util.zip.ZipException: zip END header not found [closed]

I am trying to run a spring mvc project I got from spring.io and I keep getting this error anytime I try to build it on netbeans, I haven’t added any code to it it’s straight from spring.io. I have ...
Chukwuma Emmanuella's user avatar
-2 votes
0 answers
15 views

PGadmin 4/ netbensJava [closed]

public class Conexao { public Connection getConnection() throws SQLException{ Connection connection= DriverManager.getConnection("jdbc:postgresql:loginbanco", "postgres", &...
Fabio Nogueira's user avatar
-3 votes
0 answers
42 views

How to fix the error in trying to run a netBean GUI program in Eclipse?

I am trying to run my netbeans program that uses a GUI interface on Eclipse, I copy and pasted the source code into eclipse however when I run it I get an Error which I believe is from this ...
Golden Boy's user avatar
0 votes
0 answers
12 views

CLone github into netbeans project and problem: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null I need help please! When ...
HÒA LÊ TẤN's user avatar
-5 votes
1 answer
79 views

How to fix a Java program in NetBeans that fails to calculate average and count elements above average for a user-inputted array? [duplicate]

I am attempting to build an array that will take a total number of digits--in this case 10 digits--and give me the average and the number of elements above that average. The build runs, but after I ...
NayxAshanti's user avatar
0 votes
1 answer
33 views

How to add JAR library to Java project in NetBeans 17 IDE?

I try to code in Java with framework Jade so i downloaded proper file (jade.jar). I copied it's path and pasted to system's CLASSPATH. In Apache Netbeans IDE i choose: tools->libraries and then i ...
Physicist's user avatar
-2 votes
0 answers
15 views

Dbms project using netbeans [closed]

java.lang.ClassCastException: class com.mysql.cj.jdbc.ConnectionImpl cannot be cast to class connection.Connection (com.mysql.cj.jdbc.ConnectionImpl and connection.Connection are in unnamed module of ...
jayashri musale's user avatar
1 vote
0 answers
15 views

Is it possible to change the font/style/color of inline hints?

I did not know it was a thing, and after formatting and installing netbeans 17 it was turned on by default. It is cool and all, and id like to use it, but i cant find any options for it besides on/off....
TeKett's user avatar
  • 51
-1 votes
0 answers
12 views

Couldn't access the file inside the jar it is stored [duplicate]

So, i have done a project in Netbeans gui builder and there are few files i created. But when i run the java file in netbeans it works fine i can read the file using FileInputStream but when i build ...
Abhisek Pandey's user avatar
0 votes
0 answers
28 views

Apache NetBeans 17.0 Java Highlighting Not Working [closed]

Suddenly the hints and highlights on Netbeans stopped working for me. It won't show suggestions on imports and it won't highlights errors. I've checked >Preferences >Editor and form what I can ...
stein's user avatar
  • 1
0 votes
0 answers
69 views

com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) [closed]

{ Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String url="jdbc:sqlserver://LAPTOP-HJOFUHOH\\MSSQLSERVER02:1433;databaseName=DOAN;encrypt=false;trustServerCertificate=...
Gecko's user avatar
  • 9
-3 votes
0 answers
21 views

What is wrong if a graphic shape does not appear in a JPanel for a Netbeans swing application? [duplicate]

I have problems to show graphic shapes in a panel when it opens, using java swing GUI application. The following code was generated by Netbeans 17 for a Swing application. It is just a tabbed frame ...
Juan's user avatar
  • 1
0 votes
0 answers
130 views

Unable to process file error with maven-dependency-analyzer

mvn dependency:analyze on my project is unable to process files (see log below). I can't understand why, the compilation seems OK since I can run the application fine. The parent pom.xml configures ...
jjazzboss's user avatar
  • 1,211
-3 votes
0 answers
17 views

why came this error in when I login my system came this error java.lang.classnotfoundexception com.mysql.jdbc.driver [duplicate]

How to fix java.lang.classnotfoundexception com.mysql.jdbc.driver The database connection is successful, but the login page comes with an error when I run the login.java file. How to fix it. I used ...
Thilini NIluka's user avatar
-2 votes
0 answers
83 views

Can't run JAVA FX with JAVAFX17 and JDK 19 [closed]

While running the code on Apache Netbeans 17 with JAVAFX, the following error appeared: C:\Users\User\Documents\NetBeansProjects\javafxpos-main\nbproject\jfx-impl.xml:3867: The following error ...
Ken Montellano's user avatar
-1 votes
0 answers
28 views

Can't run JavaFX Application on Netbeans 16 [duplicate]

I'm new to JavaFX, I downloaded the required programs (Netbeans 16, JDK 17, Scene Builder) I only created a new project, didn't change anything with the basic template, and I have this error, I tried ...
Ahmed's user avatar
  • 1
0 votes
0 answers
19 views

Netbeans 17 - How to stop background scanning of projects?

Netbeans has been very annoying, I used Netbeans 8 with Maven projects before and it didn't have this issue, but since I had to update to java 11 and use Netbeans 17, this problem appears. It is ...
Bằng Rikimaru's user avatar
1 vote
1 answer
77 views

java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible

I am trying to create and run a jsf web app of 'hellow world' in netbeans using glassfish. I am using netbeans 17. I am using jdk 17 for glassfish 7. I have jdk 20 and jdk 17 installed. I have ...
aapt's user avatar
  • 11
0 votes
1 answer
40 views

Cannot find required version of java tm runtime environment when trying to install Glassfish

I installed NetBeans and I installed jdk 20. But when I try installing glassfish 3.2.2 I get the following error: "Could not find required version of java(TM) runtime environment in 'C:\...
aapt's user avatar
  • 11
0 votes
1 answer
29 views

404 no such file or directory, php netbeans project

Ive got a Netbeans php project that looks like this: PhpProject/ projets/ uploadImage/ **resize.php** the file I run assets/... ...
leglu's user avatar
  • 9
1 vote
1 answer
65 views

Error own Maven Dependancy to new FXML project

I have created simple maven project for two numbers to sum. public class AddNum { public int getTwoNumbers(int x, int y) { int addnum = x + y; return addnum; } } After that I ...
Kanishka's user avatar
  • 101
0 votes
0 answers
26 views

Why isnt netbeans letting me use lambda expressions on dragged and dropped buttons in GUI

For some reason, it is not letting me use lambda expressions instead of private void btn_addActionPerformed(java.awt.event.ActionEvent evt) { } How do I implement lambda expressions in ...
TrignoLord's user avatar
0 votes
0 answers
25 views

Jar file doesn't read custom fonts but works fine when I run file in netbeans

When I run the jar file it turns into a default font, unlike when I run it in netbeans the code works perfectly fine. This is my code: public class login extends javax.swing.JFrame { /** * ...
Velinity Ballestine's user avatar
-2 votes
0 answers
20 views

Netbeans shows me this error and I dont know what it means [duplicate]

Im writing a code in java lenguage and Im having trouble with 5 lines, I dont understand the error or how to fix it, please help. The error says: "local variables referenced from a lambda ...
Max's user avatar
  • 1
0 votes
0 answers
6 views

Cannot find main classes set while using jframe in netbean [duplicate]

[enter image description here](https://i.stack.imgur.com/ldWe3.png) My netbeans main classes cannot been found when I use jframe, but other than jframe, netbeans can function properly, I really dont ...
Lim wei jun Edward's user avatar
-1 votes
0 answers
29 views

Javadoc not found - jakarta.servlet (Tomcat 10.0.23, Apache Netbeans 13, JDK 1.8.0_321)

By default, Netbeans 13 template using javax, which is not included in Jarkata EE platform equipped by Tomcat 10. So I replace all javax by Jakarta package. But I can't see or perform show javadoc. ...
DuyDuc's user avatar
  • 1
1 vote
0 answers
13 views

maven surefire logging (NetBeans)

I have a maven project with 1 JUnit5 test using mvn and surefire. I havespring-boot-starter-logging (so really logback) for logging and I have a logback-test.xml in src/test/resources. When I right ...
alessandro ferrucci's user avatar
0 votes
1 answer
22 views

Can clang-format be used in Netbeans versions greater than 8.2

I am currently using newest Netbeans version 17 with C/C++ plugin from Netbeans 8.2 Plugin Portal. Is there a way to use clang-format as shown in this answer? When I open project properties -> ...
ralph's user avatar
  • 111
0 votes
0 answers
61 views

I can't connect my javafx project to an Oracle 11 database [duplicate]

Project tree: ReparacionesElectronicas controlador: Principal.java VClientesController.java modelo: Conexion.java Reparacion.java ReparacionDao.java recursos: Utilidades.java -recursos.imagenes: some ...
Daniel's user avatar
  • 1
0 votes
0 answers
20 views

Derby foreign key

Hello guys and good day. I have Table "T1" that has primary key "ID" and another Table "T2" that has foreign key "T1ID" reference from the primary key"ID&...
Lart's user avatar
  • 1
0 votes
0 answers
22 views

JAVA - Form Loaded With Errors - How can I import and open a project that uses JCalendar.1.4? (NetBeans)

I get the following error message when I try to use a form in this project. The project uses the library JCalendar.1.4. I already downloaded the library and I did this to add it I clicked on: Tools ...
Vane V's user avatar
  • 1
1 vote
1 answer
71 views

What version of Java supports GlassFish 7.0.0 on a Mac?

I have NetBeans 17 and the highest GlassFish version is 7.0.0. I have Java JDK 19 installed but GlassFish tells me it is not compatible with JDK 19. What version of JDK is suitable for GlassFish 7.0.0 ...
Sheriff Sulemana's user avatar
0 votes
0 answers
34 views

How do I call a method inside of a JFrame GUI every 10 seconds/while user is texting?

So I wanna call this method every ten seconds (or in other way, but it has to convert all input it gets from the userInput JTextArea automatically). How could I've done it? private void convertMethod()...
RatherCruel's user avatar
-2 votes
1 answer
25 views

How can I connect a Tomcat server in a Virtual Machine with Netbeans on the Host machine?

I have a VMware Workstation machine running a terminal-only Ubuntu, which contains an Apache Tomcat server. The server is running and I can access it through the Host using the web browser, but I need ...
0xracer's user avatar
-1 votes
0 answers
11 views

How to retrieve data on database and add the values inside a child panel then added to a parent panel through code

I'm able to succesfully retrieve the data through my table but I somehow do not know how to add them through an exisitng panel. here is the code: Connection con=DriverManager.getConnection("jdbc:...
Geo Pineda's user avatar
1 vote
0 answers
62 views

I need run springboot in netbeans

Spring boot in Netbeans Hi, I'm trying to make a web app, for this I need to open Spring boot in Netbeans, but when I try to execute a new project, I get the following message: enter image description ...
Manuco's user avatar
  • 11
0 votes
0 answers
31 views

What should I do if there is a warning after download NetBeans

Today I used NetBeans to write code, but it suddenly crashed, running very slow, and can't open anything. I tried to delete it and download it again, but when I just downloaded it and opened it, it ...
i i's user avatar
  • 11
0 votes
2 answers
72 views

What is causing the error Exception in thread "main" java.lang.RuntimeException: Uncompilable code, with no other explanation except xml stuff?

I'm trying to make an EasyPrint class that allows you to print to the console with just print(), println(), and printf(), instead of having to do System.out or out. It also lets you set it to use a ...
Choosechee's user avatar
-3 votes
0 answers
29 views

Program do not run when I put picture [duplicate]

Why is my program in netbeans GUI do not run when I put picture?[enter image description here] (https://i.stack.imgur.com/SVdOf.png) Run the program because I'll be needing to put photo in each of my ...
Andrea Nicole Rusiana's user avatar
-2 votes
0 answers
15 views

im using netbeans but setEchoChar cannot be found, im sure that the spelling is correct [duplicate]

private void showActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: if (show.isSelected()) { password....
uta's user avatar
  • 1
0 votes
0 answers
69 views

Solution to this problem? Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project

I am an absolute beginner (just started learning Java/programming) and I am using NetBeans IDE 13 with JDK 15.0.1 for school I'm having this issue when I run this simple Java Hello World program in ...
Amir Haziq's user avatar
-2 votes
1 answer
58 views

Resize an existing Java Swing application [closed]

I created a GUI in netbeans using absolute layout for most of it. I want my components to auto resize and I know you have to use gridbag layout to do so. Will I have to restart using gridbag from the ...
Unidong's user avatar
1 vote
0 answers
30 views

JavaFX UNKNOWN Media Exception Upon Netbeans Upgrade?

After using Netbeans 12.6 (the Netbeans project was in Limbo) locally for a few years, I actually installed the Netbeans flatpak package (latest update as of 2023-05-05). I'm running on Manjaro (tried ...
Sarah Szabo's user avatar
  • 10.3k
0 votes
0 answers
31 views

In NetBeans IDE disable popup error description on hover?

In NetBeans IDE how to disable popup error description on mouse hover? Example: P.S. I'm using NetBeans 17.
Yevgeniy Afanasyev's user avatar
-2 votes
0 answers
62 views

FMXL SceneBuilder file won't open on Netbeans all of a sudden

I have been working on this project for a while and everything has worked correctly until now. All of a sudden, one of the FMXL files I had finished doesn't open anymore and I can't quite understand ...
Lyf's user avatar
  • 1

1
2 3 4 5
484