DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Ed Guest

    New to Java question


    Hi,

    I was hoping someone could point me in the right direction for the following:

    I need to have a textfield area(or something similar) which can display different
    colored background and text for each and every character in the textfield(or
    a similar type area). So for example, if I have the word "Hi". I may want
    the background color of the letter "H" to be blue with the actual text color
    to be yellow. And I may want the letter "I" to have a background
    color of red with a text color of green. I hope this is easy to
    understand. Also, this text will be changing constantly depending on user
    input.

    Anyways I am new to Java and was hoping someone could point me in the right
    direction so I don't spin my wheels forever. This is not for an applet but
    rather a full Java Program.

    Thanks




  2. #2
    James Calise Guest

    Re: New to Java question


    "Ed" <nospamefink1@nycap.rr.com> wrote:
    >
    >Hi,
    >
    >I was hoping someone could point me in the right direction for the following:
    >
    >I need to have a textfield area(or something similar) which can display

    different
    >colored background and text for each and every character in the textfield(or
    >a similar type area). So for example, if I have the word "Hi". I may want
    >the background color of the letter "H" to be blue with the actual text color
    >to be yellow. And I may want the letter "I" to have a background
    >color of red with a text color of green. I hope this is easy to
    >understand. Also, this text will be changing constantly depending on user
    >input.
    >
    >Anyways I am new to Java and was hoping someone could point me in the right
    >direction so I don't spin my wheels forever. This is not for an applet

    but
    >rather a full Java Program.
    >
    >Thanks
    >
    >
    >



  3. #3
    James Calise Guest

    Re: New to Java question


    "Ed" <nospamefink1@nycap.rr.com> wrote:
    >
    >Hi,
    >
    >I was hoping someone could point me in the right direction for the following:
    >
    >I need to have a textfield area(or something similar) which can display

    different
    >colored background and text for each and every character in the textfield(or
    >a similar type area). So for example, if I have the word "Hi". I may want
    >the background color of the letter "H" to be blue with the actual text color
    >to be yellow. And I may want the letter "I" to have a background
    >color of red with a text color of green. I hope this is easy to
    >understand. Also, this text will be changing constantly depending on user
    >input.
    >
    >Anyways I am new to Java and was hoping someone could point me in the right
    >direction so I don't spin my wheels forever. This is not for an applet

    but
    >rather a full Java Program.
    >
    >Thanks
    >
    >
    >



  4. #4
    Ed Guest

    Re: New to Java question


    Hi...did you post an answer? If so I didn't see it .




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links