Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jLabel copy

JTextPane f = new JTextPane();
f.setContentType("text/html"); // let the text pane know this is what you want
f.setEditable(false); // as before
f.setBackground(null); // this is the same as a JLabel
f.setBorder(null); // remove the border
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jLabel #copy
ADD COMMENT
Topic
Name
6+8 =