Results 1 to 2 of 2

Thread: Html to image

  1. #1
    Join Date
    Feb 2009
    Rep Power

    Default Html to image

    Hi Guys,

    I have one requirement,
    I am converting html to image , its working fine,
    but when the text in the html is from right align like in arabic
    still in image i am getting left align.

    Any solution for that....

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Rep Power


    Though I've never done it, you should be able to define a javax.swing.text.html.StyleSheet for your HTMLEditorKit, that is equivalent to an HTML 'align=left'.

Similar Threads

  1. Replies: 14
    Last Post: 04-10-2009, 09:46 AM
  2. Replies: 4
    Last Post: 01-08-2009, 11:26 PM
  3. drawing an image to an offscreen image
    By hunterbdb in forum Java 2D
    Replies: 9
    Last Post: 10-30-2008, 07:17 PM
  4. How can I include a html file in html textarea?
    By surya_dks in forum New To Java
    Replies: 2
    Last Post: 10-04-2008, 08:20 AM
  5. Replies: 0
    Last Post: 01-08-2008, 06:29 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