File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes StringBuffer to String conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "StringBuffer to String conversion" Watch "StringBuffer to String conversion" New topic

StringBuffer to String conversion

Ashish Chopra
Ranch Hand

Joined: Nov 30, 2004
Posts: 134
How do i convert an object of StringBuffer type to an object of String type?I need to display it in a textarea of my GUI(in swing).

Quis Custodiet Ipsos Custodes<br /> <br />My blog: <a href="" target="_blank" rel="nofollow"></a>
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
Reading Java docs and doing google always helps...

I agree. Here's the link:
subject: StringBuffer to String conversion
It's not a secret anymore!