Most voted "netbeans" questions
Netbeans IDE is a free and open source integrated development environment (IDE) for software developers in Java, C, C++, PHP, Groovy, Ruby, and more. The IDE runs on many platforms, such as Windows, Linux, Solaris, and Macos. Netbeans IDE Provides Developers with Tools to Build Professional Desktop, Enterprise, Web, and Mobile Cross-Platform Applications.
Learn more…259 questions
Sort by count of
-
11
votes4
answers870
viewsWhy can an if be redundant?
Using a method that returns a boolean the system would determine whether a number is positive or negative. So I did it this way: public boolean isPositive(float num) { boolean positive; if (num…
-
9
votes1
answer210
viewsNetbeans Project with git and Composer repository
I am developing a PHP project that requires two libraries separately. I am required to use NETBEANS. To develop the three separately but at the same time and because the main project "MAIN PROJECT"…
-
9
votes1
answer503
viewsQuestions about Mysql integration with Java
I am creating a system in Netbeans, using the Java language and the Mysql database. I wrote the following code to make the connection between the program and the database: public class Conexao {…
-
8
votes1
answer168
viewsProject that Imports Other Netbeans Projects
I have a project where is the whole part of Hibernate configuration. In the final project I will have some more projects (Personal Registration for example) that will need the project that has…
-
7
votes2
answers36959
viewsHow to generate an executable program . jar in Netbeans?
I made an application in Java and liked, now I need to get executable to show my colleagues. How do I get the executable?
-
7
votes5
answers675
viewsWhy does Netbeans warn you not to access global variables directly?
Netbeans suggests that we do not access the global variables of PHP type $_SERVER[''] directly, what is the suggestion in this case? It’s usually done this way: <?php $ip =…
-
6
votes1
answer12542
viewsTomcat startup problem
As a stopgap measure for this mistake, I installed XAMPP and placed it (Tomcat) as a container for Netbeans. But when I run a project in Netbeans, the following error appears in the Tomcat console…
-
6
votes1
answer1189
viewsComparing Ides to java
Next semester I will have to choose between two Ides: Netbeans and Eclipse. I will need to develop desktop apps, and I’m having doubts about: Tools for graphical user interface Hardware Requirements…
-
6
votes1
answer400
viewsHow to Change the VM Heap Space on a Netbeans Platform Project
I’m having the following problem: I have a project from Application of the Netbeans Platform that during the execution the application hangs for good and nothing else responds (one minute of…
-
6
votes1
answer4386
viewsnetbeans change java jdk
I upgraded my java, and removed the previous version, now on startup the netbeans gets a message that did not find version 1.7 and asks if I want to use the version default. Does anyone know where I…
-
6
votes2
answers6368
viewsHEAD is Detached in Repository
I’m using NETBEANS and GIT. I made a few changes to when the commit is giving this message: HEAD is Detached in Repository My repository is like this:…
-
6
votes2
answers264
viewsWhat is the shortcut in Netbeans to close all "+" functions?
I remember having this function in Netbeans. It’s a shortcut that closes all (+) functions or divs.
netbeansasked 7 years, 6 months ago Guilherme Freire 767 -
6
votes3
answers1754
viewsWhat is called the replaceable method in the constructor?
In a class that extends JFrame, I have some calls on the builder, as can be seen below: public ListaDeOficiosUI() { try { this.oficioController = new OficioController(); this.initComponents(); //o…
-
5
votes2
answers189
viewsWhy does Netbeans suggest improving the for?
When I was doing this for Netbeans Showcased That Lamp of Tips to Improve Code on the Line of for. The suggestion was to reverse the condition. Follow the code: Before of improvement: for(int j = 0;…
-
5
votes2
answers1319
viewsError generating files/classes from a Netbeans Web Service
I am trying to generate files/class from a Web Service and bring it to my Java project. For this I am using Netbeans IDE 8.0.2 At first I’m getting the message "Uma classe/interface com o mesmo nome…
-
5
votes2
answers1314
viewsConfigure the compiler output path in Netbeans
Would anyone know how to configure in Netbeans, so that when I compile a project, it manages the executable in a given folder? In the project properties, you have the binding option, which I believe…
-
5
votes1
answer2120
viewsNetbeans Error When Creating Project
My mistake is in the IDE, I’m using Debian Jessie, I decided to use it recently. The Netbeans installation went perfectly, the JDK installation too, but it gives me this error: I tried to reinstall…
-
4
votes1
answer2094
viewsHow do I set up Netbeans to work with Phpunit in a virtualized environment?
I use Netbeans 7.4 for programming on my Mac. And to not have to install PHP and Phpunit, I would like to run Phpunit installed on a virtual machine that has an entire integration environment…
-
4
votes1
answer721
viewsHibernate + Inheritance
I’ve been trying for some time a solution to my problem. I’ve done a lot of research but nothing clearly explains what I need. So I created an example application and am making it available from…
-
4
votes1
answer173
viewsProblems with new in Java
Why every time I use new in my class, for example: if(e.getSource() == levelButton) { new PainelNivel().setVisible(true); } Java executes this command, i.e., shows the class Panel and opens the…
-
4
votes2
answers225
viewsSource code in Projects
If I have 10 projects in Netbeans, these 10 projects will use a log recording system, this system contains a log. h and a Log.c. Since all projects will have to use these two log files to generate…
-
4
votes3
answers14619
viewsjava.lang.Noclassdeffounderror: Caused by: java.lang.Classnotfoundexception: When run . jar
I am developing in Netbeans IDE when running through the IDE everything works fine but when I do clean and build and create . jar while executing casts me this exception: I tried to compile package…
-
4
votes2
answers386
viewsError while trying to run a class
This is my first post here on the stack, I’m having a hard time running this class in Netbeans. I’m using version 1.8.0_40 of Java, I’ve tried searching for some solution, but I can’t find. public…
-
4
votes1
answer74
viewsComment equal #Region from Visual Studio
There is similar comment #region Visual Studio in PHP with Netbeans?
-
4
votes1
answer114
viewsError in logical TV control - Java
I’m a beginner in java and I’m having a hard time making the button btnVolumeUp raise the counter. First I have this TV class where I created the methods. public class Televisor { int canal = 0; int…
-
4
votes3
answers767
viewsNetbeans IDE: Warning Message
I have a warning message that tells me method is 23 lines and between parentheses says (20 allowed) I do not understand why this message, follows below: What does that mean? has how to disable this…
-
4
votes2
answers1431
viewsURL in netbeans does not work
I am trying to run a project in php in netbeans and it runs the following url: http://localhost/portfolio/index.php Only my project does not open. It only opens at the following url:…
-
4
votes1
answer311
viewsI cannot boot Tomcat in Netbeans
When I started Tomcat in Netbeans IDE it gave the following error: Using CATALINA_BASE: "C:\Users\chrissian\Desktop\Todo sobre o JAVA\Tomcat\apache-tomcat-7.0.63" Using CATALINA_HOME:…
-
4
votes1
answer1474
viewsHow to persist a record in the database through Java restful webservice?
I already have a method that takes a json and persists in the Mysql database. I can test it by the interface created by Netbeans, which has a field for inserting a json, but how do I make an http…
java web-service java-ee netbeans restfulasked 9 years, 3 months ago Marco Aurélio Soares de Souza 125 -
4
votes1
answer3023
viewsHow to Delete Methods Automatically Generated by Netbeans?
I’m making a GUI using the JFrame automatically generated by the Netbeans IDE and had twice-clicked on a JButton unintentionally and it automatically generated a code of ActionEvent which cannot be…
-
4
votes1
answer253
viewsDoes the Netbeans Builder GUI Code affect application performance?
Netbeans has a user interface creation tool using the swing, which greatly facilitates the development of desktop applications, however, the tool seems to create numerous lines of code even for…
-
4
votes3
answers667
viewsDoes the PHP method have line limits?
The size of the method is 22 lines. (20 Allowed) Netbeans gives me this "warning," so why? It’s a PHP rule? What’s best: A great method with all the code he needs. Split this code into smaller…
-
4
votes2
answers268
viewsProblem with Javafx
I have a problem when I add a JFX button that is present in the Jfoenix library. When opening my FXML document, it directs right to Scenebuilder, and inside it, to use all the items contained in the…
-
3
votes1
answer1708
viewsHow to create a project with JSF, Primefaces, and Tomcat running in Eclipse and Netbeans at the same time?
How do I create a Maven project with JSF, Primefaces, and Apache Tomcat so that it runs on both Eclipse and Netbeans without problems? (Preferably with the latest versions of the technologies)?…
-
3
votes1
answer3814
viewsNetbeans Messing Up Accent
For a few days now, I’ve noticed that Netbeans is changing accented characters in my code. Apparently, it only does this in the class that was opened when I closed Netbeans. That is, I am editing…
netbeansasked 10 years, 2 months ago NilsonUehara 3,105 -
3
votes1
answer244
viewsMatrix in Forms
I’m having trouble creating a matrix within a JPanel in Netbeans, I tried to customize the code by placing within the Netbeans customization code: jPanel1.setLayout(new GridLayout(15,15));…
-
3
votes1
answer790
viewsHow to open a GUI built in Eclipse by Netbeans?
I have a code using JFrame, but when I open it in Netbeans I can only change the layout by code. How do I use the code and edit the layout by the Swing.
-
3
votes2
answers2692
viewsChange project dependency folder (lib)
When compiling my project on Netbeans the files are generated in this way: ./dist ./dist/meuProjeto.jar ./dist/readme.txt ./dist/lib ./dist/lib/dependencia1.jar ./dist/lib/dependencia2.jar And I…
-
3
votes2
answers4563
viewsHow to create an executable in java + Mysql database?
I created a java desktop application that connects to a Mysql database, how can I generate this application to run on any machine along with my database? Thank you!
-
3
votes3
answers10404
viewsClear content from my netbeans java console
Good morning guys, which java command do I use to clean up my netbeans console? Because I have a method that is every time printing some messages and I want you to keep cleaning this from my…
-
3
votes2
answers2084
viewsChrome does not debug with netbeans conector
I installed the extension (plugin) Netbeans connector for the Chrome browser but does not open anything, only a white screen with the "netbeans conecttor" message is debugging this tab. Has anyone…
-
3
votes2
answers1020
viewsDoes Netbeans support Django?
I installed the Netbeans and the plugins for python. Everything worked out, but I found what did not happen.This plugin alone would already support Django. I saw on this blog the author saying that…
-
3
votes1
answer132
viewsNetbeans Calculator - Problems with Decimal Operations
Hey, good night, man. I’m having to do a calculator job, and my code performed operations like 8+9, 1+7 normally, but it wasn’t doing 10+20=3, 50+7=12; the result was always the sum of the first…
netbeansasked 9 years, 7 months ago Bráulio Saldanha 33 -
3
votes1
answer1145
viewsNetbeans + Github = git-receive-pack not permitted
I am using git to take control of a college project, we are using netbeans+eclipse and a friend who participates in the project sent me the git link, I cloned the project, but I can’t push in…
-
3
votes1
answer181
viewsHow to download and import android v7-appcompat bookstore to Netbeans?
I’d like to know how to import to a project using Netbeans, the v7-appcompat android library. I’m using a study code and Net Beans isn’t recognizing some lines of code. public class MainActivity…
-
3
votes1
answer326
viewsFailure to connect SVN through Netbeans
It’s been a while since I’ve been able to connect Netbeans to SVN here at my workplace (I’ve been using Netbeans SVN for years and never had a problem). By entering the SVN server URL, my user and…
-
3
votes2
answers96
viewsHow to make Netbeans recognize the ES2015 syntax?
How to use the Netbeans with the ES2015? I’ve done some testing with Netbeans 8.0.1 and 8.0.2, but does not recognize the new syntax: let, const, etc..…
-
3
votes2
answers187
viewsError save data from sqlite register
I am in error when saving data from a people register in Javanullpointerexception sqlite: invalid int:(51)3452-2470. This error started to occur after I applied a mask. Follow the codes below.…
-
3
votes1
answer92
viewsChange of environment
I’m moving from environment, from VB.NET to Java (Netbeans), but I’m still not sure if some of the possibilities of . NET can be performed in Java with Netbeans. My first doubt materializes in the…
-
3
votes1
answer561
viewsRead txt file whenever there are changes
I have a problem in a project I’m doing, I need to do a program that reads a txt file and imports it to Mysql, I was able to do this part. But now I need this program to read this txt file whenever…