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

need help finding comprehensive netbeans plugin development tutorials

I am trying to develop/create a plugin, but I can't seem to find a [good] series of tutorials covering the broad range of topics that are involved in doing so. I have already found the Developer FAQ Page, the NetBeans Platform Learning Trail, and…
iphonedev7
  • 295
  • 1
  • 7
  • 17
6
votes
1 answer

how do I bring netbeans default behaviour back?

I think I have accidentally overridden one of the default settings in the NetBeans editor (7.2 on Windows 7) and a beautiful feature is gone. Bracket completion feature is now effected. I am new to NetBeans. When I used to type echo " NetBeans…
Average Joe
  • 4,521
  • 9
  • 53
  • 81
6
votes
1 answer

Java EE Exception: Name java:comp is not bound in this Context

I have the Java EE app in Netbeans 7.2.1. Trying to deploy it (building ends OK), I get the error in Tomcat log: Caused by: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at…
Eugene Shmorgun
  • 2,083
  • 12
  • 42
  • 67
6
votes
1 answer

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpcap in java.library.path

i am using netbeans ide and trying to capture packets using jpcap library. my program used to run correctly before bu suddenly this error Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpcap in java.library.path is appearing. i have…
Asad Ikram
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

Netbeans IDE 7.2.1: How to add the c++ boost library

For my next assignment I require threading in C++ and have read that the boost library for threading works fairly well. I've never added a custom library to Netbeans and was hoping someone could provide me some steps to follow in order to allow me…
user1809606
  • 63
  • 1
  • 1
  • 3
6
votes
1 answer

How to get modified files when I pull using NetBeans?

I get this kind of message when i am trying to pull from NetBeans 7.2: ==[IDE]== 05-nov-2012 14:52:04 Pulling... git pull ssh://git@ip/home/git/project/ +refs/heads/Dev_Nov_1:refs/remotes/origin/Dev_Nov_1 Branch : origin/Dev_Nov_1 Old Id :…
6
votes
2 answers

Netbeans Go To File Search Dialog Is Very Slow

The Netbeans "Go To File" feature (accessed with shift+alt+o) is extremely slow compared to the same feature in Eclipse, which is fast enough to do as-you-type matching. It seems that Netbeans is searching my entire project every time I return to…
Maciek
  • 3,322
  • 6
  • 28
  • 35
6
votes
8 answers

How do I start unit testing?

I know that unit testing is desirable, and I am interested in doing unit testing. The only problem is I have no idea how, or even where to start really. So my question is: How do I learn about and start unit testing? Specifically I frequently…
ProgrammingPope
  • 2,177
  • 4
  • 23
  • 36
6
votes
5 answers

JPasswordField KeyPress string length error?

I am trying to change background colors of a JPasswordField in Java Swing (Netbeans). Here's what I have: private void pstxtPasswordKeyPressed(java.awt.event.KeyEvent evt) { //Get string from password…
jessechk
  • 450
  • 5
  • 15
6
votes
0 answers

add hdf5 libs (java & c++) to public maven repository?

Is there a public maven repository where I or somebody can put the HDF java and HDF C++ libraries? I don't have a maven repository and I don't want to set one up myself for just these 3rd party libraries. More people must be using the HDF libraries…
WillamS
  • 2,457
  • 6
  • 24
  • 23
6
votes
0 answers

Xdebug and Netbeans "Waiting for connection" but never connects

Note, that the problem solved itself already, but you can take it as an example for a working configuration of Xdebug within the php.ini file!!! I'm new to Netbeans and PHP and after 5 days into a project I realized that I really need a Debugger…
user1670184
  • 63
  • 1
  • 5
6
votes
8 answers

Java static code analysis

I am looking for eclipse/netbeans plugin or a tool, which analysis java project, and give us a report of unused imports, unused variables, unused methods, violating custom naming conventions, etc..
Nageswaran
  • 7,481
  • 14
  • 55
  • 74
6
votes
2 answers

Unrecognized command line option "-std=c++11" c++ in Netbeans 7.2

I am trying to use C++11. After sifting through the internet I found that all I have to do is right click on my project -> properties and under the "C++ standard" select c++ 11. When I run the program with C++ 11, I get this error "unrecognized…
Darren Hoehna
  • 269
  • 2
  • 8
  • 19
6
votes
4 answers

Java Logger - Netbeans hint "Inefficient use of string concatenation in logger"

I am starting with java and I try log something. private static final Logger _logger = Logger.getLogger("my"); String car = "bmw"; String dog = "dog"; _logger.info(car + " text " + dog); // on this line Netbeans .. on this line Netbeans show me…
user1571252
  • 73
  • 1
  • 4
6
votes
1 answer

Problems with JavaEE sample FirstCup dukesAge

I started learning JavaEE yesterday and I chose an Oracle official guide FirstCup to get started I'm using Netbeans 7.2 with GlassFish Server 3.1.2.2 and I'm sure I followed every instruction step by step. But I have two problems: I didn't see any …
ChandlerQ
  • 1,428
  • 2
  • 21
  • 29