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.

Introduction

From the official "NetBeans IDE Features" page:

NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and web applications, while also providing great tools for PHP and C/C++ developers. It is free and open source, and it has a large community of users and developers around the world.

Features

From the official "NetBeans IDE Features" page:

Best support for the latest Java technologies

The NetBeans IDE provides first-class, comprehensive support for the newest Java technologies and latest Java enhancements before other IDEs. It is the first IDE providing support for JDK 7, Java EE 6, and JavaFX 2.

With its constantly improving Java Editor, many rich features and an extensive range of tools, templates and samples, NetBeans IDE sets the standard for developing with cutting-edge technologies out of the box.

Fast & smart code editing

An IDE is much more than a text editor. The NetBeans Editor indents lines, matches words and brackets, and highlights source code syntactically and semantically. It also provides code templates, coding tips, and refactoring tools.

The editor supports many languages from Java, C/C++, XML and HTML, to PHP, Groovy, Javadoc, JavaScript and JSP. Because the editor is extensible, you can plug in support for many other languages.

Easy & efficient project management

Keeping a clear overview of large applications, with thousands of folders and files, and millions of lines of code, is a daunting task. NetBeans IDE provides different views of your data, from multiple project windows to helpful tools for setting up your applications and managing them efficiently, letting you drill down into your data quickly and easily, while giving you versioning tools via Subversion, Mercurial, and Git integration out of the box.

When new developers join your project, they can understand the structure of your application because your code is well-organized.

More information on Project Management
More information on Versioning

Rapid user interface development

Design GUIs for Java EE, Java SE, and Java ME applications quickly and smoothly by dragging and positioning GUI components from a palette into the NetBeans Editor.

For Java SE applications, the NetBeans GUI Builder automatically takes care of correct spacing and alignment, while supporting in-place editing, as well. The GUI builder is so intuitive that it has been used to prototype GUIs at customer presentations.

More information on Java EE
More information on Swing GUI Builder
More information on JavaME

Write bug-free code

The cost of buggy code increases the longer it remains unfixed. NetBeans provides static analysis tools, especially integration with the widely used FindBugs tool, for identifying and fixing common problems in Java code. In addition, the NetBeans Debugger lets you place breakpoints in your source code, add field watches, step through your code, run into methods, take snapshots and monitor execution as it occurs.

The NetBeans Profiler provides expert assistance for optimizing your application's speed and memory usage, and makes it easier to build reliable and scalable Java SE, JavaFX and Java EE applications. NetBeans IDE includes a visual debugger for Java SE applications, letting you debug user interfaces without looking into source code. Take GUI snapshots of your applications and click on user interface elements to jump back into the related source code.

More information on Debugger and Profiler

Support for multiple languages

NetBeans IDE offers superior support for C/C++ and PHP developers, providing comprehensive editors and tools for their related frameworks and technologies. In addition, the IDE has editors and tools for XML, HTML, PHP, Groovy, Javadoc, JavaScript, and JSP.

Cross-platform support

NetBeans IDE can be installed on all operating systems that support Java, from Windows to Linux to Mac OS systems. Write Once, Run Anywhere, is as true for NetBeans IDE as it is for your own applications... because NetBeans IDE itself is written in Java, too!

Rich set of community-provided plugins

The NetBeans community is large and active; many users are developing new plugins all the time because NetBeans IDE is extensible and has well-documented APIs. Are you missing a feature in NetBeans IDE? Create a plugin that fills the gap and participate in making NetBeans even better than it already is!

Visit NetBeans Plugin Portal

Version information

  • Current Release version: 16

Tag recommendations

If your question is version-specific, use the tag together with an appropriate version-specific tag, such as , , , , , , , , , , , , or .

Useful links

24163 questions
6
votes
2 answers

Profiling Gradle Projects

How can I profile Gradle projects in Netbeans? I've looked in a few places, but they turned up dead ends. The profile button is also disabled in the Netbeans editor when using a Gradle project.
Sarah Szabo
  • 10,345
  • 9
  • 37
  • 60
6
votes
4 answers

NetBeans 8.0.2 fails to start Tomcat because of missing catalina.bat

I just finished setting up the prelimanary steps for a Java Web project on NetBeans. I installed NetBeans and created a network drive using Samba on my home Ubuntu Server, which has Tomcat7. When I try to run the example Hello World project, i get…
Wade Guest
  • 65
  • 1
  • 1
  • 7
6
votes
4 answers

What are the reasons to optimize imports?

Are there any technical reasons to "optimize imports" via your editor? Eclipse, Intellij IDEA, and NetBeans all have ways to optimize imports. I'm wondering if there are reasons other than consistency. Also, is there a more optimal way of importing?…
Gordolio
  • 1,925
  • 15
  • 22
6
votes
0 answers

Integrating a Processing Sketch (PApplet) with javaFX GUI (From GUI Builder 2.0)

I have been experimenting with integrating a PApplet with a JavaFX GUI designed in the GUI builder (2.0). After creating a SwingNode and adding my sketch instance to it, it fails to update its frame after drawing once. I have minimal experience with…
6
votes
1 answer

What is the meaning of the Value column for an object in the NetBeans Debugger Variable window?

The NetBeans 8 Debugger Variables window has a Value column. The meaning of the column is pretty self explanatory for primitive types and Strings and Arrays, but for Objects, the column displays a "#" character followed by a (typically 4 digit)…
David
  • 251
  • 2
  • 11
6
votes
3 answers

How to install sublime monokai theme in netbeans 8

this is source link but not say how to install, thanks in advance. http://plugins.netbeans.org/plugin/55859/sublime-monokai-theme-for-netbeans-8
user1817927
6
votes
5 answers

PI4J - Unable to load [libpi4j.so] using path

I'm using NetBeans on MacOS to develop an application using PI4J. Everything looks Ok but I get the error below, saying that PI4J was unable to load. Does anyone know how to solve this? abr 18, 2015 3:02:30 PM com.pi4j.util.NativeLibraryLoader…
Carlos
  • 170
  • 1
  • 3
  • 11
6
votes
4 answers

Printing a Project in NetBeans

I have an exam and I would like to print my Java (in NetBeans project) files as fast as possible. I was wondering is there a way to print an entire project/project in NetBeans with one click? or do you have a better suggestion? (I will be using…
şaloma
  • 417
  • 2
  • 5
  • 16
6
votes
1 answer

Grails 3.0 support in NetBeans

I was running Grails 2.2.0 in NetBeans and it was working fine. I tried to upgrade the project to Grails 3.0 but after creating the project NetBeans is not able to open the project. Does anyone know which plugins to install in NetBeans (if…
Arpan Solanki
  • 817
  • 1
  • 17
  • 28
6
votes
2 answers

how to connect java and mysql using mysql connector java 5.1.12

I'm still a beginner in java. I dont have any idea on how to import the files that I have downloaded into my java class. Its in this path: E:\Users\user\Downloads\mysql-connector-java-5.1.12 I don't know what to do with the files I extracted from…
user225269
  • 10,743
  • 69
  • 174
  • 251
6
votes
2 answers

NetBeans ("6.8" and "later") - UML support?

I wanted to download the "UML plugin" to NetBeans through the "Tools/Plugins" but I didn't find the plugin there. Then I read in many articles that the "NetBeans UML plugin is not supported anymore" :-( . Then I discovered that there exists some…
Petike
  • 707
  • 4
  • 13
  • 20
6
votes
1 answer

How to use KeyEvent in JavaFX project?

I have searched for a long time for how to write a KeyEvent to allow my Button clicks by ENTER key. Note that I'm using JavaFX and FXML files. The problem is that when set in the onKeyTyped text field in the FXML file, the FXML Files doesn't accept…
APro
  • 83
  • 1
  • 2
  • 9
6
votes
1 answer

netbeans autocompletion when using singleton to retrieve object instead of new operator?

when i use the 'new' operator to instantiate a class, netbeans has no problem to autocomplete the members of the object. $instance = new Singleton(); $instance-> // shows test() method but when i use a singleton to retrieve an object it cannot…
never_had_a_name
  • 90,630
  • 105
  • 267
  • 383
6
votes
3 answers

NetBeans Low on Memory Error

I am new to this kind of error in Netbeans. I have been working in Java J2SE using my net beans 8.0.2. I am doing Fuzzy Search on Strings usually strings having 300-500 length. I am using Levenshtein and Jaro Winkler Algorithms to find the Distance…
Java Nerd
  • 958
  • 3
  • 19
  • 51
6
votes
3 answers

Web Start Application built on NetBeans Platform doesn't create desktop shortcut & start menu item

I've created a NetBeans Platform application that is launched using Java Web Start. I built the WAR file using the 'Build JNLP Application'-command in Netbeans 6.8. I've added a desktop shortcut and menu item to the JNLP file, but for some reason,…
rudolfv
  • 797
  • 1
  • 9
  • 22