Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AWT  RSS feed

 
manu g
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a software which is similar to WordPad in Windows OS,i have facility 2 insert JPEG images as icons into the document,other facilites include changing color of text,changing the font.the problem is when ever i save i am not able 2 save th colored text,or text with other fonts and pictures,how could i save all these,i need the software 2 be wordpad like
 
Stanley George
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
the problem seems to be with saving...
if i am not wrong, you have implemented the viewer correctly, bu i think u r saving it as a plain txt file
just add some parameters to the end of your file stating bacgraound color, picture path etc. u can read these when u open ur saved file and pass these as arguments to ur viewer...
hope this helps
enjoy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!