The Groovy support in NetBeans IDE is based on two use cases. In the first case, you're a Java programmer and want to use Groovy as a support language; therefore, in this scenario, you'll create a Java project and then add Groovy artifacts (Groovy classes and scripts) and go from (more...)
More often than not, you know your code is pretty messed up. The excuse you have is that you inherited it from someone else. That, of course, doesn't change the fact that your code is messed up. It changes how responsible you feel about it but, as you'll soon be (more...)
In NetBeans IDE 7.4, which is currently in its Beta release, go to the New Project wizard and search for 'websocket'. You'll find three very cool WebSocket samples are now bundled with the IDE. Let's play with the "Auction WebSocket (Java EE 7)" sample. Select it and complete the (more...)
The last few days I spent in Mumbai, India, at an Oracle office doing Oracle things. Beyond that, I can't say much, hopefully more sometime in the coming months! It was very interesting and intense and I'm looking forward to sharing more about that when the time is right. No (more...)
Johannes Weigend, who will be at JavaOne again this year, has been prototyping a JavaFX version of his Software EKG application, which is an application performance analyzer created on the NetBeans Platform. Here's the original NetBeans Platform based application:
The prototype JavaFX version of the application (shown below) is developed (more...)
The tool provides functions for modeling the following:
- facilities (trees of production (more...)
Did you know that Ctrl-Shift-C toggles comments in a Java file, i.e., adds/removes two forward slashes? I didn't know that until browsing through my new Key Bindings viewer:
To see the viewer above in the context of the whole IDE, click the image above.
Want to try it (more...)
Sometimes handy to know the code templates NetBeans IDE makes available while you're coding. Click the image below to see the full effect, i.e., the full list of code templates next to the Java editor:
Here's the code:
import java.awt.BorderLayout; import java.beans.IntrospectionException; import java. (more...)
Here's how to show a dialog listing the folders and files of the Templates folder. When OK is clicked in the dialog, all the templates in the selected folder are printed to the Output window.
import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt. (more...)
jInfer is a framework for XML schema inference, based on the NetBeans Platform. Using jInfer, you can create DTD or XSD schemas from your existing XML documents, schemas, and queries.
With jInfer modules, you can fine-tune the inference process and see it unfolding. With your own modules, you can do (more...)
Proteomics and metalloproteomics are rapidly developing interdisciplinary fields providing enormous amounts of data to be classified, evaluated, and interpreted. Approaches offered by bioinformatics and also by biostatistical data analysis and treatment are therefore becoming increasingly relevant.
A bioinformatics tool has been developed at universities in Prague and Brno, in the (more...)
I came across VirtMus recently, the "modern music stand", on the NetBeans Platform:
Its intentions remind me a LOT of Mike Kelly's Chord Maestro, which is also on the NetBeans Platform. Maybe the two should integrate?
Speaking of music, I've been in touch with Winston Dehaney who is creating (more...)
You've followed the NetBeans Project Type Tutorial and now you'd like to let the user copy, move, rename, and delete the projects conforming to your project type. When they right-click a project, they should see the relevant menu items and those menu items should provide dialogs for user interaction, followed (more...)
Just like in this blog entry yesterday, you've included the "User Utilities" module (by right-clicking your NetBeans Platform application, choosing Properties, clicking Libraries, and checking the box next to "User Utilities" in the "ide" cluster) and so now you magically have "File | Open File" in the menu bar: