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

Unloadable Netbeans projects (pom not available in the local repository)

I have a Maven project that has always worked fine in Netbeans, but upgrading from 6.9 to 7.1 did not go well. I get the following error: 1 problem was encountered while building the effective model for foo.bar:baz:1.0.0 [FATAL] Non-resolvable…
inanutshellus
  • 9,683
  • 9
  • 53
  • 71
5
votes
2 answers

How to make Qt Widget fill parent Widget?

I'm new to Qt programming. I'd like to create a simple app that can show an OpenGL model and provide some simple UI controls for manipulating it. So far I've created my own GlWidget which subclasses QGLWidget and used Qt Designer to create a simple…
kitfox
  • 4,534
  • 3
  • 17
  • 24
5
votes
1 answer

Why the keyboard get locked sometimes when I use Netbeans on Linux?

I am using Netbeans to develop a Ruby on Rails application. Unfortunately, I have a problem with it. Sometimes the keyboard stop working and I can not input code in the text editor. Also the keyboard short cut specific to netbeans stop working as…
0x26res
  • 11,925
  • 11
  • 54
  • 108
5
votes
1 answer

Tomcat stopping a thread to avoid potential memory leaks

Every time I start debugging my WebApp (Netbeans 7.0 + spring 3 + jsp) the debugger breaks a couple of times in ThreadPoolExecutor.java after Tomcat raises this exception: "Stopping thread http-bio-8080-exec-3 to avoid potential memory leaks after a…
Steve
  • 1,769
  • 2
  • 22
  • 33
5
votes
4 answers

Specifying Source for Debugging using Netbeans

Using the debugger in Netbeans 6.1, I'd like to step into a method of the JSF library (specifically method saveSerializedView of class StateManager), but I cannot figure out how to specify through the IDE the location of the source code for the JSF…
user14636
  • 398
  • 5
  • 9
5
votes
3 answers

Netbeans Current Project File Path

In Netbeans what is the correct way to get the file path of the currently Opened Project. In the module I am developing I need to acquire the path of the Project for a FileChooser however most of what I tried simply returned the path of the module…
kdgwill
  • 2,129
  • 4
  • 29
  • 46
5
votes
5 answers

How to disable automatic component alignment in Netbeans?

Is there any way or plug-in that disables Netbeans automatic component alignment? When I place a label, all my components got placed randomly on the panel, not how I set them up. Every time I add a component the window gets re-sized or some…
Bugster
  • 1,552
  • 8
  • 34
  • 56
5
votes
2 answers

How to use open a WAR folder in Netbeans

So I was given a WAR 'file', but upon downloading it I noticed that it is actually a folder, not a WAR file. Trying to open this folder in Netbeans is not working, because it is expecting a war file, not a folder. I attempted "War-ing" the folder,…
kz3
  • 785
  • 2
  • 10
  • 23
5
votes
2 answers

"cannot access java.lang" - Error in Netbeans 6.9.1

This is driving me crazy: In Netbeans (6.9.1 on a 64bit Windows 7) with JDK 6 correctly installed, the Editor shows this Error at package my.package.name: cannot access java.lang Fatal Error: Unable to find package java.lang in classpath or…
Fildor
  • 14,510
  • 4
  • 35
  • 67
5
votes
2 answers

netbeans cunit tests cases never end

Trying to test my C project on NetBeans, the tests never end while the output is: Test: testFileOne ...passed Test: testFileTwo ...passed Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a …
Desmond
  • 567
  • 1
  • 7
  • 17
5
votes
0 answers

CYGWIN + ORA*C = PCC-F-NOERRFILE, unable to open error message file, facility PR2

I am having some issues with ORA*C and Cygwin. I am trying to port this UNIX program into Windows using Cygwin. I installed Cygwin with all the C libraries,etc. And I also installed Oracle 10g (reason being that UNIX project is currently using that…
Alex
  • 363
  • 1
  • 4
  • 6
5
votes
1 answer

Netbeans IDE (6.8/PHP) - Custom Window Arrangement?

I'm doing PHP development in NetBeans 6.8 and want to be able to switch between window layouts with a keypress. I understand the IDE provides different "window groups" depending on whether I'm editing or debugging, but I'm looking for custom control…
Shoeless
  • 666
  • 1
  • 5
  • 20
5
votes
2 answers

How to check out the values of dynamic allocated memory in debugging mode?

i'm using eclipse and netbeans for c, and i'd like to check out the values of variables that are dynamically allocated in the memory when i'm debugging (both in eclipse and netbeans). for some reason, i can only see the value of the pointer itself,…
dvir
  • 2,546
  • 2
  • 18
  • 15
5
votes
2 answers

Java code Analytic/Metrics tool

I am looking for a free Java code analysis/metrics tool that I can use to see class dependencies, method execution times, etc, and possibly to print out a diagram that shows them. I am currently using a jdepend task in ANT to achieve this, but I'm…
SuperTron
  • 4,203
  • 6
  • 35
  • 62
5
votes
3 answers

Netbeans remote file permissions. chmod from within Netbeans?

When working with a project, a'la "PHP application from remote server" The file properties I am offered, when I right-click->properties on files, relate only to the local properties. Is it possible to modify file permissions on the remote files from…
DM8
  • 214
  • 2
  • 10
1 2 3
99
100