Urgent Help About JTexField ??

Hello All,
i make an application in which user can write data in urdu.
urdu is write from Right to Left, for that perpose i use
JTextField.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
after that methode my cursor is Aligen at Right side but when
i start to write then cursor is still stay at Right side and data
which i write its move from Right to Left.
i want my cursor is also move with text or my JTextField work like
its work normal.
please any body help me.
i m thanksfull.
i also post same question before but no response.
Arif.

I tried the following and it seems to work pretty OK...
public class TestEngine extends JFrame{
    JPanel panel;
    JTextField text;
    TestEngine(String s) {
        super(s);
        panel = new JPanel();
        text = new JTextField(30);
        text.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        panel.add(text);
        this.getContentPane().add(panel);
        pack();
        show();
    public static void main (String args[]){
        TestEngine e = new TestEngine("peirama");
}Hope that helped
afotoglidis

Similar Messages

  • URGENT HELP about java.util.zip.ZipException: invalid entry CRC

    I have a program (JAVA of course) packet on JAR with fat-jar eclipse plugin. This program work well in all my computers except two. On these two computers I receive a java.util.zip.ZipException: invalid entry CRC.
    Both computers have the last version of java, but one is Windows and the other is Linux.
    Any help to find the source of this problem??
    Thanks in advance.

    Sorry, I give poor information about this problem.
    This is the full error showed when I execute this command: java -jar app.jar
    Unable to load resource: java.util.zip.ZipException: invalid entry CRC (expected 0x358054d7 but got 0x7dc370ba)
    java.util.zip.ZipException: invalid entry CRC (expected 0x358054d7 but got 0x7dc370ba)
    at java.util.zip.ZipInputStream.read(Unknown Source)
    at java.util.jar.JarInputStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at com.simontuffs.onejar.JarClassLoader.copy(JarClassLoader.java:818)
    at com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:383)
    at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:371)
    at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:362)
    at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:305)
    at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:224)
    at com.simontuffs.onejar.Boot.run(Boot.java:224)
    at com.simontuffs.onejar.Boot.main(Boot.java:89)
    Exception in thread "main" java.lang.ClassNotFoundException: com.intarex.wizard.IWizard
    at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.simontuffs.onejar.Boot.run(Boot.java:240)
    at com.simontuffs.onejar.Boot.main(Boot.java:89)
    app.jar is a JAR file created with fat-jar eclipse plugin, to make easier to generate a JAR file with all dependencies.
    I think that is not a code related problem, because this program is executed in several computers without errors.
    I trasport this JAR to the client computer via HTTP.
    I'm trying to find clues to find the origin of this problem.
    Thanks.

  • Urgent help about javaload command

    Hi,
    I try to send mail with attachment and in the search form ı looked this link
    http://asktom.oracle.com/pls/asktom/f?p=100:11:4001241596351613::::P11_QUESTION_ID:255615160805
    And here this approach took my attention to use javamail api.I downloaded it but now in the javaload command ı have some questions.My database is oracle 10g .
    inthe link for -o oc8i dirver is used in my command which driver must ı use can you help me .Urgently please help me!
    thanks!
    And is there any idea to load the api in the database can you share with me?

    Exception in thread "main" java.lang.UnsatisfiedLinkError: t2cParseExecuteDescr
    be
    at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Metho
    at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java
    725)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatem
    nt.java:1030)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatem
    nt.java:1123)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.j
    va:1678)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1644
    at oracle.aurora.server.tools.loadjava.LoadJavaState.MD5TableIsObsolete
    LoadJavaState.java:658)
    at oracle.aurora.server.tools.loadjava.LoadJavaState.MD5TableNameIfNotO
    solete(LoadJavaState.java:681)
    at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJava
    tate.java:697)
    at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(Cli
    ntSchemaObject.java:52)
    at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObje
    t.java:172)
    at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObje
    t.java:215)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
    at oracle.aurora.server.tools.loadjava.LoadJava.addObject(LoadJava.java
    513)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:451)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
    at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:72
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:432)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
    at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
    at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(Lo
    dJava.java:617)
    at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:8
    8)
    at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:2
    1)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.ja
    a:103)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.j
    va:28)
    yes you are right ı am not in correct directory now ı in correct directory but the error is still contunue.
    can you help please ı am new and dont know much please help me!

  • Seek for urgent help about checking s/n from explorer file. Thx

    Hi,
    If i want to check the hardware's s/n and i only have a explorer file that generated from that machine. Is it possible to check it from the explorer? If yes, how to check it? Anyone can help me on this urgent matter?
    Thanks a lot.
    Best regards
    Barry

    The act of installing Explorer to that system puts you through a registration and configuration script that asks you many questions, including system serial number and contract number.
    However those fields are not mandatory and can be skipped.
    IF the data was correctly provided at time of installation...
    The file (I vaguely remember) is saved to the Explorer directory on the system.
    It should be in plain text.
    ... and questions specific to the usage and functionality of Explorer should be addressed to the Explorer support alias by email, not this end-user forum.
    See [Public Infodoc 203335|http://sunsolve.sun.com/search/document.do?assetkey=1-9-82329-1] which is the README that's a part of the Explorer download. The email address is in the first paragraph of that Infodoc.

  • Plz urgent help about HTMLDb

    dear members
    i have install 10g database successfully...........now when i have install 10g HTMLDB i see a error
    connection refused (description=(temp=)
    (vsnum=134238208)(err=12514)(error-stack=(erroe=
    (code=18514)(emfi=4)))
    when i have put database services name then i have see error
    plz help me
    Thanks

    you might try adjusting your ORACLE_HOME and/or TNS_ADMIN environment variables. the person at...
    HTML DB INSTALL
    ...found that unsetting his ORACLE_HOME worked. and the person at the bottom of...
    Windows 10G HTMLDB Install Error
    ...made adjustments according to his TNS_ADMIN setting. anyhow, please see if using/adjusting/setting those env variables works for you.
    thanks,
    raj

  • Urgent Help About JTextField ?

    Hello All,
    i want to make JTextField which work just like,in MSN Chat Window
    when we type message and press Shift Enter then we move in second line
    of JTextField and so on.
    if any example and any help then please give me.
    i m thanksfull.
    Arif.

    Thanks.
    My JTextField Code is below,
    JTextField tf=new JTextField();
    tf.setMargin(new Insets(0,0,0,0));
    tf.setPreferredSize(new Dimension(400,50));
    tf.setFont(new java.awt.Font(fontname, 0,fotsize));
    tf.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {               
         initString="<marif> "+tf.getText();
    //initstring is display in TextArea
    Now what i do for new line in JTextField please.
    i m thanksfull to u.
    Arif.

  • Urgent help about gps

    hi guys iam using an nokia n95 european model in usa iam not able to use gps can anyone help me or can i update the software

    1) You can update your europe N95 code to an updated software version if such version is available for your version of the N95. In other words, you cannot get a US N95 update (when it is released) for your european N95 b/c the product codes are different.
    2) GPS should work everywhere in the world but street level maps may not be available. Sometimes in metropolitan cities with high rises, I am not seeing a strong GPS signal , or that the signal is intermittent (so one could possibly think the gps is not working).
    Nokia >>> N95 (current), E65, N800, N80IE, 770, 5300 XpressMusic, 6030
    Sony Ericsson >>> W810i
    Motorola >>> RIZR Z3, RAZR, V551

  • Urgent help about Interface problem

      Please take a look at the following picture:
    Description:The vitual keyboard doesn't disappear when I slide to the leftmost "Search :iPhone" and then slide to the right.Whatever I slide the interface It remains until I start an app ! What is the problem?
    Location:China mainland
    OS:iOS 5.1, Not  Jailbreak
    问题描述:如图所示,当滑动到最左面的"搜索:iPhone"后,再向右滑动,该虚拟键盘不消失,此时,不论左滑还是右滑,都是这种情况,只有当点击一个程序时,它才会消 失!
    位置:中国大陆
    <Edited by Host>

    Please ignore - DOH
    Mental Block removed, twas a silly mistake ;-) When I had tried it earlier this way I had made a typo.

  • Urgent Help about Sim Free!

    Hey guys. I bought an iphone 5 from Apple Store in Spain and Im living in Turkey. Do you have any idea if it is sim free or not? Thanks in advance!

    You would have to ask the store from which you bought it.

  • Urgent Help about scope problem?

    Hi
    I have a changed my program that was written with one object in the class to now call another class so I can have numerous objects.
    I have an application opens up a DialogClass. I now want the DialogClass to call another class. I have put the call to the NewClass in the constructor of the Dialoglass, however any calls to the NewClass in the DialogClass methods do not work, the compiler says the symbol is not recognised. I am assuming that the object is out of scope due to the calls being made elsewhere in the class.
    Is this the case? If so where do I declare the NewClass object to be generated?
    My code is too big to post here, but hopefully someone can point me in the right direction.
    Many thanks
    Joseph

    Please ignore - DOH
    Mental Block removed, twas a silly mistake ;-) When I had tried it earlier this way I had made a typo.

  • I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I c

    I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I can do to repair it

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • [URGENT HELP NEEDED] Premiere Pro CS6 failed rendering

    Hello!
    I`ll try to make this quick because I need help asap. I`ve been starting to make YouTube gaming videos 3 weeks ago and my channel is growing up pretty fast. I promised I would make a video everyday but it`s been a full week since I couldn`t upload because I was busy and when I tried to render it failed.
    Anyway here`s how it goes.I`ve recorded with fraps some gameplay footage with the resolution of 1360x706. One of my friends reccommanded me Adobe Premiere Pro for editing so I`m using the trial version of CS6. I create a new project and choose a format of 720 25 (cant really remember the exact name). I then import my recorded files and when I place them in the sequence it tells me the resolution is different and asks me if I want to change the sequence settings according to the files. Usually, I ignore it and when I export the Media I just tick the option: "Scale to Fill" and that usually works just fine, quality HD on YT...
    But this week it has driven me crazy, I really don`t want to explain how much stress and dissapointment this has caused to me because I think I`ll end up raging...I`ll just tell you I`ve been trying for a couple of days more than 7 time to render the project(each time it takes about an hour and a bit more, so let`s just call it 7 hours wasted). The problem actually is that when I check the output file after exporting the media, the file size is ONLY 24 bytes!!! Other times the file size gets to like half of the one that should be or less, but mainly the render even so takes up a normal length of time of processing but in the end the file is only 24 bytes..Thing is I don`t encounter any error whatsoever...
    I really need some urgent help!
    Thanks!

    1st, some FRAPS information
    These are for Premiere Elements, but may help with PPro
    Fraps & Elements http://forums.adobe.com/thread/871095
    -and more Elements http://forums.adobe.com/thread/943772
    -and yet more Elements http://forums.adobe.com/thread/967201
    2nd, it is REALLY better to have your project sequence match your video
    Please NOTE that the PPro CS6 screen may look a bit different (I use CS5)
    For CS5 and later, the easy way to insure that your video and your project match
    See 2nd post for picture of NEW ITEM process http://forums.adobe.com/thread/872666
    -and a FAQ on sequence setting http://forums.adobe.com/message/3804341

  • URGENT HELP NEEDED!!! (Almost a matter of life and death)

    Well, it's more of a matter of failing a course or not...
    Anyway, my Java professor gave us some labs to do. I know Java front and back, at least, whatever version I learned a few years back. This is my first tenure with the Scanner object, and it's messing me up.
    I'm using Eclipse for my project. I have three files in the source folder, ABC_Manufacturing.java, mseast.dat and mswest.dat. Now, when I try to instanciate a new Scanner object, it won't find the files:
    Scanner east = new Scanner(new FileReader("mseast.dat"));
    Scanner west = new Scanner(new File("mswest.dat"));
    I'm trying two seperate ways to do this. Neither are working, this is the error I get:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         Unhandled exception type FileNotFoundException
         Unhandled exception type FileNotFoundException
         at ABC_Manufacturing.main(ABC_Manufacturing.java:38)
    Now, I added these files OVER and OVER again. I added them. I created new files and pasted the contents in there. I used .txt files. All the same error. It's like it just won't take the time out to look for the files that are RIGHT IN THE DAMN PROJECT! Then I tried using a complete path, using C:\Java\whatever. SAME ERROR!!!!
    Please, I need urgent help. This is due tomorrow at noon, and I have no idea what to do at this point. I can't really continue, because at this point its just looking at what prints out and formatting it, and I don't want to do that without testing to see if my code to convert the file data into arrays work. You dig? Thanks for any and all help, and I'm going to kill my professor...she spent a week going over parallel arrays but did nothing to show us how to import files into projects or use the scanner class. Also it doesn't help that at uni we have to use emacs, which I don't use at home.

    d00erino wrote:
    This is the the main class, so far:
    public static void main(String[] args)throws IOException
              Scanner west = new Scanner(new File("mswest.dat"));
              int [] eastParts = new int[13];
              int [] eastQuant = new int[13];
              int [] westParts = new int[17];
              int [] westQuant = new int[17];
              System.out.print(west.nextInt());
    And I didn't ignore that one guy (sorry, don't remember your username) I tried you and the other guy's responce. Both didn't work. I dunno how to get around errors. Figures, you don't learn that in the course but she'll spend a week on parallel arrays...Ok, well that can't possibly be complaining with the same error message you got before, so now you need to be (more) specific about what "didn't work" means.

  • Urgent help needed!! Layout table and Draw layout cell dissapeared.

    I need some urgent help. I'm using CS3 but for a while my
    Layout Table and Draw Layout Cell icons appear greyed and can't use
    them at all. Is there any kind soul out there who knows how to fix
    this? I'm going nuts trying all the possible options but none seem
    to work.
    Help please!!!!!!

    > How would you about designing a page without using html?
    You don't. But I don't recall suggesting that you not use
    HTML. I just
    suggested that you use best-practice HTML, no? Or maybe you
    meant to ask
    how you would go about building your site without learning
    HTML? In that
    case, I think you are outta luck. Using DW without knowing
    HTML is a very
    punishing experience, I'm afraid.
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    I'd prefer Cristal, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Untersberg" <[email protected]> wrote in
    message
    news:g4tj9a$m5o$[email protected]..
    > Ahhhhhh!!!!! They came up!!!! They came up again!!
    > I was on standard mode. Now going back to your
    suggestion, which I really
    > appreciate. How would you about designing a page without
    using html? I'm
    > just
    > redesigning my website at the moment and need it to get
    going urgently,
    > hence
    > the reluctance to start learning HTML at the moment.
    I'll do after but I
    > need
    > to get this up and running fairly quickly.
    >
    > Cheers.
    >
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    >

  • Urgent help needed to get this home page up!

    Hi,
    I need urgent help with this and it is driving me crazy. For
    some reason my animation starts at its fastest and won't stop until
    you click the area then it works properly. I have no clue why it is
    doing this and only seems to do it on a PC browser not on a Mac.
    Can anyone help please!!!!!
    Link to sample:
    http://www.totalamber.com/test.html
    Link to fla:
    http://www.totalamber.com/flash/homepage.fla
    Thanks so much for anyone who can help or tries to help me.
    Neil
    Ps this is urgent and i can't find a solution by searching on
    here

    Thanks to anyone who has looked at this but i have found the
    answer.
    It is due to what many of the users on here will already know
    and can be explained in this link:
    http://blog.deconcept.com/swfobject/
    I had forgot about the legal patent going on with microsoft!
    Hope it helps anyone else as bad as i am.
    Neil

Maybe you are looking for

  • Report for Monthly Quantiy sold by Customer (SOLD TO PARTY)

    Hi Gurus I had asked this question many times but no answer I got from the forum , I want to create a report which should show quantity , uom sold to customer(sold to party) by each month and plant (werks). I want to display monthly sales in the repo

  • No accounting document generated in billing

    Dear Experts, I have created one header condition type ZD00 for freight charges in pricing procedure and assigned Account key ERF.It is calculating in Billing but when I am trying to save the billing it is throwing a message "Document 9310000061 save

  • Why Are My EM Jobs Not Editable After They Execute?

    hi experts, I'm using 10g's Database Control tool to create some Export jobs - using the "Export to Export Files" wizard When I create the job, it executes at the scheduled time. But then I cannot modify the schedule after that. When I attempt to edi

  • TAX INN Configuration

    HI Experts, I need help and support from you all This is my First implementation project in CIN and my client have asked me to implement TAXINN. Could you please provide me configuration document on TaxINN with full detail. <removed by moderator.  DO

  • ITunes 8.2.0.23 won't open?

    At first, I would click on the iTunes shortcut on my desktop and this window would pop up saying "Please wait while Windows configures iTunes". It would attempt to do so, but would encounter some error and I'd have to cancel. I deleted the shortcut f