java - ReadOnly Text Area with Scroll in JAVAFX -
in java fx application using textarea display text content. using following property restrict editing:
templatescriptarea.seteditable(false); with this, user not able write on textarea, selection allowed, or if selection made application able change user. requirement textarea should readonly, no editing no selection. scroll should work.
i thought, disabling textarea idea :
templatescriptarea.setdisable(true); but, scroll not work , grey color appears on textarea. there better solution?
Comments
Post a Comment