Mix of Arabic and English causes problems in JTextArea

I have a JTextArea which displays HTML of an Arabic web page. So it's essentially a mix of English and Arabic. In the JTextArea, with columns set to 30, certain text just disappears instead of wrapping properly. The weird thing is that if I copy the invisible text and paste it into Notepad, then I can see it in Notepad. If I change the number of columns to 40, everything displays fine. Any ideas?

It seems that Arabic is not the problem here. It is something to do with tabs. All the lines that disappear begin with 5 tabs. If I remove one tab so that they begin with 4 tabs, then they appear fine in the JTextArea

Similar Messages

  • I cannot transform between Arabic and English language in writing

    I cannot transform between Arabic and English language in writing >>>> I should every time restart my browser >>>> i need a solution

    If you are talking about typing text then make sure that the language toolbar is visible.
    * http://windows.microsoft.com/en-US/windows7/The-Language-bar-overview
    In Firefox you can switch the bidi text direction via Ctrl+Shift+X.

  • Does your MacBook keyboard come in Arabic and English and how much will it cost ?

    Does your MacBook keyboard come in Arabic and English and how much will it cost

    These are user to user forums.  You are not addressing Apple by posting here.  Click the Store butotn at the top of this page if you want to know how much they cost.

  • ITunes home mix of French and English

    In iTunes 7 just noticed at the store home page I have a minor mix of French and English on the same page.
    Checked preferences and set for english
    How do I report?

    the language setting does not effect the language of the music store it simply changes the language of the menus and tool bars of itunes

  • I want to buy Nokia with Arabic and English keypad

    Hi all ,
       Does anyone know where and how I can buy Nokia E series with Arabic and English keypad ? Please let me know .

    Read this:
    http://support.apple.com/kb/ht1574

  • I need to publish a magazine in arabic and english - what should I buy - for how much to use 15 mac books for my students to use indesign?

    I need to publish a magazine in arabic and english - what should I buy - for how much to use 15 mac books for my students to use indesign?

    You can only return the machine if you're within 14 days of purchase - otherwise you're just 'stuck' with what you purchased (unless you sell it, of course).
    I always recommend that Retina owners order 16GB of RAM as the RAM is not upgradable - it's soldered onto the logic board.
    Your call - if you're with 14 days of purchase, take it back and exchange for a 16GB model. Or sell it and buy a model with 16GB. The higher amount of memory will allow you to run far more memory-hungry apps concurrently.
    Good luck,
    Clinton

  • Buy mac air with Arabic and English keyboard

    would like to buy mac air with Arabic and English keyboard?
    can u guid me

    Nobody in these forums represents Apple or any store.  So to find out whether you can buy something, you need to contact stores or consult their websites in the country where you live directly yourself.
    Since you did not say where you live, it is hard to provide much further help.  If you live in the US, you can go to the web page for the online store and order this machine with an Arabic keyboard.  But they will not ship outside the US, and every store is different.
    Arabic keyboards always have English on them too.  Otherwise you could not type email or web addresses.

  • When ordering MacBook, does the keyboard come with only the language I specified, for example Arabic, or both Arabic and English?

    I'm planning to order a MacBook Pro from the apple store, but I was wondering if I order it with an Arabic keyboard, does the keyboard buttons only contain Arabic, or do the buttons contain both Arabic and English?

    RSBR wrote:
    I'm planning to order a MacBook Pro from the apple store, but I was wondering if I order it with an Arabic keyboard, does the keyboard buttons only contain Arabic, or do the buttons contain both Arabic and English?
    The buttons contain both Arabic and English.
    All keyboards with non-Latin scripts printed on them also have English printed on them.  Otherwise you could not type email and webpage addresses and the computer would be of very limited use.
    You can see the actual keyboards produced by Apple at
    http://support.apple.com/kb/ht2841

  • Arabic and English Subtitling solution needed... asap.

    Hi all,
    At the company I work for we need a subtitling solution for the videos we create; (as soon as possible!)
    We need to be able to hard-sub (bake in) subtitles that switch from Arabic to English (usually line by line).
    At the moment we use Aegisub to time and write up the subs, and as Premiere can't handle subtitle files (seriously Adobe, please do something about this), we have to use screen capture software to capture the subtitles, of which we then overlay this video in Premiere which is unreliable to due to frame rate issues.
    We're aware of the pt_ImportSubtitles After Effects subtitle plug in which would be great(!), but the subtitle subrip file that this would take cannot handle Arabic text (it appears reversed due to the right-left nature of Arabic text).
    Also we can't write the arabic subs straight in to After Effects as we've had endless issues with the text appearing backwards etc.
    We need to use this on an immediate and regular basis so if anyone has anything that can help, please let me know!
    Thanks!

    To write Arabic to Premiere, After Effects, etc, use the following website to reverse the Arabic text and make it compaitable:
    http://omar84.com/docs/taw/arabic_writer.html
    Paste the Arabic text to INPUT, choose Process Input, then Select Output and copy (CMD + C), then paste in Premiere, and choose a font that supports Arabic (Example: Adobe Arabic).
    Here's another website that does the same thing:
    http://www.arabic-keyboard.org/photoshop-arabic/

  • Does the MacBook keyboard come in Arabic and English

    Does the MacBook keyboard come in Arabic and English

    You have already asked this twice, please read the answers already provided and do not post again.
    https://discussions.apple.com/message/18239634#18239634
    https://discussions.apple.com/message/18239525#18239525

  • Is it possible to include Arabic and English (or symbols) in the same sentence using InDesign CS6?

    Hi guys,
    The discussion title is pretty much the question.
    The difficulty I'm having is when I place a full stop at the end of an Arabic sentence or a closed bracket. If its continued with some more Arabic, the sentence will flow correctly. If not, then the English/punctation/symbol will move to one end of the sentence.
    Any help is appreciated!!
    Adil

    For example, in the image above the letter G on the third line of Arabic should be at the end of the sentence (reading from right to left). The "G" is a symbol which reads incorrectly otherwise.
    Is there any way for the letter to be in its correct place at the end of the sentence?
    I've also encountered this problem when trying to insert brackets and full stops, whereby the symbol always ends up at the far right of the sentence and often restructures the entire sentence.

  • Printing Arabic and English Language on a smartform

    Hi All,
    i need a help. i wanna print English (Left to Right) and one more language of Arabic Style (Right to Left) on a smartform. I tried thru lot of means but the solution is big ZERO as of now. Please somebody help me.
    Thanks in advace.
    Kind Regards,
    Shekher

    Thank you very much for your reply.
    Could you mind tell me the Device Settings? I believe ZARSWIN is of customized Printer Settings.
    The Requirement is as of below i have print English and Arab Language on the same page.
    Waiting for your reply.
    Thank You
    Shekher Ch
    shekher_ch2yahoo.com
    blossomsdue2gmail.com
    +9609894471

  • Forms 10G - How to switch between Arabic and english languages.

    Hi
    We have a bilingual ( ENGLISH , ARABIC) form .Some of the text feilds are to be
    filled in english and some in arabic . In forms 6i
    the switching from LTR and RTL worked fine .We used the feild properties and
    direction and language would suffice to get the required behaviour of forms.
    Now in forms 10g since they work in a browser its not getting the desired
    effect of changing direction in arabic feilds the cursor blinks at the right
    side of the feild but still the language is english .
    What am i missing here to have the feild in the form type in arabic .
    PS numbers work fine .Its only the language text ie the script of the language

    You can't switch languages in OS X programs, just in the OS itself. Insert the Leopard OS X disc, and choose your new preferred language when prompted.

  • XML tag markers moved: Find and Replace causing problem in xml elements

    Hi All,
    I am doing find and replace using GREP. While using the expression like $1, $2 (Found Items) in the change to field it changes the placement of tag marker. If the found item is a part of two of more xml elements, I am getting a serious problem while replacing it. (ie. The xml tag markers are moved.)
    See the screen shot below, then you may get better idea. And help me to overcome this issue.
    This is just an example to show you what i'm trying to say, there are so many cases like this.
    Original text/ Before doing find replace
    After replacing
    Green4ever

    Hi Peter and John,
    but it seems to me that the example is looking for any space that
    follows a semi-colon and has two word characters following it, and
    repalce that with an em space. I think you could do the same using look
    behind and look ahead and not need to replace the found text.
    Yes you are right about the look behind and look ahead. I'd like to show some more examples to show what the actual problem is,
    Original/Before Replacing,
    (Consider there is another case here, instead of em-space some times normal word space will also be there)
    Using the Grep:
    Find What---------> ^(\d+\.(?:\d+)?)~m
    Change To------------->$1\t
    After Replace:
    Did I make any sense? Eventhough this will not make any changes in the layout, my requirement is to insert the tab out-side the tag marker not indise.
    Green4ever

  • Does running Photoshop CS5 and CS6 cause problems with plugins?

    I have Phootshop CS5 (32 bit) and have also installed CS6 (64 bit) on the same PC.  After installing CS6, and reinstalling the plugins, many plugins do not run on CS but continue to work on CS5?  In some cases (Topaz for example), some filters load and others do not.  Any ideas?

    Thanks
    Worked!

Maybe you are looking for

  • Save for web - "selected slices" only saves first one selected

    This is frustrating me beyond words. I'm trying to export a ton of slices using Save for Web/Devices, and when I choose "selected slices" only 1 slice is actually saved. Has something changed or is this a bug?

  • HT2523 What languages are available for TextEdit?

    What languages are available for TextEdit?

  • ITUNES 10 WILL NOT LOAD

    had i tunes it was working fine no problem got the upgrade to 10 lost i tunes can't get i tunes back on computer have tried to do repair 6 times nothing have completely uninstalled and re installed 6 times still nothing click on shortcut and i get no

  • How to stop some keyevent listening ?

    Hi, I have a number of JTextPane organized as cells of a table and I would like to go from one to another with the enter/tab key; but when I do that, in addition to jump from a cell to another, their is a enter/tab keyevent send to the JTextPane that

  • How to put new RAM in Macbook

    The instructions are straightforward, but there is something that can get you. In the left side space when putting in your module, turn the machine upside down to avoid the papery material that sits on the bottom of the module's space. If the module