The documentation "2.6. Playing with the status bar" suggests extending DefaultStatusBar to add a clock.
This does not work currently. It results in NPE's because DefaultStatusBar.createControl() initializes fields like statusBar and progressMonitor.
Those fields are private and have no getter Method. So they remain null when overriding the DefaultStatusBar.createControl() Method.
Either those fields should be made protected or setter methods added.Code:java.lang.NullPointerException at org.springframework.richclient.widget.editor.DefaultDataEditorWidget.executeFilter(DefaultDataEditorWidget.java:483)


Reply With Quote