Sometimes you use the NetBeans API MultiViewElement class to create new tabs in a TopComponent, without needing to display a toolbar. However, as you can see below, you get an empty toolbar anyway, thanks to the getToolbarRepresentation override. That's a bit ugly...
...but gets even worse when the user tries to drag it, which sometimes succeeds, but then when they try to put it back, things might go wrong. Either way, this is the ugly error stack that they see:
When beginning a new NetBeans Platform application... there is always one crucial question that you should ask yourself in the design/architecture phase of the project. I.e., before you put your hands on the keyboard, you should have TMINPQ answered. The entire direction of the application will depend completely on the answer to that single question.
What is that question? In under 15 minutes from now, that question will be very clear, if you watch this brand new YouTube movie:
Recently I wrote about how to create a custom "JSF Pages from Entity Classes" wizard. Kay Wrobel, who was introduced in that blog entry, has now taken the concept to the next level and created on SourceForge the PrimeFaces CRUD Generator for NetBeans:
He's also provided an excellent starting guide, which includes an explanation of each of the files the generator will create for you:
You're happily coding along and suddenly think to yourself: "Hmmm. I wonder where the 'pos' variable in my class is used throughout my application?" So you right-click your "pos" variable and choose "Find Usages":
Now, as always, you see the dialog below where you can set the scope of the search and whether comments should be included:
I'm looking at a seismic velocity application based on the Seismic Unix data format (the SEGY format), with Glenn Reynolds, who created it:
The above is created on the Swing Application Framework. The basic functionality can be ported to a new application on the NetBeans Platform in an hour or two:
A recurring question in the NetBeans Platform world is: "How am I supposed to change the desktop shortcut icon and icons of the executables in the installation directory of a NetBeans Platform application installed on Windows via an installer created by the NetBeans Platform installer infrastructure?"
Let's use the Paint Application, one of the samples in the New Project wizard, as an example. Right-click the project node and choose "Package as | Installers". Now go outside NetBeans IDE and find the generated installer, double-click it, and complete the wizard.
Kay Wrobel is new on the NetBeans Platform developer mailing lists. He's interested in PrimeFaces and really likes NetBeans IDE for that reason (and rightly so, of course). However, being able to modify the templates used to generate JSF pages from entity classes is not enough for him:
I came across David Geary's article HTML5 2D game development: Implementing Sprite behaviors yesterday. The article ends with a download ZIP file.
I tried out the 'jboss7' branch in 'web-main' today, where my colleague Petr Hejl pushed the latest jboss7 patch, which he's been working on with contributors, especially M Pragalathan, who did a fantastic thing in starting the NetBeans/JBoss 7 work on his own initiative, in the related issue:
A brand new plugin by the NetBeans Team's window system guru Stan Aubrecht:
Dark theme for Nimbus Look and Feel. It goes well with "Norway Today" editor color scheme. It does not affect other look and feel implementations so you must force Nimbus l&f, i.e., by using --laf Nimbus command line switch. To revert back to the default Nimbus theme just uninstall this module.