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
6 answers

Adobe Flex Development on Ubuntu

I'm thinking the following: Netbeans + FlexBeans Maven + FlexMojos However: FlexBeans just doesn't compare with FlexBuilder Not sure FlexMojos supports Flex 4 How do you guys manage to develop Flex apps on Ubuntu? I personally prefer Netbeans…
Sri
  • 5,805
  • 10
  • 50
  • 68
6
votes
2 answers

NetBeans: How to add library from Maven repo for non-maven project

For a plain "Java application" project, how can I add a dependency or library from Maven? If I right click on "Libraries" in the projects pane, it only allows me to add local libraries. But if my project is a Maven Java Application, then there's the…
KFL
  • 17,162
  • 17
  • 65
  • 89
6
votes
0 answers

NetBeans / BitBucket - "Git command returned with the following error: Read timeout after 45,000 ms"

I am trying to clone a project from my BitBucket repository into Netbeans 8.0. I have tried Team > Git > Clone... ...but it results in a "Git command returned with the following error: Read timeout after 45,000 ms" error. Now, I ran a different test…
ban-geoengineering
  • 18,324
  • 27
  • 171
  • 253
6
votes
3 answers

How do I enable "JAX-RPC Web Services" plugin in NetBeans 8.0

I'm trying to build a WS client from an RPC (allegedly) encoded WSDL service at https://www.fbo.gov/ws/fbo_api.php?wsdl I'm using right click on Web Service Project, create New Web Service…
Witbrock
  • 502
  • 2
  • 5
  • 12
6
votes
1 answer

How to change EclipseLink in GlashFish 4.0?

I want to change EclipseLink from 2.5.0 to 2.5.1 in GlashFish 4.0. I have downloaded the OSGi bundle and replaced the following jar…
Tiny
  • 27,221
  • 105
  • 339
  • 599
6
votes
1 answer

How to change background color of jDesktopPane which is created usning tools in netbeans

By unsing netbeans ide , I created a JDesktopPane inside the JFrame. and I cannot change the color of the jdesktopPane.. I tried all I can. But when I open the JFrame .. the JDesktopPane inside that JFrame is in some blue color background. Please…
sham999
  • 121
  • 1
  • 3
  • 12
6
votes
1 answer

Why is Netbeans not recognising maven dependency imports in my Grails app?

I've added a maven repo to my Grails BuildConfig and a couple of compile dependencies. Unfortunately, Netbeans isn't recognising the import statements. It all compiles and works fine, just intellisense and the red underlines are spoiling my fun.
sparkyspider
  • 13,195
  • 10
  • 89
  • 133
6
votes
2 answers

Java-Sqlite Truncate all Database tables

How to Truncate All Tables in Sqlite Database using Java? I know i can do this { ... String table_name1 = "Delete From table_name1"; String table_name2 = "Delete From table_name2"; String table_name3 = "Delete From table_name3"; …
Muneeb Mirza
  • 810
  • 1
  • 17
  • 35
6
votes
3 answers

Is it possible to debug Lambdas in Java 8

I just started playing with Java 8 Lambdas and I noticed that I can't debug them in the NetBeans IDE. If I try to attach a breakpoint to the following code I get a variable breakpoint which is definately not what I wanted: private EventListener…
mw88
  • 489
  • 2
  • 7
  • 17
6
votes
2 answers

Encoding for project set to UTF-8, default charset returns windows-1252

I've ran into an issue with encoding. Not sure if it's IDE related but I'm using NetBeans 7.4. I got this piece of code in my J2EE project: String test = "kukuřičné"; System.out.println(new String(test.getBytes("UTF-8"))); // should display…
Lenymm
  • 879
  • 1
  • 6
  • 27
6
votes
3 answers

How can I disable "HTML Checking" in NetBeans?

I'm using NetBean's Compile on Save setting, and it's really handy when I'm editing a single file. But when I'm dealing with a pair of (or more) class files and am switching between the files, I have a problem: The Task tab is nearly worthless…
NVRAM
  • 6,947
  • 10
  • 41
  • 44
6
votes
1 answer

Neatbeans: Editing PHP and double clicking a variable name

I have recently made the switch from Dreamweaver (10+ years) to Netbeans and am loving it. The only issue I'm having is I'm use to being able to double click a PHP variable name and the code editor auto selecting the variable name but NOT including…
Ryan
  • 804
  • 1
  • 11
  • 24
6
votes
1 answer

How do I toggle show/hide of hidden file in NetBeans 7.4?

Well, that is basically it: How do I toggle show/hide of hidden file in NetBeans 7.4? Every time I try to open a file in NetBeans 7.4 it shows all my hidden file and that is very annoying. I Googled it but could not find an answer until now. Thanks…
Jeff
  • 953
  • 2
  • 11
  • 21
6
votes
7 answers

Is it possible to display of the tree structure of the Java-code?

I am a newbie in Java. I am trying to figure out how to work this code. It seems to me that it would be very useful if in the beginning I get the general structure of the code (which methods exists and how they are interrelated). For example I see…
Roman
  • 124,451
  • 167
  • 349
  • 456
6
votes
1 answer

Symfony2 tests : filter with html:contains return one value

I want to test my Symfony2 application with PHPUnit when a user submits a form without any data. My validations are activared, so error messages are displayed correctly in a navigator. For example in the entity : class Foo { /** * @var…
ncrocfer
  • 2,542
  • 4
  • 33
  • 38