java - Display multiple lines within a Jlist cell -
how can display multiple lines within single cell of jlist. in jtable, achieved adding jtextarea table cell renderer. similiarly, there code add custom cell renderer jlist holds textarea? if yes, can please give me code snippet same?
or think there other better method display multiple lines within cell of jlist instead of using textarea? please me!!
beside usage of html code in swing component (like jigar says), can specify listcellrenderer uses textarea, in jtable.
Comments
Post a Comment