How to show English and Arabic in one JTextPane

Hi,
Does anyone know how to display English and Arabic in one JTextPane? For English the orientation is left to right while it's right to left for Arabic. So the result might be like:
hello                    
            سالتك ليتم الرد 
bye                                             Thanks!
Alex
Edited by: alex_46 on Aug 31, 2009 7:54 AM
Edited by: alex_46 on Aug 31, 2009 7:56 AM

I think you should be able to do it like this (very psuedo):
set the pane type to html,
for your text, have a String with something like:
<html>
<div align="left">english</div>
<div align="right">arabic</div>
</html>I don't know the exact html for this but something like the above.
Then set the whole string into your pane.
patumaire

Similar Messages

  • I have english and arabic key board, how to switch in between the 2 in writing e

    Hi, I have English and Arabic letters keyboard, how to switch between the 2 in writing

    can you see a flag on the top right corner if you click on that you can switch between the keyboards you have installed on your system

  • English and Arabic printing

    Hi All,
    I have a requirement where the form has text both in english and arabic  thru EN login.
    The Arabic text is priniting in wrong way i.e. from right to left.
    Eg: In AR sales order has to printed ....it prints sales order in AR but from R to L.
    If we read from L to R its says "order sales".
    The layout should print
         Sales order (En)      in AR also...
    Kindly provide any inputs/ suggestions/solution.
    Regards,
    Shakeel

    Hi,
    Have you got the solution to your problem? what you did?
    Actually I am now have the same problem. I have to print the korean text (Customer Address which is in korean in master table). in debugging mode it is coming correct. while printing it is prnting as #. Currently i am maintaining only one form in english.
    Have you maintained two forms or how you did  to display the arebic?
    Thanx In advance.

  • Peronnel names and Dated in English and Arabic Format

    Hi,
    i want to add personal names in English and Arabic formats (in infotype 0002)...and also incorporate Arabic Dates...please help me how can i do it in EEC.6.0.
    Urgent...

    Hi Imran
    Accept greeting from one of your old colleagues:). Well as far as this problem is concerned, ask your ABAPer to extend the Table PA0002 with Custom Include
    CI_P0002. When you double click it, it will ask you to create a new one and there you can add the fields ( Arabic name, etc ).
    What do u mean by ARABIC dates? Is it Islamic Calender? If you just want to format it as Arabic format and not islamic calender, then also add fields in the custom include mentioned above. and check the default settings in the SAP system for the dates as well. You can go to SU3 and examine the defaults of dates as well using the drop down.
    Hope it will help you.
    Reward points if helpful
    Regards
    Waz

  • Bullets Problem while printing English and Arabic in Single Layout of SF

    Hi,
    I can able to print Arabic (RTL) and English(LTR) in single lay out of a Smart Form.
    The issue is my bullets of English font is starting Right side instead of Left.
    My log on language is EN and my Form language key is AR.
    Actually I have divided my form layout into two( English and Arabic).
    I would like to print English font bullets in Left Side .
    Any suggestions to achieve this?
    Advance thanks.......
    Regards,
    Suresh

    Try to draw label itself
    componentToBePrinted.paintAll(g2d);
    use translate() method of Graphics to position the label.
    One more thing to try is to set the same font
    g2d.setFont(label.getFont());
    Regards,
    Stas

  • Out put form in both English and Arabic

    Hi Friends
    Am working in Saudi Arabia with a client. The requirement is that the payslip should have the text fields in both  English and the Arabic Language. Like wise the client needs every letter from his side to have the content in both English and Arabic languages.
    ie both the languages in the same sheet. Half in one column English and  the second column in Arabic.The log on Language when Arabic is only giving me inputs in Arabic.
    Thanks in Advance
    RR

    Hi,
    for your kind information at the time of instalation of SAP product we can select two launguages..by default german will be there because SAP is Geman product..First one is we will cinsider as English..if your selectt any other launguage you can login also...
    SAP give such kind of solution,,Don't under estimate SAP it self.. We are all working with SAP..living with SAP...and survive with SAP only...

  • How to Plot number and string in one row (data logger counter) ?

    hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
    i have problem about plot the number & string in one row, as shown on the picture below :
    how to move that string on one row ? i attach my vi.
    Thanks~
    Attachments:
    MODBUS LIB Counter.vi ‏39 KB

    Duplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...

  • How do I copy and paste from one page or file to another page or file - on the same screen?

    How do I copy and paste from one page or file to another - on the same screen?

      Open both of your images in the Editor. Click on the image you want to copy and press Ctrtl+A (select all) followed by Ctrl+C (copy) then click the tab for your other image and press Ctrl+V (paste)
    Alternatively click on your background image then simply drag the second image from the photo/project bin and drop it into the main editor workspace on top of the background image. Use the move tool to position and the corner handles of the bounding box to scale.

  • How to Show floders and documents as a tree structure from path only

    sir,
    I am doing system side project using Java..
    so i want to know how to show folders and documents as tree structure format..
    plz give your idea regarding this?

    See for example Tree taglib in Coldtags suite:
    http://www.servletsuite.com/jsp.htm

  • How to show module and SFP information include hardware serial number on Nexus switch?

       How to show module and SFP information include hardware serial number on Nexus switch?                 Thanks.

    Hi,
    The show inventory command will give you details of the Nexus chassis, power supplies, Supervisor, Fabric, I/O modules (including FEX if you have them) etc. To get the details of the installed SFP/SFP+ then you'll need to use the show interface transceiver command.
    Regards

  • I bought an IPhone 4S in Tripoli, Libya. Even when the brochures (in English and Arabic) said that it has FaceTime, this app is not in the phone.

    Hello:
    As I said, I bougth my IPhone 4S (it's my first IPhone). In the brochure inside the box, it is mentioned FaceTime Application (in both English and Arabic), but the Icon is not there. I checked with another collegaues that also have the IPhone and they have the icon to run the app, but not my phone.
    I would like to solve this issue, and I believe that Iphone should have a technical solution for it.
    Regards and Thanks in advance!

    Check Settings>FaceTime>On and Settings>General>Restrictions>FaceTime>ON. On the 4 &amp; 4S FaceTime is accessed through contacts.  Go into your Contacts, access the contact you want to FaceTime with and you will see a tab at the bottom of their contact card.  You can also access FaceTime by going into your Phone app, select dialling keypad, dial number, press call and an option for FaceTime on the keypad will appear.   It should be noted that FaceTime has been removed from iPhones sold in some Middle Eastern countries at the express wish of the respective Governments.  This article may also be helpful http://support.apple.com/kb/ht4319.

  • How do I Register and view my one on one now that I bought the card?

    How do I Register and view my one on one now that I bought the card?
    I paid for this service recently, but when I go to the apple store web site, it just indicates my previous account has expired.

    Hello Helpmenowplease1,
    Congratulations on your new One to One membership!  It sounds like you need to register the new membership.  I found an link where you can activate your membership:
    Activate your One to One membership:
    https://onetoone.apple.com/activate
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have got a mac book air as a gift from my brother so is it possible to me to ask Apple store to change the keyboard to English and Arabic while the name on the bill is my brother name

    Hi
    I have got a mac book air as a gift from my brother so is it possible to me to ask Apple store to replace the keyboard to English and Arabic while the name on the bill is my brother's name

    Public23 wrote:
    is it possible to me to ask Apple store to replace the keyboard to English and Arabic while the name on the bill is my brother's name
    Nobody here can tell you what an Apple store will respond to any question you might ask them.  You need to contact whatever store you are talking about directly to get your answer.
    The US online Apple store does not sell machines with Arabic keyboards, that can be seen from their website.

  • ENGLISH AND ARABIC TEXT IN SAPSCRIPT

    Dear ABAP Gurus,
    I have been working on one SAPSCRIPT wherein customer wants the text to appear both in English as well as in ARABIC.
    I have created the script in English and added the ARABIC part too in the layout.  But I do not get the ARABIC characters in print preview.  (The customer is logging in 'EN').
    Please advise me :
    1.  Is it feasible to print in multiple languages in SAPSCRIPT.
    2.  If yes, how.
    Regards,
    Karthik.

    Hi,
    Yes, but you need to install the Arabic launguage first then see the output.
    Regards
    Sudheer

  • How to show customers and vendors in balance sheet

    hi guru,
    i want to show my customer and vendor balances individually under head debtors and creditors in the balance sheet. that in balance sheet report when i click on debtors or creditors it should be expand and system should show the individually customers balance. how it is possible is there any option while perpairing of FSV to assign the customer and vendors to the debtors or creditors or we will have to open different reconciliation account for individual customer.
    please clear this
    thanks

    This is not possible as standard as the accounts you mention are recon accounts, they should not be open item managed or have line item view to them.
    Therefore against the actual GL you cant see the detail.
    If you have a single Recon for say all of your customers and a different one for your vendors you could look at right a report to display all open documents for customer or vendors per Company Code and then link it to the FSV so when you double click the relevant line it calls the new program.
    This is far fetched, probably very hard to do, but the only way around getting what you want.
    In ERP 6.0 with document splitting active there is the possibilty to drill into the line items of recon accounts.
    Please award points if this is useful.

Maybe you are looking for

  • Crystal Report Using C#

    Actually I am retrieving data from database and passing parameter to report. But I am getting problem where only one record  is showing. Not retrieving all data. So how can I use for loop for reading database. Can anyone help me. An example : I am us

  • EP 6.0 on Oracle 9i 32 bit for Windows 2003 server x86_64 bit env Install

    We are facing issues while performing instalations of EPortal 6.0 on Windows 2003 enterprise edition server(X64 version) on AMD 64 bit processor.We have installed 32 bit Oracle software alongwith 32 bit SAP kernel 640 dumps We had to install oracle 9

  • Start up of IMac

    My IMac was in an office that was flooed this week from a breaking pipe.  It will not startup now.  The grey screen comes on but is sticks there.  Could moisture affect this?

  • Weird selection problem

    Hopefully this is an easy one. In Illustrator CS4... my object is de-selected and I try to select and drag (in one move) like previous versions of illustrator, it acts as if the object is locked, it just selects it... Leaving it selected, if I then t

  • How to increase the text size of the af:message/ tag

    Hi , I am using Jdev 11.1.1.6.0, I want to display the facesContext message as bold with large font, and i have written like this but it is not displaying in bold. <af:messages id="m1" inline="true" inlineStyle="font-size:large; font-weight:bold;"/>