How to use an accented character in a mnemonic ?

Hi all,
I'd like to set the mnemonic of a component (no matter what kind of component) to an accented character such as � / � / � / � / � / �.
but with setMnemonic(char c) it doesn't work.
with setMnemonic(int code), I can't find a virtual key for any of those character in class KeyEvent (KeyEvent.VK_� ??).
Has anyone an idea ?
Thanks.
Have a nice week-end.
Herbien
PS : I know it seems strange to set a mnemonic to a accented character, but I must implement an existing C++ application in Java, and the application must mostly be the same. The users of this application are used to work with the keyboard..... :-(

girija_pathak wrote:
How can I know which is the last character? and How to handle it?You use the DUMP() function in SQL in order to see the actual content of the column.
E.g.
select DUMP(bac_person_id) from bkmap_personid_stg where bac_person_id like '%27136317%'
The decimal character values will be displayed - enabling you to see where and what control characters characters exist in the string value for that column.

Similar Messages

  • How to use the special character pallet in Maverics with Illustrator

    How to use the special character pallet in Mavericks with Illustrator - I follow the help instructions, but the pasted in object looks like a rectangle with an X, I have done this before, in earlier versions of AI, but cannot make it work in CS6.
    In fact, I can open an old AI file (CS4), copy the character (a graphic symbol, also taken from the special character set), paste it in, and it works, but can't do this with a new one, from the drop down, Show Character Viewer, in the Mavericks menu bar.

    The box with an X indicates the font you are using does not have the glyph you are trying to paste. Try a different font.

  • How to use new line character?

    Hi,
    i am getting string value like this :
    name john company
    test1 position director sal
    45000
    i am getting this value in a string.
    i want to display the value like below :
    name john
    company test1
    position director
    sal 45000
    how to proceed on this ? can we use new line character here ? how can we use that? pls suggest me on this.
    Regards,
    Pavani

    Hi Friend,
    you can use the split method of String. to split that string base on space.
    for Example
         String st = "Jeetendra Kumar Choudhary";
         String[] string = st.split(" ");
         for (int j = 0; j < string.length; j++) {
              System.out.println(string[j]);
    By this way you can get the each word separately and you can concatenate it again in single string.if you need it.
    Regards
    Jeetendra.

  • How to use "Working with Character-Type Operands" in FOX.

    Hi, guru.
    In project, I want to use formula for specific customers.
    The customers those have 4 digit customer account.
    SO, they have "000000XXXX" customer accout.
    In FOX.
    I want to use "IF" statements for distingush 4 digit customer and Others(other customers have  6 digit or more, not 4 digit or below).
    SO. How can I express it, with CP, CO, CA, CS operands?
    I think belows.
    FOREACH CUSTOMER.
    1.    IF CUSTOMER CP '000000++++'.
    2.    IF CUSTOMER CP '000000****'.
    3.    IF CUSTOMER CO '000000    '.
    ENDFOR.
    What is right among 1, 2 and 3?

    I know about it, by using SUBSTR function.
    But, I want to know to slove that situation by using CP, CO, CA, CS or other skills.
    Thanks for your response.

  • How to use wild card character in input field

    Hi
    I'm creating model in which the Purchase Order information need to be entered in Input Field.
    My requirement is search using wild char char as '*'
    Let say in input field  i gave PO order as 20* then it'll search for all the PO's which starts from 20.
    Could you please share some documents/guidelines, for this issue
    Thanks and Regards
    Puneet

    Hi,
    You can use the wild card char in the input box.please try  below steps.
    1.Check whether the input string has ' * '  char using "CONTAINS(text,pattern)" operation.
    2.If yes, Replace the ' * ' with space by "REPLACE(text,pattern,repstr)" operation.->consider this result as input2
    3.Now , Have a Filter from ur webservice(which gives your Purchase Order information )
    and filter it by the condition " BEGINS(WSField,input2)"
    the Final expression in the filter will be "_=IF(CONTAINS(input,""),BEGINS(HelpWSField,REPLACE(input,"\","")),true)_"
    Hope it helps.
    Regards,
    Priya
    Edited by: priya on May 20, 2009 12:49 PM

  • How to print report in Character mode using Oracle Developer 10g

    Dear,
    I migrate my forms and reports from Oracle Developer 6 to Oracle Developer reports 10g,
    We are using some character mode report for bill printing. But when i run these report through menu on Web i got error message like
    "REP-1920: Character mode runtime incompatible with DESFORMAT of PDF, HTML, HTMLCSS, SPREADSHEET or RTF"
    i don't want to change the character mode to any other mode because it effects the printing.
    so how can it possible to set the mode to character and view report on Web.
    pls. suggest me solution.

    You have to pass the PRT file name as value for the DESFORMAT and use mode= MODE=CHARACTER.
    E.g.
    http://<host name>:<port>/reports/rwservlet?desformat=dflt&mode=character&.....

  • How to use the scanner class to ask for a character?

    Hey guys, this is my assignment:
    Ask the user for a single letter and a sentence, and print out the
    number of times that letter shows up in the sentence.
    Please tell me how to scan for a character. I tried this:
    import java.util.Scanner;
    public class Frequencies
        public static final void main(String[] args)
            Scanner scanner = new Scanner(System.in);
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter a sentence");
            String x = scanner.next();
            System.out.println("Enter a letter to look for");
            String y = scan.next();
            char z = y.charAt(0);
            int chara = 0;
            for(int i = 0; i<x.length(); i++){
                    if(z==y.charAt(i)){
                            chara = chara++;
            System.out.println("There are " + chara + " " + z + "s in the sentence");
    }and got the error after Running (not compiling):
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 1
            at java.lang.String.charAt(String.java:687)
            at Frequencies.main(Frequencies.java:16)I thought this meant that I was asking for the character in postition 1 of string y, but in my code I wrote position 0
    when I tried inserting words in the character place (just to see what happened, not expecting functionallity, I got
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: [NUMBER OF CHARACTERS]
            at java.lang.String.charAt(String.java:687)
            at Frequencies.main(Frequencies.java:16)Please help.
    The assignment isn't due nor graded, this is just killing me lol.
    Thanks in advance
    Edited by: Sevan on Oct 18, 2008 4:40 PM

    jverd wrote:
    Skydev2u wrote:
    I've used this method for a while now and it gets the job done.
    import java.util.Scanner;
    public class ReadInput {
    public static void main(String[] args) {
    Scanner UserInput = new Scanner(System.in);
    char letter = UserInput.findWithinHorizon(".", 0).charAt(0);
    I know you're trying to help, but this isn't really doing it. It does nothing to address the source of the OP's problem. The way he's doing it now is almost right. He just needs to do a tiny bit of detective work to fix a small bug. Tossing off a totally different approach, with no explanation, is not particularly helpful.Your right jverd I skimmed the OP's problem too quick;y and in tern didn't understand it fully. After reading the post thoroughly I saw that the problem can be solved by taking the sentence the user enters and then converting it into a array of characters. Then searching for the specific letter the user enters is achieved by comparing it to each individual element of the char array. Then incrementing a counter variable each time a match is made. I hope this example code solve your problem.
    * @author skydev
    import java.util.Scanner;
    public class SentenceReader {
        public static void main(String[] args) {
            int counter = 0; //Amount of time the letter appears in the sentence
            char letter;    //Letter the user search for
            char[] sentenceArray; //char array to hold the elements of the string the user inputs
            String sentence; //sentence the user inputs
            Scanner UserInput = new Scanner(System.in);
            System.out.println("Please enter a sentence! ");
            sentence = UserInput.nextLine();
            sentenceArray = sentence.toCharArray(); //splits up the users sentence into a array of char
            System.out.println("Please enter a letter to search for ");
            letter = UserInput.findWithinHorizon(".", 0).charAt(0);
             for(int i = 0; i < sentence.length(); i++){
                    if(letter == sentenceArray){ //search to see if the letter of interest equals to each char (letter) of the array
    counter++; //increments the amount of time the letter appears, set to 0 by default
    System.out.println("The letter appeared " + counter + " times in the sentence"); //Displays the result :) I love programming

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How to download the chinese character using GUI_DOWNLOAD

    How to download the chinese character using GUI_DOWNLOAD from SAP 4.6c

    Hi,
       Make sure that the chinese font is installed in your system, because when you download in excel, the character formats are taken from the Frontend.  For detail see the below thread.
    [link1|Re: Download Chinese character]
    Thanks,
    Asit Purbey.

  • How to use escape character in update statement.

    Hi All,
    I'm trying to update table using following sql update statement, but everytime it's asking me for the input due to the '&' value in below sql.
    UPDATE xyz_xyz
       SET NAME = 'ABC & PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C & PQR');Please let me know how to use escape character syntax or let me know if there is any alternative solution.
    Thanks,
    Vishwas

    Hi,
    By default, & marks a substitution variable name.
    If you're not using substitution variables in that statement (or, if this is in PL/SQL, in that entire package or procedure) then the easiest thing to do is just diable substitution variables; then & will be a normal character:
    SELECT  DEFINE  OFF
    UPDATE xyz_xyz
       SET NAME = 'ABC & PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C & PQR');
    SET  DEFINE  ONIf you can't do that, then & is always taken literally if it comes right before a single-quote, so you could say:
    UPDATE xyz_xyz
       SET NAME = 'ABC &' || ' PQR'
    WHERE ID = (SELECT ID
                   FROM abc_abc
                  WHERE NAME = 'C &' || ' PQR');There is a SQL*Plus "SET ESCAPE" command, too, but if you use it, you have to worry about whether the escape character is to be taken literally or not.
    SET   ESCAPE  \Yet another alternative is to make some other character, such as ~, mark the substitution variables:
    SET  DEFINE  ~Read all about them in the SQL*Plus manual.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31189/ch2.htm#sthref103

  • How to Use INR (Indian Rupee) Character in Adobe Livecycle?

    hey guys,
    just wanted to know how to use new character of indian rupee in Adobe Livecycle ES2?

    I use Foxit Reader.
    but as you said i cant see anything, neither square blocks.
    i can see ₹ sign in adobe acrobat!
    but when i open it in Adobe Livecycle ES2, it again shows square blocks.

  • How to define shortcut for accented character?

    Does anybody know of an easy way to define a keyboard shortcut to procude an accented character?
    More specifically, I would like to define Alt-O to produce ō .
    I have heard of Ukelele, but that seems a it complicated to me.
    Best,
    Gabriel.

    There are several approaches to using diacritical marks in general, your case included:
    - to write currently in a certain language, which uses that char or those chars; e.g. ā (a macron) is frequent in Lithuanian or, as in your case, to transcribe Japanese words (or Latin vowel length, for example)
    - to write occasionally, e.g. in a linguistic paper written in English, and you have to quote, from time to time, something like in silvā multae bestiae sunt (Latin) ‘there are many beasts in the forest’.
    a macron is available if you activate Lithuanian keylayout, but for sure you are not familiar with it. The alternative is to use a keylayout for linguists or dialectologists like my US Academic, which is exactly for such use. You mau find this incomfortable though, if you frequently need this, and using dead keys may be cumbersone (in fact, it isn’t, is an issue of practising it).
    Another solution is indeed UKELELE, you may create your custom keylayout, perhaps of Programmers type: option/alt key + a = ā [a macron] etc.
    There is a lot of theory on this issue, see my web pages (in English)
    http://www.unibuc.ro/e/prof/paliga_v_s/soft-reso/

  • How to use execute immediate for character string value 300

    how to use execute immediate for character string value > 300 , the parameter for this would be passed.
    Case 1: When length = 300
    declare
    str1 varchar2(20) := 'select * from dual';
    str2 varchar2(20) := ' union ';
    result varchar2(300);
    begin
    result := str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || ' ';
    dbms_output.put_line('length : '|| length(result));
    execute immediate result;
    end;
    /SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
    length : 300
    PL/SQL procedure successfully completed.
    Case 2: When length > 300 ( 301)
    SQL> set serveroutput on size 2000;
    declare
    str1 varchar2(20) := 'select * from dual';
    str2 varchar2(20) := ' union ';
    result varchar2(300);
    begin
    result := str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || str2 ||
    str1 || ' ';
    dbms_output.put_line('length : '|| length(result));
    execute immediate result;
    end;
    /SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 6

    result varchar2(300);Answer shouldn't be here ? In the greater variable ?
    Nicolas.

  • Siebel8-How to use special character in WF expression

    How to use a special Chanarcter in a Workflow expression?
    in the below expression, am looking for comma
    IIF(Instr([&ProccProp], "','"), 'Y', 'N')
    But I am getting the following error
    The query could not be run because there is an invalid character in the field '<?>'. Please ensure that the value in the field is formatted correctly with only valid characters.
    Missing quotes around the search criteria or unnecessary punctuation will often cause an error.(SBL-DAT-00403)
    The Siebel version is 8.
    Thanks in advance

    Fine you already bypass this.
    When i readed your post and saw your solution, i asked for myself what version of siebel you were using, and from the first post understood that was version 8.
    Some months ago i have made workflows in siebel 8 and many times happened that i falled in situations and errors that were very very tricky to understand...workflow UI in that version, really needs some improvements.
    Bye

  • How to find base character from an accented character

    Hi, given an accented character (�, �, �, etc...) is there a way to retrieve its base character? In the case above, a, o and c respectivelly?
    I searched in this forum and google and didn't find a definitive answer.
    The reason i need this is because in my database, some records have accented content, and now i need to generate a textfile to transfer daily to a bank, but the bank doesn't accept accented characters.
    Thanks.

    Decompose the Unicode string -- i.e., perform an NFC transformation -- and then strip off the diacritical marks, as done in VietPad editor.
    There is a native class, java.text.Normalizer, but it is not made public until Mustang release.
    http://java.sun.com/javase/6/jcp/beta/

Maybe you are looking for

  • Please help me itunes 8 wont load w/ invalid signature error

    There has to be some sort of cosmic joker who is laughing at all of us. Perhaps the folks at Verisign are playing games with us or maybe it's Microsoft. How can there be a requirement to upgrade to itunes 8 when you purchase a new Nano and then not b

  • 'schInternalColumn' is null or not an object - Error in DIS

    Hi all.. When I am going to paste any document in DIS, " 'schInternalColumn' is null or not an object " this error comes with check in page... What is the issue behind this...Please help me.. Regards Yogita

  • Odd situation with Safari after enabling account expiration and locking

    Hi team, i found the following puzzling situation today. I enabled account expiration and locking in a workspace, thereafter all end users were requested to change their password as soon as they attempted to login to the application. Some of these us

  • File Encoding in FTP

    When I upload files using Fetch I can choose the encoding - this means my non-standard characters in file names are preserved. When I upload in Dreamweaver this is lost and the files are useless. I can't find anything similar in Dreamweaver - does it

  • How to use MSWORD Facilities

    I m developing a project which requires to use all the facilities provided by MS WORD e.g. Spell Check,Line Count,Page Count,Color Menu,Bold,Italic.....and many more. Is there any API available to use all these facilities if anyone having the code fo