Results 1 to 4 of 4
Thread: Using HTML in java
- 02-14-2009, 12:29 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 58
- Rep Power
- 0
Using HTML in java
Firstly, I realize that when netbeans switches to vista basic view, certain HTML tags such as marquee (scrolling text) are disabled. What should I do?
Now for the second question. How do I change the background color of a picture? I saved a file as PNG and it is used as an icon. The problem is that the white part of the picture always stays white. What should I do?:confused:
Thanks.Last edited by hitmen; 02-14-2009 at 04:39 PM.
- 02-15-2009, 01:31 AM #2
This forum is for AWT/Swing. What does your question have to do with either of these?
db
- 02-15-2009, 01:26 PM #3
Member
- Join Date
- Oct 2008
- Posts
- 58
- Rep Power
- 0
I am doing a GUI. I didnt explain clearly. Firstly, my JLabel in netbeans does not parse advanced HTML like <marquee>.
Secondly, I am able to store an image as icon in a JLabel. but how do I change the white background of the pict in the Jlabel?
- 02-26-2009, 05:58 AM #4
Member
- Join Date
- Jun 2008
- Posts
- 56
- Rep Power
- 0
HTML usage is very limited in Swing. So, don't wait for easy way to do some things.
Try Controls4J - Advanced Swing Components.
Similar Threads
-
Java String to html var
By tman563 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 02-17-2009, 02:59 PM -
HTML linking and java applets
By Bomber_Will in forum Java AppletsReplies: 4Last Post: 02-08-2009, 07:50 PM -
Java + html
By GabWit in forum New To JavaReplies: 4Last Post: 01-25-2009, 03:58 AM -
How can I include a html file in html textarea?
By surya_dks in forum New To JavaReplies: 2Last Post: 10-04-2008, 07:20 AM -
Java Applet HTML
By ownlol in forum Java AppletsReplies: 4Last Post: 07-21-2008, 02:59 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks