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

How to step through debug twisted?

I'd like to be able to debug Punjab, a twisted python application, in Netbeans so that I can step through the code. How can I do that? Alternatively, how could I do it in a different debugger?
leeb
  • 699
  • 7
  • 14
6
votes
1 answer

hide "DEBUG SESSION ENDED" xdebug

I just successfully configured Netbeans to work with xdebug, but when I do finish current session, another browser window with XDEBUG_SESSION_STOP_NO_EXEC=netbeans-xdebug url opens and says: DEBUG SESSION ENDED which is annoying. Where to disable…
mrdaliri
  • 7,148
  • 22
  • 73
  • 107
6
votes
1 answer

how to add jcombobox to jtable column in netbeans

I want to add jcombobox to jtable please someone explain me how could i do that in netbeans
6
votes
2 answers

JAX-RS resource error: Couldn't find JAX-B element for class java.lang.String and some more exceptions

When I do an OPTIONS call on the rest resource 'queue' from the Java EE 7 SDK example 'async-chat', I get many exceptions, when the log level for jersey is set to FINE (org.glassfish.jersey.level=FINE). The same exceptions happen in my code, given…
user3836334
  • 173
  • 2
  • 7
6
votes
5 answers

Write gui programatically, or using an advanced gui editor (Java Swing)?

I am planning to write a Swing-based application (using Netbeans 6.8). It seems that Netbeans has a very advanced GUI Editor... Still I have my doubts regarding the code generated by it. Additionally I don't like the fact the part of the code is…
Andrei Ciobanu
  • 12,500
  • 24
  • 85
  • 118
6
votes
2 answers

C++ program gives a run-time error when strings are used

#include #include using namespace std; int main () { string st = "Hello world"; return 0; } and #include int main () { std::string st = "Hello world"; return 0; } I tried compiling this…
Dinal24
  • 3,162
  • 2
  • 18
  • 32
6
votes
3 answers

Unable to shade jar with maven (INVOKESPECIAL/STATIC)

The full error message: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project --: Error creating shaded jar: INVOKESPECIAL/STATIC on interfaces require ASM 5 -> [Help 1] The jarfile which I am attempting…
Rogue
  • 11,105
  • 5
  • 45
  • 71
6
votes
1 answer

Git - push tags in Netbeans

I want to push git tags in netbeans. In console I can use it with git push origin --tags. How can I do it from the IDE? I'm using Netbeans 8.0.
Kelu Thatsall
  • 2,494
  • 1
  • 22
  • 50
6
votes
3 answers

Adding Java ME platform in netbeans 8.0

I am having trouble installing the ME platform for Netbeans 8.0 - I have: Installed Netbeans IDE 8.0 Installed jmesdk-3.4 Installed the jmesdk-3.4 plugin & activated it in Netbeans When I try to create a New Java ME > Mobile application…
user2468097
  • 61
  • 1
  • 1
  • 3
6
votes
7 answers

Can't run C++ in NetBeans: "No Shell Found" error

I'm trying to learn C++ using NetBeans but even though I have CYGWIN and everything set up in my PATH, I keep getting an error that says: "No shell found. Cannot proceed. Please install either CYGWIN or Msys." I don't know what Msys is but since the…
user3657777
  • 61
  • 1
  • 2
6
votes
4 answers

JavaFx FXML load file issues with setting root

New to javaFx and wanting to use scenebuilder for GUI development, i've come across an issue with no luck searching the website nor the web in general for my problem, although similar questions have been asked, thought a different perspective could…
Nrandazzo
  • 77
  • 1
  • 2
  • 7
6
votes
2 answers

Link error when trying to build a simple OpenGL program

This is the OpenGL code: #include void display() { glClear(GL_COLOR_BUFFER_BIT); } int main(int argc,char **argv) { glutInit(&argc,argv); glutCreateWindow("Hello,world!"); glutDisplayFunc(display); glutMainLoop(); } The…
user2384994
  • 1,759
  • 4
  • 24
  • 29
6
votes
1 answer

Netbeans Code Assistance C++

I'd like to activate the Netbeans Code Assistance but for C++, I just installed Netbeans 8.0 and followed all the steps in Netbeans site for installing Cygwing compiler. I am now able to compile C++ code; however the facility of Code Assistance…
user3598130
  • 73
  • 1
  • 5
6
votes
2 answers

Change syntax highlighting in NetBeans

I am using sublime color scheme for NetBeans and I really like colors, but there is one thing I don't like and I can't find where to change it. Been through all options in Tools->Options->Font and Colors, and still can't find it. Here's screenshot:…
Nutic
  • 1,407
  • 4
  • 16
  • 31
6
votes
3 answers

Glassfish encoding

I'm using the code in this example example and in the runUpdate() function which i put in a javabean in a web application in Netbeans 6.8 with Glassfish v3. It seems i have an encoding problem because question marks appear in the table. I have tried…
Argiropoulos Stavros
  • 9,436
  • 11
  • 61
  • 79