-
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!!
-
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.
-
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.
-
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.