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
1 answer

What are these hidden files in my home directory?

A friend of mine is showing me how to use the shell (on my mac) and I used ls -a to look at all of the files in my home directory and there are a few that I'm wondering if they're garbage. The ones that seem non-native to the computer (I'm running…
singmotor
  • 3,930
  • 12
  • 45
  • 79
6
votes
5 answers

How do I trigger Emmet expansion in Netbeans?

I just installed the Emmet plugin for Netbeans, but I can't find in the docs how to trigger the code expansion.
Bryan
  • 17,201
  • 24
  • 97
  • 123
6
votes
2 answers

Steps to "Mavenize" a Eclipse or NetBeans project with the help of Subversion?

The process of mavenizing Eclipse and NetBeans projects usually takes a lot of manual work, if all files are under revision control. So I am thinking of writing an Ant script which uses svn commands to rearrange the files in the working copy…
mjn
  • 36,362
  • 28
  • 176
  • 378
6
votes
4 answers

Is there a Netbeans/PHPStorm plugin for writing/refactoring to PSR-1/2-compilant code (like phphint.org)

As the title says: Is there a Netbeans/PHPStorm plugin for writing/refactoring to PSR-compilant code ? phphint.org does exactly that, but offers only an online-copy&paste-tool, not an IDE-integrated real time solution. What exactly i'm searching for…
Sliq
  • 15,937
  • 27
  • 110
  • 143
6
votes
2 answers

Netbeans automatic code completion of variables

I found an interesting Stackoverflow topic, but it is an old one and I'm afraid people won't be reacting anymore, so I hope it is ok to create a new one. First of, I am using Netbeans 7.2 and I want to use automatic code completion more. It works…
skiwi
  • 66,971
  • 31
  • 131
  • 216
6
votes
1 answer

How do I work with the Card Layout in the NetBeans GUI builder?

Does anyone know how to work with the Card Layout in the NetBeans GUI builder tool? I want to show panels as per the JRadioButton selection, so I want to lay this out using the Card Layout.
Sidharth
  • 3,629
  • 7
  • 26
  • 22
6
votes
1 answer

debug ajax php with netbeans xdebug

I have jquery making an ajax call to another php file and cannot workout how to get netbeans and xdebug to stop at a breakpoint on this file. EG: index.php function ajaxfunc(){ ... } other.php
Datadimension
  • 872
  • 1
  • 12
  • 31
6
votes
3 answers

Enabale auto-complete for Laravel 4 in Netbeans

I would like to add auto-complete with documentation for Laravel 4 in Netbeans. I try to search and found this code(https://github.com/ethaizone/laravel-netbeans-autocompletion). Unfortunately, it doesn't work with Laravel 4. Anyone have any idea…
Sophy
  • 8,845
  • 6
  • 36
  • 30
6
votes
2 answers

How to do multi-line comments in NetBeans without auto DocBlock formatting?

Sometimes in my code I like to comment out a block of code for temporary use/reference etc eg: /* blah */ But it's a minor annoyance that if I then want to go and insert a line inside that block, when I click enter, it will automatically put a…
Manachi
  • 1,027
  • 16
  • 30
6
votes
1 answer

RegEx Multiline result - Netbeans 7.2 find and replace feature

I'm using the "find" tool in Netbeans 7.2 and I'm looking to make regular expression that would allow me to gather results that have multiple lines. A sample Html code I would like to apply the regular expression on : …
Kraven
  • 233
  • 2
  • 11
6
votes
1 answer

Connect to sql server from java with jdbc(windows authentication mode)

I need to connect to Sql Server 2008 from java using jdbc 4.0. I have a very simple code: Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String connectionUrl = "jdbc:sqlserver://localhost;" + "integratedSecurity=true;"; …
Blocked
  • 340
  • 2
  • 5
  • 20
6
votes
5 answers

Printing a Graphics Object

I am having a problem with my code that prints a graphics object. This exact code worked about a week ago and now when I open the file in netbeans it crashes on execution. This is the code: package Project; import java.awt.*; import…
user2355252
  • 61
  • 1
  • 2
6
votes
1 answer

How to automatically improve Debugging in Symfony2

I tried debugging with Symfony2 before and dealing with the cache is a big pain in the head I'm debugging with Netbeans and XDebug, is there a way to AUTOMATICALLY disable the cache and Debug in a better way?
Nico Rodsevich
  • 2,393
  • 2
  • 22
  • 32
6
votes
3 answers

Why do I get this compilation warning in Netbeans?

I am working on a Java-EE project involving Glassfish 3.1.2.2 and the client component is running with Java 7 Update 21. The Swing-based client was formerly based on Java 6 Update 38 until we decided to migrate to the new Java 7 Update 21. I get the…
salocinx
  • 3,715
  • 8
  • 61
  • 110
6
votes
5 answers

JPA - Unknown entity bean class

Hopefully, I can explain this issue properly. I have 3 classes that deals with my entities. @MappedSuperclass public abstract class Swab implements ISwab { ... private Collection
arinte
  • 3,660
  • 10
  • 45
  • 65