Announcement Announcement Module
Collapse
No announcement yet.
extending DefaultStatusBar Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • extending DefaultStatusBar

    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.


    Code:
    java.lang.NullPointerException
    	at org.springframework.richclient.widget.editor.DefaultDataEditorWidget.executeFilter(DefaultDataEditorWidget.java:483)
    Either those fields should be made protected or setter methods added.
Working...
X