Wednesday Oct 07, 2015

Everlaw Open Sources TypeScript Plugin for NetBeans IDE

What's beautiful about open source is that unexpected things happen out of left field when you least expect it. While tinkering a bit with the beginnings of a new TypeScript plugin for NetBeans IDE, Twitter brought news of the open sourcing of a TypeScript plugin for NetBeans by Everlaw, which is an organization I had never heard of before:

Go here to read the full announcement by Everlaw:

And here's how the TypeScript editor by Everlaw looks, i.e., notice the syntax coloring, code completion, and Navigator support, in a screenshot made by me myself personally after setting up and installing the plugin into NetBeans IDE 8.0.2: 

For all the details and feel free to clone the repo, go here:

Go here to install the plugin:

Isn't open source simply awesome? 

Tuesday Oct 06, 2015

GlassFish and NetBeans Party

Are you a fan of GlassFish or NetBeans? Are you going to be at JavaOne? If so, put the "GlassFish and NetBeans Party" in your calendar!

The traditional GlassFish Party has been expanded to include the NetBeans community, as always at The Thirsty Bear, at the end of Community Sunday, the day before the main event begins.  

Join us, attendance is free as always, a perfect way to kick off your JavaOne!

Go here to sign up, limited number of tickets available.

Monday Oct 05, 2015

Oracle Cloud Day with NetBeans IDE

Oracle Cloud Days have been taking place all over the world. In the Netherlands, Oracle Cloud Day will be held tomorrow, in Nijkerk, all the details are here, in Dutch.

What's special about the Netherlands implementation of Oracle Cloud Day is that there'll be a strong developer element incorporated into it. The following follow one after the other and use NetBeans in one way or another. Martijn Verburg, London JUG Leader and diabolical developer, is doing a session in the evening with Blue4IT, though he's stopping by in Nijkerk for Oracle Cloud Day especially for this event.

Here's the program for the session in/around NetBeans IDE:

  • 11:10 - 12:05: NetBeans IDE: Your Ladder Into The Cloud (Geertjan Wielenga)
  • 13:00 - 13:55: Diabolical Developer's Guide to Performance Tuning in the Cloud (Martijn Verburg)
  • 14:20 - 14:45: Leveraging the Power of Microservices: Practical API Programming into the Cloud (Timon Veenstra)

Also, a real cloud expert, Andre Kuipers, an actual astronaut from the Netherlands, will be there too.

Here's where to register for the event!

Friday Oct 02, 2015

Payara is Growing!

Great news from Payara—things are going really well for them:

Read the announcement in more detail here:

Also notice that they're happy NetBeans users:

The above information comes from here, where you can find more testimonials from companies using NetBeans all over the world:

Does your company also want to be promoted on the page above? Write to webmaster at netbeans dot org for information.

Thursday Oct 01, 2015

YouTube: Digging into Node.js with NetBeans IDE

The word is spreading—NetBeans knows Node! Watch these two quick screencasts to catch up with the latest on what can be done with Node.js and NetBeans IDE.

Wednesday Sep 30, 2015

YouTube: Remote Java SE Platform, JavaFX, and NetBeans IDE

How to setup Remote Java SE Platform in NetBeans IDE running on Windows 10, deploy JavaFX application running on Raspberry Pi 2/Raspbian Jessie.

Tuesday Sep 29, 2015

ECMAScript 6, TypeScript, and NetBeans IDE

I'm working with a couple of others on new support in NetBeans IDE for ECMAScript 6. TypeScript is a strict superset of ECMAScript 6 and looks as follows, right now, in the ECMAScript 6 editor that is in progress. Click to enlarge to see the whole context:

A lot of NetBeans users have been asking for support for ECMAScript 6 and TypeScript for quite some time. Since JavaScript is increasingly important to NetBeans, it is likely that there will be official support for ECMAScript 6, the only question is when, in terms of priorities and staffing and so on. Official support for TypeScript might be more difficult to come by in the end and hence the free and open source nature of NetBeans enables developments such as the following to which anyone out there is welcome to join:

Notice several other features relating to TypeScript that are being worked on above. 

Please fork, extend, etc. Let's make this a great new feature for NetBeans IDE together. 

Monday Sep 28, 2015

Programmatically Selecting a Node

When my application starts up, the Node hierarchy is automatically expanded and the selected Node you see below is automatically selected:

Here's how:

try {
    em.setSelectedNodes(new Node[]{
} catch (PropertyVetoException ex) {

You'd probably want some check to make sure the Node exists, is not Null, etc. Another factor to consider is that you may need to add a thread to wait for the Nodes to be created before selecting the one you'd like to have selected.


Friday Sep 25, 2015

#netbeans on freenode

Ralph and I are back on #netbeans on freenode!

We'll be here on IRC again every week or so. Until then!

Tuesday Sep 22, 2015

3 Minute Movie: Samsung Galaxy S6 is a Development Tool?

Did you know you can edit your CSS stylesheets live directly on your Samsung Galaxy S6?

Monday Sep 21, 2015

Samsung Galaxy S6 with NetBeans on Windows

For quite a while, I've been trying to reproduce "Live Styling and Debugging on the Android Device", a YouTube clip I made two years ago on Ubuntu, on Windows. On the latest laptop I got from Oracle, I didn't immediately replace Windows with Ubuntu, at least partly to avoid all the hassle that comes with getting some of the internal Oracle apps to work correctly, i.e., some are optimized for Windows, or the installation instructions were redone for Ubuntu only as an afterthought, etc.

However, I could never connect to my Samsung Galaxy S4 from my Windows laptop, which is a basic requirement for showing how to work with NetBeans on a phone. I.e., nothing to do with NetBeans; the USB connection simply never worked. Last night, I finally wanted to sort it out once and for all, came across a nightmarish set of alternate and conflicting instructions on-line, and eventually gave up, especially when I realized that my mobile subscription was probably due for a renewal and that would mean I'd get a new mobile phone for free. And it all came to pass and so now I have a new Samsung Galaxy S6, which works wonderfully (it turned out that the thing that wasn't working was the USB cable itself which needs to be made by the same small child's hands as made the mobile device into which you plug it).

Here's NetBeans, with an HTML/JavaScript/CSS app deployed to my Samsung Galaxy S6: 

Above, you see that Droid@Screen plugin also works on Windows (magically, simply install it into NetBeans, even in 8.1 Beta though it was made for 7.4, and it starts up, makes the connection, etc, i.e., great for demos). Below you see a photo (maybe the last photo taken on my Samsung Galaxy S4) to show the complete environment, i.e., the phone as well as its reflection on my laptop within NetBeans, i.e., the people in the room where you're demonstrating the connection between Android and NetBeans cannot see what you're doing with your phone, where you're clicking, etc, which is why the Droid@Screen plugin is handy specifically for demonstrations, i.e., when you're teaching or presenting this combination.

Note: When I click in the browser on my Samsung Galaxy S6, the Browser DOM Window in NetBeans highlights the related DOM element; when I change a CSS style in NetBeans, I immediately see the update live on my phone; I can step through my JavaScript on the device, etc. Awesome magic for doing mobile development in HTML/JavaScript/CSS, e.g., no emulator is needed at all.

And, finally, a special award and eternal gratitude to Samsung for the weird medieval torture device they provide to open the sliding thingy on the side of Samsung Galaxy S6 so that you can insert the simcard. Tip—don't merrily throw the box away without retrieving this ancient medieval instrument retrieved from a cave where a martyred saint lies buried. Otherwise you'll never install your simcard. (And even then, if you're not aware of an obscure voodoo cult, and its related chants and satanic rituals, installation of the simcard will remain a process of trial and error.)

Watch this space for some cool new YouTube clips on working directly on your device, e.g., for styling CSS live on the device, with NetBeans on Windows. 

Saturday Sep 19, 2015

"CSS Secrets" -- in Sublime and NetBeans IDE

Are you using Chrome Developer Tools? Let's take an example from "CSS Secrets" by Lea Verou and use different editors to be productive while learning and using CSS.

Friday Sep 18, 2015

NetBeans IDE: The Ladder Into The Cloud

The Cloud is everywhere, but how do you get into it?

Java developers everywhere are being told every day that the Cloud is important and that "everything is moving to the Cloud".

What does that mean?

In an interactive workshop during Oracle Cloud Day in the Netherlands, you will see many demos—with code—and very few slides, and a lot of discussion, to introduce you to many new and exciting tools and technologies integrated into NetBeans that help you climb into the Cloud.

For example, you will learn and discuss about version control systems in the Cloud, continuous build servers in the Cloud, and deployment of applications into the Cloud.

And what about developing applications in the Cloud? What does that mean, does it make sense, and what can tools do for you to help you there?

Let's discuss!

In this workshop, the focus is on Java developers, or any other kind of developers, who are interested in discussing what the Cloud can mean for them. 

Register for the free event here, to be held in Nijkerk in the Netherlands on Tuesday, October 6.

And... a REAL Cloud expert will be there too, André Kuipers, the astronaut!

Thursday Sep 17, 2015

Big Discounts for "Beginning NetBeans IDE for Java Developers"

Apress offers some very nice discounts for combined orders of books, e.g., if you're a teacher interested in supplying a class of students with a copy each of "Beginning NetBeans IDE for Java Developers", take a look at this:

Go here for the details:

Wednesday Sep 16, 2015

What's In "Beginning NetBeans IDE For Java Developers"?

A good question asked a few times is, so what's the content of "Beginning NetBeans IDE for Java Developers"? Is it only for those who have never used NetBeans IDE before? How up to date it it?

These are good questions! The book is focused on NetBeans IDE 8.1, which hasn't been released yet, i.e., right now only NetBeans IDE 8.1 Beta is available. An attempt has been made to ensure that all the screenshots (and there are MANY screenshots!) are correct for NetBeans IDE 8.1, while the text, e.g., about the NetBeans Profiler, is specifically targeted at NetBeans IDE 8.1, too.

The book is a pretty thorough tour through all the key features of NetBeans IDE and is useful even if you have been using NetBeans IDE for many years. From the Apress page:

Get the book here, today:

Tuesday Sep 15, 2015

"Beginning NetBeans IDE for Java Developers"

Back at last from Oslo, Norway (JavaZone) and Spitsbergen (a.k.a. Svalbard), where there were great adventures, involving boats and dogs and Norwegians and mountains and more, soon to be blogged about here and turned into multiple articles elsewhere.

Came back home today to find that Apress has sent me the book I (and several others) have spent some time working on, "Beginning NetBeans IDE for Java Developers". It is focused on the features of the upcoming NetBeans IDE 8.1, hurray. It goes through the most important features of the IDE in a structured path, from installation, to creating & editing Java projects and files, to analysis & refactoring, to working with Java EE and with Maven, as well as debugging, profiling, versioning, code quality, and testing. Perfect timing for the 20 years of Java celebrations to be held at JavaOne this year!

It comes to around 250 pages, with many screenshots, more screenshots than any other NetBeans book has ever had, plus portraits of some of the many awesome NetBeans community members. When you hold it while standing in front of a bookcase, here's how it looks:

You know you want it. Get it here:

Monday Sep 14, 2015

Vimeo: "Everything a Java Developer Should Know about the JavaScript Landscape"

I did an overview of the JavaScript landscape at JavaZone in Norway last week Thursday, 10 September. I'll be doing a similar presentation at JAX London next month. Here it is:

Everything a Java Developer Should Know about the JavaScript Landscape from JavaZone on Vimeo.

Saturday Sep 12, 2015

"NetBeans IDE for Beginners" Exists!

You know you want it. Get it here:

Friday Sep 11, 2015

YouTube: Debugging Multiple Languages Simultaneously in NetBeans IDE 8.1

Truffle debugging support is demonstrated here in NetBeans IDE 8.1 by Jaroslav Tulach from Oracle Labs:

Monday Sep 07, 2015

New! The Power of MindMaps in NetBeans IDE

It is very important to keep the distance between a project and its knowledge as short as possible and the ideal variant is to keep that knowledge just within the project, as a document set. Learn how to do that with Igor Maznitsa's handy MindMap plugin for NetBeans IDE.



Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« December 2015