question: private JComponent createMenuTitle ( String title ) { JLabel label = new JLabel ( title ) ; label . setBorder ( BorderFactory . createEmptyBorder ( 5 , 4 , 10 , 0 ) ) ; return label ; }
target:  Create title for a sumbenu.