Results 1 to 2 of 2

Thread: Html to image

  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    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
    Posts
    671
    Rep Power
    6

    Default

    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, 08:46 AM
  2. Replies: 4
    Last Post: 01-08-2009, 10:26 PM
  3. drawing an image to an offscreen image
    By hunterbdb in forum Java 2D
    Replies: 9
    Last Post: 10-30-2008, 06: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, 07:20 AM
  5. Replies: 0
    Last Post: 01-08-2008, 05: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
  •