OutlineView ov = new OutlineView("Cars");
ov.getOutline().setRootVisible(false);
ov.setPropertyColumns(
"year","Year",
"color","Color"
);
add(ov, BorderLayout.CENTER);
And then you'll have the color chooser available as the field's editor when you run the application:
Why is the example color chooser truncated at the edges?