Results 1 to 4 of 4
  1. #1
    rishu2003 is offline Member
    Join Date
    Mar 2011
    Posts
    7
    Rep Power
    0

    Default urgent helppp !!!!!

    Received RS 2600(Rupees two thousand six hundred only) on order of money given my the COMPANY



    can any one temme how to put bolds inside a string buffer in java!
    i tired using string buffer and string append but stil to no prevail!!!


    realy need urgently!!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    Your urgency is not our urgency.

    And your finances are also none of our concern.

    Bolding is a format thing, and not a property of a String.

  3. #3
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Posts
    356
    Rep Power
    5

    Default

    If this 'string' is a JLabel, you can make it bold, but as said, a string is just a string, so it doesn't have a bold or font property.

  4. #4
    to_devendra is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default

    To make bold any string, it's a formatting kind of. You may make is bold by using html bold embeded with java string. For example:

    String strTobeBold="thesimpletext";
    String txt="<html><b>"+strTobeBold+</b></html>";

    Now you can use txt , whereever you want to use as bold string. If you have any concern then let me know.

Similar Threads

  1. [URGENT]SHA Encryption System...need urgent helps
    By java_idiot in forum New To Java
    Replies: 6
    Last Post: 05-02-2010, 10:04 AM
  2. ComplexNumber.java I NEED HELPPP
    By db7_turbo in forum Advanced Java
    Replies: 4
    Last Post: 04-14-2010, 03:16 PM
  3. I need Help Urgent..
    By vidhyaprakash85 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-18-2009, 06:49 AM
  4. Need help urgent! Is this possible ?
    By meodihia in forum Sun Java Wireless Toolkit
    Replies: 1
    Last Post: 09-28-2008, 09:05 PM
  5. helppp
    By dadaman in forum New To Java
    Replies: 2
    Last Post: 04-30-2008, 01:01 PM

Posting Permissions

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