X

Geertjan's Blog

  • August 20, 2010

Tweaking the OutlineViews in the AMSWin Application

Geertjan Wielenga
Product Manager
Several tweaks later and the appearance of the OutlineViews is much improved, largely thanks to Toni Epple who came to visit in Amsterdam today:

The first column is removed, The small edit buttons are gone, except when you select a cell. Only the useful properties, instead of ALL the properties, are displayed in the Properties window. The tabs in the windows are removed. The selected row is highlighted. A combobox is displayed as the property editor for the city property. For the rest, everything else is the same. The appearance of the OutlineView has been normalized, however. In other words, the behavior is now similar to a standard JTable, even though a BeanNode is used to enrich the domain objects with new features, such as a hierarchical structure for the data provided by the model.

Related reading:

Join the discussion

Comments ( 1 )
  • guest Monday, February 27, 2012

    Very nice tip !

    Unfortunately, the code provided by Toni Epple (quick tip 44) that i've copied and paste in my own project doesn't work : i always get a ClassCastException because at sope point there is a cast from an org.openide.awt.HtmlRendererImpl to DefaultOutlineCellRenderer.

    Could you please show us the tweak you've done in your example ?


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.