References #1928: Changed createView() to return JComponent instead of Component

Change-Id: I9ee16296d48026ea09dcf143b94fb3e8b0fbc9dc