Why NetBeans is awesome. Part 2: Intelligent Java code completion

Welcome to another part of “Why NetBeans is awesome” series. What I’d like to show you today is how does NetBeans smart code completion work. Let’s look at this simple example:
Continue reading…

Why NetBeans is awesome. Part 1: Swing form editor and custom components.

I’m great fan of NetBeans IDE and think it really doesn’t get enough noise. So I’m starting my Why NetBeans is awesome series of posts that show some NetBeans features you might not know about, but are really cool or makes life really easier.

First in the series is about great Java Swing form editor and how you can use it with custom components you have created in your application. What NetBeans allows you to do is to just add your components to palette and drag’n’drop it anywhere you need it. What’s coolest there is that it will look exactly like you designed it and will allow you to operate on properties (via getter/setter you have in your component) using Properties table you’re used to while working with ootb Swing components. Here’s how…

Continue reading…

Netbeans source files license header by project

In case you’ve never found this Geertjan’s post Project-Level License Settings in NetBeans IDE 6.0. There is some extreamly useful project specific license feature in Netbeans that really makes life easier when you swap projects often, and each is made for different customer with different license. Here’s what you have to do to make Netbeans fill source files header for you:
Continue reading…

Netbeans 6.0 trunk

For last week or two I am using Netbeans 6.1 from trunk and the only thing I can say is WOW! Guys really made this thing rock! It’s fast, damn fast when working on large project and I mean really huge ones (at work I am working on Windchill and I really know what is a big java application. If you don’t know what Windchill is visit www.ptc.com and see for your self that this can make your ide sloooow). Startup time, code completion, Go To Type dialog, all this is much faster than in regular 6.0. Of course I am using some speedup options in netbeans.conf 🙂 but all of them were already used in my 6.0 installation. Currently it is something like:

“-J-client -J-Xss2m -J-Xms64m -J-Xmx300m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Duser.name=’Marek Piechut’ -J-Xoptimize -J-XX:CompileThreshold=100 -J-Djava.net.preferIPv4Stack=true –laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel”

Uff, that was a long one ;-). Feel free to add some of them in your config (and don’t hestiate to comment what were your results). And most important, it’s not very buggy. It usualy makes good job and does not crash very often ;-).

%d bloggers like this: