• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

attributed string storage

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am trying to create a multiline text area component with styled text without using the swing components. What I am doing is dividing the string data into different text layouts. What i need to do is apply different styles and attributes to this data. However I am unable to deicide as to how I shud be storing the attributed string so that later on i can read it and present it in the same way it was bfore.
Also whenever there is a change to a part of the string data, for eg. if i add a character some where in between of the text area then all the text areas following that particular entry point will have to be re calculated and redrawn. Is there any other way of doing this where by i can avoid this problem.
It would be realy great if some one can guide me or give some leads on the same.
Thanks in advance.
reply
    Bookmark Topic Watch Topic
  • New Topic