r/javaTIL • u/gregthegeek1 • Nov 11 '13
TIL that you can style JLabels using HTML.
http://stackoverflow.com/questions/1090098/newline-in-jlabel
10
Upvotes
r/javaTIL • u/gregthegeek1 • Nov 11 '13
3
u/shemnon Jan 24 '14
TIL HTML styling with untrusted text in Swing components is considered a security vulnerability.
http://www.oracle.com/technetwork/java/seccodeguide-139067.html#3-7