public void init ( Icon icon , String text ) { this . setText ( text ) ; this . setIcon ( icon ) ; this . setMargin ( JScreenConstants . NO_INSETS ) ; }
Creates new JCellButton . The icon and text are reversed because of a conflicting method in JButton .