Too Difficult – Java GUI Programming

By clackwell

This shows how to get a spreadsheet like component which can add a row once you tab beyond the end of the current data in the component.

While it is very nice that it is possible to add this at all, I wonder if any of the SWT, JFaces, Nebula developers ever stop to think whether it really should take ~200 lines of code to get such a feature. Personally I would have expected this feature to be included already, ready to be enabled with a single line of code.

In Python they’d call such a case “no batteries included”, I guess.

And it’s far from the (alleged?) Java promise “make simple things easy and the complicated possible”, because here the simple things are complicated. :(

Leave a Reply