Skip to main content

NetBeans Dev 4.2 Q Build - Exploration of Matisse features

I managed to get NetBeans 4.2 Dev back into reasonable shape by uninstalling the application and reinstalling it. I then installed only a very few plugins from the Development Update Center; specifically plugins that support development of NetBeans Modules projects. I have a feeling that there are one or more development plugins in the Infrastructure folder that conflict with the core infrastructure plugins that come bundled with NetBeans. So I think for the time being I'll just leave those be.

I've pushed forward with learning what I can do with Matisse. I created a second simple panel, taking as my inspiration Hacknot's "Beware The GUI Builder." The author raises a number of important points with regards to how GUI builders are used and the poor quality code they produce.
But the GUI Builder's inability to recognize repetitive structures in the GUI (opportunities for reusing a custom component) has the potential to create a great deal of unnecessary code, should the scope of duplication involve a larger number of components.
He then shows the following example panel, which I reproduced quite easily and quickly in Matisse.

The Home panel was created quickly by first dropping the Home panel on the form and then laying each of the controls into the Home panel. I then selected the Home panel, copied it, and then pasted it onto the main form. I moved the second Home panel and beneath the first and changed the border's title to Work. It was simple, fast, and generated a lot of duplicate code.

I show the form's inspector panel to illustrate the relative maturity of Matisse. The code behind Matisse recognized that I was copying a collection of components and renamed them in order to avoid naming conflicts. The problem, however, is that there is a lot of duplicate code. What could Matisse do to help minimize this and foster reuse?

The answer may already be in Matisse. Current versions have an empty Beans section in the Palette and there is a Palette Manager that can be invoked from the top of the Designer. There's even a section in Help about adding a bean to the palette window.

What it takes to add new components, to extend the palette as well as foster reuse, is something I am very interested in. Eclipse's Visual Editor has the ability to extend it and add new controls, but I've worked with the Eclipse visual editor. Matisse in its current incomplete state is better than Eclipse VE in its 1.1 release, and Matisse has the potential to pull even further ahead in usability and functionality for the forseeable future.


  1. I read the "Beware..." article. Interesting look at some boundary issues, but frankly not all that relevant given my priorities. My priorities are: 1) developing a good looking GUI, that 2) responds correctly to resizing requests, and 3) is localizable.

    Promoting GUI code reuse? That is only important when there is time taken in creating a GUI. In this particular GUI, that isn't relevant. I've been doing GUIs for years, and in most cases it isn't relevant.

    BTW: Thank you for the article on Matisse. It looks to be pretty sweet once some of the rough edges are filed off.


Post a Comment

All comments are checked. Comment SPAM will be blocked and deleted.

Popular posts from this blog

A Decade Long Religious Con Job

I rarely write inflammatory (what some might call trolling) titles to a post, but this building you see before you deserves it. I've been seeing this building next to I-4 just east of Altamonte/436 and Crane's Roost for nearly 12 years, and never knew who owned it. Today on a trip up to Lake Mary with my wife I saw it yet again. That's when I told her I wanted to stop by on the way back and poke around the property, and photograph any parts of it if I could.

What I discovered was this still unfinished eighteen story (I counted) white elephant, overgrown with weeds and yet still under slow-motion construction. It looks impressive with its exterior glass curtain walls, but that impression is quickly lost when you see the unfinished lower stories and look inside to the unfinished interior spaces.

A quick check via Google leads to an article written in 2010 by the Orlando Sentinel about the Majesty Tower. Based on what I read in the article it's owned by SuperChannel 55 WA…

Be Careful of Capital One Mailings

Capitol One ("What's in your wallet?") sent me a bit of deceptive snail mail today. I felt sure it was a credit card offer, and sure enough, it was. I open all credit card offers and shred them before putting them in the trash. Normally I just scan the front to make sure I don't miss anything; the Capital One offer made me stop for a moment and strike a bit of fear into my heart.

The letter's opening sentence read:
Our records as of December 30, 2009 indicate your Capital One Platinum MasterCard offer is currently valid and active.Not paying close attention during the first reading, I quickly developed this irrational worry that I was actually on the hook for something important, but I wasn't quite sure what. The letter listed "three ways to reply" at the bottom; via phone, the internet, and regular snail mail. I elected to call.

Once I reached the automated phone response system, the first entry offered was '1', to "activate my Capital …

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…