haha, im having the same trouble !!!
Quote: new jLabel1 = new JLabal("<HTML><a href="index.htm"> Get Help </a></HTML>");
im no expert at java, but that looks like a major problem.
doesnt that say you want to declair an object of class new ??
shouldnt it be
JLabal jLabel1 = new JLable(HtmlString);
that should compile, as for telling the label to accept html, thats what im struggling with.
my notes tell me to use a setContentType("text/html"); method
but that may only work for JEditorPane objects, not sure.
ALSO, you cannot use "'s insode of strings, use \" instead.
e.g.
("<HTML><a href=\"index.htm\"> Get Help </a></HTML>");
Enter your message below
Sign in or Join us (it's free).