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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -