Answers for "jLabel copy"

0

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
Posted by: Guest on April-05-2021

Browse Popular Code Answers by Language