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

how can i include jsp page in html?

I am using Netbeans and MySql server. I want to add JSP content into an HTML file. How can I include it?
Parth Joshi
  • 63
  • 1
  • 1
  • 4
6
votes
2 answers

missing cout before segmentation fault

I had a segmentation fault in my code, so I put many cout on the suspicious method to localise where. bool WybierajacyRobot::ustalPoczatekSortowania(){ cout << "ustal poczatek sortowania: " << poczatekSortowania << endl ; list< Pojemnik…
Wez Sie Tato
  • 1,186
  • 12
  • 33
6
votes
1 answer

What is 'fix name' in Netbeans?

I'm developing a website with Netbeans and sometimes a notice appears that says 'Fix name to...' but I don't understand what the meaning of 'Fix name' is or what its role is... Could anybody explain to me its meaning, please? Thanks!
jask
  • 253
  • 3
  • 10
6
votes
2 answers

How to run all JUnit test cases from NetBeans?

I have created several files with unit tests on existing classes in NetBeans project. I used menu "File/New file/JUnit/Test for Existing Class" to create test files. I can run one file with unit tests by right click on it and select "Run File". But…
sergtk
  • 10,714
  • 15
  • 75
  • 130
6
votes
2 answers

Can I use NetBeans with asp.net as an editor?

I want to design a site with asp.net (C#.net) and need an editor for my admin panel to add paper with picture etc., So I must use ckeditor, tinyMce or any other suggestions. However one of my friends told me that I shouldn't use an editor in your…
Farzaneh Talebi
  • 835
  • 4
  • 22
  • 47
6
votes
4 answers

Some Java 7 warnings - how to remove them

I've finally got around to trying to get rid of all those new compiler warnings that Java 7 has kindly generated. I these two left that I cannot fathom. Is there any way of getting rid of them without suppressing them? Constructing an array of…
OldCurmudgeon
  • 64,482
  • 16
  • 119
  • 213
6
votes
3 answers

Connection could not be allocated because: User id length (0) is outside the range of 1 to 255

I'm creating a login interface using Netbeans with JSF, EJB and JPA. When I try to deploy the project, it throws the below exception: Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be…
cloud
  • 173
  • 1
  • 2
  • 8
6
votes
2 answers

Netbeans newbie-- How to enable viewing info from a javadoc JAR file

I have some JAR files which I have to add to a Java project- for each of those JARs I also have separate JARs that contain Javadoc for each of the jars-- now I want to be able to view information from the Javadocs in Netbeans. How do I do this? I am…
Arvind
  • 6,404
  • 20
  • 94
  • 143
6
votes
4 answers

How to auto complete methods from Symfony 2 DI in netbeans

I am starting to develop with symfony 2 and it uses a lot dependency injection. I would like to know if is there any way that makes netbeans detect the type of object based on the string and auto complete with their methods? For example,…
dextervip
  • 4,999
  • 16
  • 65
  • 93
6
votes
8 answers

Your active platform is: JDK_1.6, but the corresponding property "platforms.JDK_1.6.home" is not found in the project's properties files

I'm a Java noob (but have been programming for 25+ years, and have worked with OO languages from day 1). All of a sudden I started getting this error: Your active platform is: JDK_1.6, but the corresponding property "platforms.JDK_1.6.home" is not…
user122299
6
votes
1 answer

how to copy and paste code, in color, keeping line numbers, using netbeans 7.2.1

I need to print out code for school. and i would like to keep the line numbers from netbeans and the auto coloring that it does. is there a plug in i could use?
user2081238
  • 61
  • 1
  • 2
6
votes
3 answers

Netbeans environment variables for C++ makefile

I have a simple makefile which calls the C++ compiler as $(CXX), which is set in my ~/.profile script. Netbeans seems to have a sophisticated toolchain manager, yet it seems to resolve $CXX as just c++ no matter what. How can I set $CXX properly, or…
Potatoswatter
  • 134,909
  • 25
  • 265
  • 421
6
votes
3 answers

NetBeans version control for newb?

I'm a relatively new programmer and I've never used version control before. I'm working on a Java project in NetBeans and was wondering about some good version control options that are relatively easy to install and use. Not sure if it matters,…
Mattk
  • 129
  • 2
  • 14
6
votes
1 answer

How can I ignore whitespace in the NetBeans merge tool

How do I ignore leading and trailing whitespace in NetBeans when resolving conflicts during a git merge. Under Option > Miscellaneous > Diff you can set the diff tool to ignore leading an trailing whitespace but this does not take affect in the…
DarVar
  • 16,882
  • 29
  • 97
  • 146
6
votes
2 answers

Creating/Accessing Maven repository in SVN through NetBeans 6.7 *Revised*

EDIT: Ok... so I've gathered that SVN shouldn't really be used for this... which makes sense, I suppose (why version individual files when the version should be a separate jar?). So we should use an internal server to host a repository management…
Buns of Aluminum
  • 2,439
  • 3
  • 26
  • 44