Urgent!Unable input Turkish Text in JTextField in Linux..

Hi all,
I sorted the topics but i could not find any answer to my question. In q swing component like a JTextField, i can't input turkish characters ( like '?',S with a point). How can i found the turkish font, or must i sat the locale. Thanks...

On a Windows NT (I do not know about XP), you can use the command
chcp <code page number>
for displaying and setting the active code page number. For Turkey the code page number is 857.
http://www-3.ibm.com/software/network/commserver/library/publications/csaix_60/dzcl1m21.htm
Of course you should set suitable fonts for the command line window.
As "System.out" is an OutputStream, not a Writer, it has no relation with encodings for Read/Write of Strings. First try a file output with a suitable encoding.

Similar Messages

  • I am unable to receive texts on my new LG G2 when sent from some other iPhones

    I had an iPhone 4 and switched to LG G2 android.  I am unable to receive texts on my new LG G2 when sent from some other iPhones.  I've done everything Sprint and Apple have suggested - turned off imessaging, made sure the contact info on the other iPhones is plain mobile numbers, deactivated my iCloud account.  Nothing is working.  Anybody have any suggestions?

    See this support document http://support.apple.com/kb/TS5185. If you have done everything there, then look at the last line which says to get in touch with Apple Support. This is not Apple support, this is a user to user forum. Call Apple support based on your location with information from this support document. http://support.apple.com/kb/HE57

  • Unable to get Text to work on iMovie. Clicking on T gets me options, but when I click on any of them, nothing happens.

    On iMovie 11, an unable to use Text. I click on T and get options, but nothing happens when I click on any of the options.

    Thank you so much!  Such a simple solution after hours of frustration!

  • Why am I unable to change text color from black in LR5 book module?

    Why am I unable to change text color from black in LR5 Book Module?

    I'm assuming you clicked on the color patch besides the word <Character> to open the color picker window.
    At the right side of this window there is a vertical bar that has 2 horizontal black lines at the bottom.
    This is actually a slider. Pull it upwards with the color picker and color will appear in the window.

  • Problem with focus and selecting text in jtextfield

    I have problem with jtexfield. I know that solution will be very simple but I can't figure it out.
    This is simplified version of situation:
    I have a jframe, jtextfield and jbutton. User can put numbers (0-10000) separated with commas to textfield and save those numbers by pressing jbutton.
    When jbutton is pressed I have a validator which checks that jtextfield contains only numbers and commas. If validator sees that there are invalid characters, a messagebox is launched which tells to user whats wrong.
    Now comes the tricky part.
    When user presses ok from messagebox, jtextfield should select the character which validator said was invalid so that user can replace it by pressing a number or comma.
    I have the invalid character, but how can you get the focus to jtextfield and select only the character which was invalid?
    I tried requestFocus(), but it selected whole text in jtextfield and after that command I couldn't set selected text. I tried with commands setSelectionStart(int), setSelectionEnd(int) and select(int,int).
    Then I tried to use Caret and select text with that. It selected the character I wanted, but the focus wasn't really there because it didn't have keyFocus (or something like that).
    Is there a simple way of doing this?

    textField.requestFocusInWindow();
    textField.select(...);The above should work, although read the API on the select(...) method for the newer recommended approach on how to do selection.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • OPEN DATASET FOR INPUT IN TEXT MODE - linesize issue

    Hi,
    I faced a problem when opened ANSI file with CYRILLIC in ECC 6.0 Unicode system - the system cuts the line to 250 characters. Below is snip of code:
    REPORT  Z_TEST_01 LINE-SIZE 1023.
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    WHILE sy-subrc = 0.
          READ DATASET file INTO line ACTUAL LENGTH len.
            WRITE: / len, line.
    ENDWHILE.
    CLOSE DATASET file.
    In this case, variable LEN always get value 250. File-content is correctly converted from ANSI and all CYRILLIC is displayed to the screen. I changed type for LINE - initialy the type was STRING, actially.
    Further, tried to open it in BINARY - like this:
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    FIELD-SYMBOLS <hex_container> TYPE x.
    OPEN DATASET file FOR INPUT IN BINARY MODE.
    ASSIGN line TO <hex_container> CASTING.
    DO.
      READ DATASET file INTO <hex_container>.
      IF sy-subrc = 0.
        WRITE: / line.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLOSE DATASET file.
    WRITE: / line.
    In this case I got bigger linesize (obviously 1024), but faced conversion issues - the file contains some CYRILLIC and it is messed. Played for few hours with conversions - using additions: IN LEGACY BINARY MODE... BIG/LITTLE ENDIAN, CODE PAGE... without success. So decided to ask...
    Well, I searched SDN for a similar issue, but didn't found, except this one:
    Re: OPEN DATASET STRING Problem
    Could someone points me what am I doing wrong? How can I read my ANSI file with line-size more than 250 chars? Actually, in my case line size may vary up to 1800 chars. Further, afrer conversion and some validation, I should save it back to the AS.
    Many thans in advance.
    Regards,
    Ivaylo Mutafchiev

    Sorry for the noise - it is not an issue anymore.

  • Unable to type text in Text Frame

    After I draw a text box on my first page, I am unable to add text to it.
    There is nothing else on the that page, but the blinking cursor never shows up no matter how many times I click on the text frame.
    I checked for preflight errors, there is none.
    All these happen only on the first page. The other pages are fine.
    Im still new to Adobe In Design, so I need your help!

    Twice in one day... See http://forums.adobe.com/message/3790080#3790080 for starters, and having the file available will save lots of guessing if yo don't figure it out yourself. Check the master page, by the way, for a master text frame that might have text wrap applied to it erroneously.
    To shZAre your file, zip it and put it on a server someplace, then post a link here. If you don't have your own server, you can send it to yourself using a service like YouSendIt.com and post the link.

  • HT4528 i upgraded from an iphone to a Samsung galaxy and now i am unable to receive text messages now from iphone users.the iphones think that my number is still another iphone and always sends a message as imessage.

    Upgraded from iphone to a Samsung and now i am unable to receive text messages from other iphone users unless they disable imessage .
    Being my original number was on an iphone is why this is happening .
    Please help. Almost everyone has an iphone

    You should have turned iMessage off before disabling the phone. Do you still have the phone so you can turn iMessage off? If not, you will need to go to Apple support on their website and delete the product from your profile.

  • Polish , turkish text not decoding in the alert boxes in JSP file

    Hi All,
    Currently I am working on application in the J2ee development perspective in NWDI  and this contains many Jsp pages.As per the business requirement we need to make this application support Polish and turkish languages , for this we have maintained properties files .
    I have encoded the polish and turkish text using the u201CHTML Unicode format encodingu201D hence when checked the url in the IE with Polish and turkish locale all the characters are getting decoded properly ,but i have a proplem with the text in the alert boxes i.e. the special characters in the text displayed in the alert boxes is not getting  decoded at all eg:"Wprowad&#378; numer konta BP" whereas it has to display as "Wprowadź numer konta BP:
    Also i have used java encode also to achieve the same and for this "?" is getting displayed i.e. it is not getting properly decoded.
    I have also used native2ascii method in this also it is getting decoded but not correctly i.e. "?" is displayed
    Please note that the alert boxes are written in the script tag in the JSP page.
    Request you to kindly help me in resolving the issue at the earliest as this is a very critical issue in my project now.
    Thanks and Regards,
    Nishita Salver

    Hi nishita,
    We had a similar problem in one of my projects, but what i remember is we have kept the ascii value for that character directly in the properties files and tried to encode it, this way i resolved my problem.
    Try this way and let me know the result.
    Regards,
    Saleem Mohammad.

  • How to highlight text in JTextField?

    Hi all, I know this is a very simple question but I just couldn't find its solution and I'm rushing for my project.
    My question is: how to highlight all the text in JTextField when it gets focus?
    Thanks a lot in advance!
    Janet

    You have to add a FocusListener in the JTextField and override the focusGained() method to select all the text with JTextField.selectAll().
    class MyFrame {
      JTextField text = new JTextField();
      // when creating the frame
      text.addFocusListener(new FocusAdapter() {
        public void focusGained(FocusEvent e) {
          doSelectAllText(); 
      void doSelectAllText() {
        text.selectAll();
    }Hope this help.

  • Why can't I create a document in my Facebook group on my iPad? It won't let me input any text into the text box field after I create a new document. Thanks.

    Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.

    Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
    I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
    The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
    I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV).

  • I'm unable to copy text out of an ADE book.

    Recently bought a new Windows PC and transferred all files to it from my old one.  Installed ADE successfully, gave it my authorization ID and all is well.  I'm able to open the book I'm interested in and browse all through it.  But I'm unable to copy text out of it.  I highlight the text in the book and when I either right-click or pull down the Edit menu, the Copy function is grayed out and clicking on it does nothing.  Ctrl-C also doesn't do anything.  This worked on my old PC.  What's up here?  Thanks for any help.  Jim

    I am having the same exact problem.

  • Unable to highlight text in my PDF files

    Iam unable to highlight text in my PDF files ,The tool shows in the toolbar and  i am able to select it .But when i go to the related text which i wish to highlight ,nothing happens . kindly advise, what am i doing wrong. The comment tool is working fine , and i am able to put text comments in the box.But i need to highlight certain text also.
    .I am using Adobe reader version 10.1. I reinstalled the program two times but still the highlight tool does not works .

    May be that the PDF files doesn't contain any text. What did you get when you use File > Save As > Text...

  • Unable to enter text in popup window

    Hi,
    I am new to OATS OpenScript. I am unable to enter text in the popup window.
    Here's my situation in detail:
    My application is in Oracle Siebel and the pop up is a webpage dialog.
    When I click on the Button in Siebel application, the webpage dialog pops up and there is a text box and a Submit button.
    When I was recording, I was unable to record the webpage dialog as it was not identified by Openscript recorder.
    Hence, I recorded the webpage seperately and the standalone scripts runs fine. It is able to navigate to the page and enter the text in textbox and click submit button.
    Now I am trying to integrate those Webpage XPath in my existing script but it fails to recognize the webpage or the textbox from the popup webpage dialog.
    Has anyone able to figure out how to record the popup windows using OATS OpenScript? Please help.
    Thanks,
    Sapna

    Hi Deepu,
    Thanks for replying.
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:body[@index='0']
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:input_text[@id='txt_name' or @name='name' or @index='0']
    web:window[@index='0' or @title='Enter Card Number']/web:document[@index='0']/web:input_submit[@name='submit' or @value='Submit' or @index='0']
    These are the XPaths I get when I record that webpage seperately.
    Also when I was recording the webpage alongwith the siebel app, I got these XPaths for the same objects:
    /web:dialog_unknown[@text='Enter Card Number -- Webpage Dialog' and @winClass='Internet Explorer_TridentDlgFrame' and @index='0']/web:accText[@index='2']
    Submit Button
    /web:dialog_unknown[@text='Enter Card Number -- Webpage Dialog' and @winClass='Internet Explorer_TridentDlgFrame' and @index='1']/web:accPushButton[@index='0' or @name='Submit']
    I also read in one of the forums that if the object is not added, I need to add it manually. How can i do that?:
    Popup wb window is not detected by openscript
    Thanks,
    Sapna

  • Issue while converting turkish text in PDF via SMARTFORMS

    Hello Experts ,
    We are currently involved in translating an application to Turkish. Though the translation is completely done, when we test the issue we find that the application is working perfectly with the Turkish text but the transfer of data from application to the PDF via SMARTFORM is not working correctly. We find that the issue is due to 3 characters in Turkish which are (Ğ,İ,ş), We found out that this issue can be resolved using the  OSS Note 625818.
    However we have another issue which has cropped up.
    Wherever certain characters are being printed the characters right after them are printing at the same location and thus overlapping.
    For eg:
    Whenever the character u201CIu201D is printed it is being overlapped by the character which is supposed to be printed after it instead of printing next to it.
    Should be - İN
    Currently -  both are overlapping
    Any idea on how can this be fixed?
    when I actually tried to copy the text from PDF and paste it in this email the character u201CIu201D is replaced by the character u201CÝu201D in this email text box.
    Please find below the actual text from the PDF. The u201C u201D is seen nowhere and is replaced by the u201CÝu201D.
    GÖREVÝN DEGERLENDÝRÝLMES
    we have found a solution for the same which is to give a tab space between the İ and N but this will lead to unnecessery space in the application.
    Thank You!
    Best Regards
    Bonny 

    Hi,
      We cannot print some characters as such, so try converting it to string or char then go for PDF.
    Check the below link and note:
    [Cannot extract the embedded font arial.Some char might not be displayed;
    Thanks,
    Renuka.

Maybe you are looking for

  • Blue Screen appears on Satellite A500-1DN - BCCode 116

    Hi all ! I have got problem with blue screen: BCCode: 116 BCP1: FFFFFA8007B833E0 BCP2: FFFFF88004C1DF90 BCP3: FFFFFFFFC000009A BCP4: 0000000000000004 OS Version: 6_1_7600 Service Pack: 0_0 Product: 768_1 I reistalled drivers but nothing changed :/ Wh

  • Event handling in JSF

    Hi I have come across a scenario where i need to open a JSF page based on a key press event. scenario - if the user clicks on 'F1' key a Help page (a jsf help page with respect to our application) should open. its the same way windows opens help page

  • Phone Audio to USB out- how?

    Hey gang- When I'm on the road, my iPhone is plugged into the USB port on my car stereo. This charges the phone and allows me to play iPod content and hear GPS commands over the car audio. Love it! But what I can't do is hear phone audio that way. Wh

  • Implements the method defined in interface

    I defined a interface such as interface IAuthorizer{ boolean checkPermission(Set<IAttribute> subj, Set<IAttribute> Permission); In java 5, why does compiler not accept the method checkPermission signature of the following class class Auth1 implements

  • Contact sheet in Bridge CC

    How do I make contact sheet in Bridge CC? Cant find it anymore....hmmm