New to Java question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: New to Java question

Hybrid View

  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 .




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center