Results 1 to 4 of 4
  1. #1
    hitmen is offline Member
    Join Date
    Oct 2008
    Posts
    58
    Rep Power
    0

    Default 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 05:39 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    This forum is for AWT/Swing. What does your question have to do with either of these?

    db

  3. #3
    hitmen is offline Member
    Join Date
    Oct 2008
    Posts
    58
    Rep Power
    0

    Default

    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?

  4. #4
    devunion is offline Member
    Join Date
    Jun 2008
    Posts
    56
    Rep Power
    0

    Default

    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

  1. Java String to html var
    By tman563 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-17-2009, 03:59 PM
  2. HTML linking and java applets
    By Bomber_Will in forum Java Applets
    Replies: 4
    Last Post: 02-08-2009, 08:50 PM
  3. Java + html
    By GabWit in forum New To Java
    Replies: 4
    Last Post: 01-25-2009, 04:58 AM
  4. How can I include a html file in html textarea?
    By surya_dks in forum New To Java
    Replies: 2
    Last Post: 10-04-2008, 08:20 AM
  5. Java Applet HTML
    By ownlol in forum Java Applets
    Replies: 4
    Last Post: 07-21-2008, 03:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •