Setting input keys

I'm developing a program that accepts input in Japanese from the user. I'm using a US version of Win XP with a Japanese Input Method Editor and Japanese locale. Now to enter Japanese from an English keyboard, I have to press <alt> + "~" each time, to be able to type in Japanese instead of English. Is there a way to set a key code in the JTextPane where I'm accepting input? So that the user does not have to press <alt> ~ each time to type in Japanese. Thanks!

Hi all,
the key strokes that you need to activate to get a certain character all come down to the Input Method. Therefore, blame Windows. :-)
There are other Input Methods out there that are more than likely capable of producing a Japanese character without having to go through the rigmarole of pressing all the extra keys, but you'll likely have to pay for them. Slangsoft do a thirty-day free trial of their Spirus input method at http://www.slangsoft.com , and I believe NJStar Communicator might be able to pump out Japanese for you (it primarily does Chinese, and is also available as a thirty-day trial from http://www.njstar.com ).
Hope that helps!
Martin Hughes

Similar Messages

  • How to attribute character or symbol to a set of keys

    Is it possible as in Office to attribute to a set of keys chosen symbol or character(ex ф ∆ ≠ etc.) I find it fastidious and time consuming to go and find them, insert them etc... Especially when these are used often in a text

    Welcome to Apple Discussions
    You can type many of them using the Option and other keys to type various symbols. Find them in Keyboard Viewer.
    In the Help Menu we find:
    About Keyboard Viewer
    Use Keyboard Viewer to see the layout of characters on your keyboard for your chosen language. For example, if U.S. is selected in the Input menu, Keyboard Viewer shows the characters that appear on a U.S. keyboard.
    To access Keyboard Viewer:
    Choose Apple menu > System Preferences and click International.
    Click Input Menu, then select the checkbox next to Keyboard Viewer.
    Select the checkbox next to the language whose keyboard layout you want to use.
    If it’s not already selected, select the “Show input menu in menu bar” checkbox.
    Choose Show Keyboard Viewer from the Input menu (a flag or character) on the right side of the menu bar.
    You can use Keyboard Viewer to see and type characters used in languages other than your chosen language.
    Walt
    Message was edited by: Walt K

  • Photos will not allow me to set the key picture for the album or event

    Photos will not allow me to set the key picture for the album or event - it is set to grey !
    Anyone else had this and found why ?
    new PHOTO app replacing iPhoto bugs/ Problems OTHER PROBLEMS :
    - no longer has a five star rating system
    - my keywords for selecting albums are gone.
    - cannot copy location of one photo to another
    - cannot have an album with  keywords AND rating > a value
    - cannot set key photo of album/event
    - multi parameter search feature gone
    Anyone got any ideas how to get around this terrible downgrade of the software ?
    BTW I have just discovered that iPhoto and its' libraries are still there, so I can go back but be left behind and frozen in time on this version if I do.
    Photos now take up 700Gb whereas it was 350Gb  #@!$#@!@#!@#
    Thanks

    That are all good points - but Photos is a completely new application. and it is only version 1.
    Continue to use iPhoto, girraween; the next update to Photos will probably add a few more features.
    iPhoto 9.6.1 is working very well with MacOS X 10.10.3.
    The migration let iPhoto installed and also your iPhoto Library will still work with iPhoto.
    If you did not uninstall iPhoto, it will still be there in your Applications folder.  And if you had updated to the latest version iPhoto 9.6.1 before you upgraded to MacOS X 10.10.3,  you can simply drag iPhoto back to the Dock from your Applications folder and continue to use it. Double click iPhoto and confirm, that you want to open iPhoto and not Photos.   It is not compulsory to use Photos, while it it still the first release. When you launch iPhoto, you will see a warning, that the iPhoto Library has been migrated to Photos, but simply click the "Open iPhoto" button.The library will still work with iPhoto. ()see: If Photos won't open a library that you already migrated - Apple Support
    If your iPhoto version is not iPhoto 9.6.1, you need to update it.
    See this User Tip:
    Usually it will work to reinstall instead of updating:
    Get iPhoto 9.6.1 if you didn't update before OS... | Apple Support Communities
    The main idea is to move the iPhoto app to the Trash, so Spotlight does not see it as installed, reload the AppStore, and then to try to download again from the App Store - from your Purchases tab, not from the main page, since you can neither buy iPhoto nor update it, but you can reinstall, if your AppleID is associated with it.
    Meanwhile you may want to send a feature request to Apple using the feedback form. Apple - Photos - Feedback
    I hope, Apple will listen and add more features to Photos to make it usable for large Photo Libraries.

  • Setting primary key fields from sequence. Please advise

    What is the most logical place to automatically set primary key fields from
    sequence?
    jdoPrestore seems to be a little late - my instance will not have id till
    it's committed. I can not do it in constructor because it gets called every
    time Kodo needs to construct an instance. What other options do I have for
    automatic pk assignment except do it in my code (hate it)?
    I wish I could use store managed OIDs but I need access to OID underlying
    data
    Please also see my previous message "Application Identity Extention"

    I came up with following pattern:
    public class OrgUnit implements InstanceCallbacks {
    private long orgUnitId = -1;
    private transient long tempOrgUnitId = -1;
    public long getOrgUnitId() {
    if (orgUnitId < 0) {
    if (tempOrgUnitId < 0) {
    tempOrgUnitId = JDOFactory.getNextSequenceId(getClass());
    return tempOrgUnitId;
    } else {
    return orgUnitId;
    public void jdoPreStore() {
    if (!JDOHelper.isDeleted(this)) {
    if (orgUnitId < 0) {
    setOrgUnitId(getOrgUnitId());
    I use -1 as an indicator that ID has not been assigned yet. If you use Long
    instead of long it will be cleaner since we can test for null
    "Alex Roytman" <[email protected]> wrote in message
    news:9q27co$r35$[email protected]..
    What is the most logical place to automatically set primary key fieldsfrom
    sequence?
    jdoPrestore seems to be a little late - my instance will not have id till
    it's committed. I can not do it in constructor because it gets calledevery
    time Kodo needs to construct an instance. What other options do I have for
    automatic pk assignment except do it in my code (hate it)?
    I wish I could use store managed OIDs but I need access to OID underlying
    data
    Please also see my previous message "Application Identity Extention"

  • JCOP : can't set a new key set (put-key pb)

    Hi!
    I have this brand new cell phone out of the box , and I've been asked to install a javacard applet on it. I did it for other phones already, but I can't manage to install my app on this one.
    For new phones I have to install a new key set. That's where it goes wrong with this phone.
    And I don't want to try too hard, because I've been told that after too many tries, the card can be locked/damaged 0_0�
    Here's what's happening :
    cm> set-my-keys
    /set-var KEYS-1
    "1/1/DES-ECB/[mykey1] 1/2/DES-ECB/[mykey2] 1/3/DES-ECB/[mykey3] "
    set-key ${KEYS-1}
    put-keyset 1
    Add new key set didn't work, try modify ... (I've masked the key values)
    an after an "init" command, I get this message :
    Status: Security condition not satisfied
    jcshell: Error code: 6982 (Security condition not satisfied)
    jcshell: Wrong response APDU: 6982(I also tried "init-update 255", didn't work neither)
    Can somebody help me, and does anybody knows a good information source about these matters? (because I searched the net but there's few infos about JCOP out there)
    Thanks for your help!

    ah ok.
    I can't read any answer from init update since I get an error message each time.
    But here's another example of a pb I had on another phone ^_^ ... :
    I've been given a NFC phone because one couldn't install anything on it by using a "home made" application.
    I tried to install it via JCOP, but I just managed to install it manually (i.e.
    set keys (script)
    init
    ext-auth
    But the run configuration of the Eclipse+JCOP project failed to install it. I'm using key set number 1. In the config window of the Run I've been adviced to change the key set parameter of the init update command from 1 to 0 (in order to choose default, which normally should be the same) and then it works....
    But I was wondering wheras the key set that were used was actually number 1 when I saw your answer : here's the init update response :
    00 00 52 74 00 41 78 90 81 08 [u]FF 02 [/u]00 04 F6 4D   
    BA 43 42 A1 5E 26 A2 C4 98 4E 3E C6 90 00 Then I looked for a website which could tell me how to know where to look at in this apdu ti see which keyset is used. I found
    (http://www.informatik.uni-augsburg.de/lehrstuehle/swt/se/teaching/ss05/javasm05/downloads/Vorlesung6.pdf)
    I underlined bytes that seem to be concerned. Can you tell me that it is indeed key set 255 (FF) that's used instead of keyset 1? Or Am I wrong, and in that case, can you correct me? :)
    thanks

  • Can't set WEP key for broadcom-wl?

    I did a fresh install of Arch this morning at my office. I have an Acer Aspire laptop with a Broadcom wireless card that works with broadcom-wl (I've used the driver for a long time and it works perfectly... with open or WPA networks). The network at my office is WEP. So after installing the drive, adding lib80211 and wl to my MODPROBE (and !b43 !ssb), I reboot and see my wireless as eth0.
    If I try to iwconfig eth0 key XXXX-XXXX-XX or iwconfig eth0 essid WIFINAME key XXXX-XXXX-XX, no matter what combination I try, I get an error saying that it's an invalid argument for SET_ENCODE. I've check the Wiki and man pages for iwconfig, and can't seem to find any solution. Does anyone know why I can't put in a WEP key?
    ((Side note: everytime I've installed Arch, my wifi starts out as eth0 until I get connected and run pacman -Syu. Then I reboot and it shows up as wlan0, and my Atheros ethernet is eth0 or eth1.))

    Thanks for a response. So this is a fresh-from-the-oven install. I usually get my wifi connection set up and then create my user and go about setting everything else up. Meaning I've been trying as root.
    I can see the wireless network with iwlist scan and it shows up as encryption key: on. Also, I tried using each lib80211 mod or some combination thereof in my rc.conf. No dice.
    Lastly, since I didn't include it before, here's the exact error I get when I try to assign a WEP key with iwconfig:
    Error for wireless request "Set Encode" (8B2A) :
    SET failed on device eth0; Invalid argument.
    UPDATE: I can set the key using [x] between key and XXXXXXXXXX. However, any combination I'm trying of essid and key/enc isn't showing up in iwconfig. No errors, but my iwconfig information isn't changing. It's progress... I think.
    UPDATE #2: I can iwconfig eth0 essid linksys (the office next to us) and grab that one (I don't know their password ) and it updates iwconfig, but our own network doesn't update iwconfig when I run iwconfig essid. >.<
    Last edited by mtcupps (2011-06-17 18:20:02)

  • MCB_ is not working correctly to set the keys

    Hi,
    I am using transaction MCB_ to set the transaction keys but the screen comes up with blank blue screen and an error:
    <b>View/table V_TMCLBW can only be displayed and maintained with restrictions</b>
    I then went to SM30 to maintain table V_TMCLBW, bubt it saids the same error with suggestion to do the following:
    •     <b>find the customizing objects for maintenance of the table/view V_TMCLBW with the 'Display Existing Maintenance Objects' button in the maintenance transction SM30, or
    •     go to the IMG via the 'Customizing' button (also in transaction SM30) and make the settings there.</b>
    Has anyone come across this and can help on how to set the keys?
    Thanks
    WF

    Where do you set this? In develop system?
    Try this transaction:
    Use the following menu path: Transaction SBIW -> Settings for Application-Specific DataSources (PI) -> Logistics -> Settings for IBU Retail/CP
    If not and you are in Test or prod system you have to transport this setting (is not automatically).
    Regards,
    Sergio

  • How to set the Key Photo in .Mac Web Gallery ?

    Has anyone managed to set the key photo in a .Mac Web Gallery album ? The key photo is the photo used on the main page of the Web Gallery to illustrate the event.
    In iPhoto, all you do is select in the left column a published .Mac Web Gallery, right-click on the photo you want to set as the key photo, and select "set as key photo".
    In aperture, you can do the same in a project, but this will only set the key photo for your "all projects" view. This key photo is not used when exporting the project to .mac web gallery.
    In all the web galleries I export from Aperture, the first picture is used as the key photo, it's really a problem. Any solution ?
    Message was edited by: skiss

    There is a small "Header Bar" if you will in iPhoto, you can drag the photo you want to that header bar and I think that accomplishes what you want if I understand what you mean by Key Photo (the photo that shows up in e-mail if you forward the gallery to others). My wife and I stumbled on that solution as we were trying to figure it out. Actually I think wife gets the credit, she had the mouse in her hand when it happened .

  • Setting composite key in Container Managed Entity Bean

    In my database table i set primary key to two columns making them as composite key. how do i set that in my container managed entity bean home interface findByPrimaryKey() method and in deployment descriptor file.

    1. create another class (say CompositePK) that will embed the two fields keyA and keyB corresponding to the two pk of your table (declare them public) .
    2. in your Bean declare keyA and keyB public.
    3. in the dd declare your bean primary-key-class as CompositePK and the primary-key-field as keyA and keyB.
    this is the method i use (with BAS) even if the key is simple (such as Integer).

  • What is the input "key" in the IMAQ Write Custom Data palette?

    Hello!
    I am not able to use correctly the IMAQ Write Custom Data palette because I do not know what is the input "key".
    Does anyone know its meaning?
    Sincerely,
    Fábio Machado Cavalcanti
    Canada-Brazil Science Without Borders Student
    Lakehead University, Thunder Bay, Ontario, Canada
    Federal University of Pernambuco (UFPE), Recife, PE, Brazil
    Undergraduate Student in Chemical Engineering

    Thank you for replying Ninad Regundwar!
    I agree with this. I have already read this information in the LabView Help.
    However, I would like to know what is the "key" specifically. I know that it is a string.
    I have written a code to add some acquisition features in a PNG Image File. For this, I have used the following palettes: IMAQ Write File 2 - PNG with Vision Info and IMAQ Write Custom Data.
    Afterwards, I have written another code to read the acquisition features from this PNG Image File. For this one, I have used the following palettes: IMAQ Read Image and Vision Information and IMAQ Read Custom Data.
    But, when I am reading the acquisition features, an error message appears: "ERROR -1074395723 occurred at IMAQ Read Custom Data - IMAQ Vision: The key you specified cannot be found in the image"
    I do not know what I have to put in the input "key". So, I have been trying different values for it: "data", "hello", "13", "56", etc. But, none of these has worked and the same message has appeared.
    Does someone know what I have to put in the input "key"? Does someone have an example that shows how to use the palettes: "IMAQ Write Custom Data" and "IMAQ Read Custom Data" correctly?
    Sincerely,
    Fábio Machado Cavalcanti
    Canada-Brazil Science Without Borders Student
    Lakehead University, Thunder Bay, Ontario, Canada
    Federal University of Pernambuco (UFPE), Recife, PE, Brazil
    Undergraduate Student in Chemical Engineering

  • How to set Shortcut keys for button in Apex

    Hi
    Could anyone help me on how to set shortcut keys for buttons in Apex.
    I need to use say ALT + S to submit the page.
    The following thread pertaining to HTML DB refered to use ACCESS key. but that couldnt work in my case.
    Re: operation of the app. with the keyboard
    Any pointers on achieving this would be helpful.
    Thanks
    Vijay

    Hi Vijay,
    I’m afraid you must do it using javascript key listener. You can’t use action() on template based buttons because they are actually not HTML buttons but images with hyperlink.
    Key listener checks which key has been pressed down and invoke some JS function. For example, write this code in page header:
    <script>
    document.onkeydown=keyCheck;
    function keyCheck(e){
         var KeyId = (window.event) ? event.keyCode : e.keyCode;
         switch(KeyId){         
              case 113:
                   doSubmit('SAVE');
                   break;                    
              case 118:
                   alert('Hello');
                   break;
    </script>
    This script will submit page with request 'SAVE' if you press F2 or will show alert message if you press F7. Modify it to your issue.
    Regards,
    Przemek

  • How to Set Input Levels with FirePod and GarageBand

    Hello ....
    I/ve got Garageband and my Firepod 8 channel interface working ... but I need some tips .. especially on the relationship of input levels between my Firepod and Garageband ....
    When I am setting input levels for a recording ... where should the input level be on the track in Garageband? .... Is that volume setting only for playback and mixing? .... or is it for the input as well ...
    Thank you ....

    Where should the initial input levels be set? ... Would you use the loudest
    part of the song to do this? ...
    Yes, as loud as possible without lighting the FP's clip leds.
    When I mix the final product ... and change the volumes on the different
    tracks.. aren't you then changing the input levels?
    No, you're changing the output levels.
    can't you red line and overload the track?
    Yes, that's why each track has a fader, so that you don't clip.
    Is there a master ouput level indicator
    Yes, right over the Master Volume slider.
    I guess you can't just put each track as loud as you want ... correct?
    As loud as you want without clipping.
    I would strongly suggest doing some web searches on "Mixing and Mastering" to learn more about how to mix, there's a TON of info floating around the web.

  • How to set primary key for a date column

    hello experts .,
    i need to set primary key for a column consists of the datatype date. how to solve this..?

    1008318 wrote:
    its my personal need..then it is a very bad personal need. DATE is not an appropriate type to be using for a primary key, as it cannot be guaranteed to be unique, especially when inserting multiple rows at once.
    You would be better working to business needs and implementing correct technical solutions to those needs, than to just do things based on your personal needs.

  • Anyone know setting primary key deferred help in the bulk loading

    Hi,
    Anyone know by setting primary key deferred help in the bulk loading in term of performance..cos i do not want to disable the index, cos when user query the existing records in the table, it will affect the search query.
    Thank You...

    In the Oracle 8.0 documentation when deferred constraints were introduced Oracle stated that defering testing the PK constraint until commit time was more efficient than testing each constraint at the time of insert.
    I have never tested this assertion.
    In order to create a deferred PK constraint the index used to support the PK must be created as non-unique.
    HTH -- Mark D Powell --

  • How do i set Shortcut key for activating some operation for JButton

    while using the JButton component,one question is arising in my mind that is
    (1)how to set Shortcut key instead of using JButton actionPerformed event.
    I need a shortcut key for the similar operation has to be performed

    http://java.sun.com/docs/books/tutorial/uiswing/components/button.html

Maybe you are looking for

  • Hp officejet 4620 series doesnt display on my windows 8.1 to connect to scan

    This is a new printer purchased in 2014 hp officejet 4620 series doesn't display on my windows 8.1 to connect to scan.It does detect in HP AIO Remote app in windows 8.1 as seen on left but when i click on scan there it open hp scan and capture app an

  • How do I set an external HD permission to read AND write?

    I received an iMac for Christmas and need a little help.  I have a 2TB external HD that contains .shn and .flac files of GD concerts (and other music).  I managed to find Cog that will play them...but what I want to do is download them and move them

  • How to install BMC performance manager?

    Please help give some tips, links and share experience. Thanks a lot!

  • Selection-screen code error

    hi all,      i am trying to code selection screen. where in when i click on 1 pushbutton one field should be active and the other one should be invisible. the code is syntactically correct but when i execute it . it is not working properly . i am una

  • Changing legend labels in Oracle Graphics 6

    Hello, i am currently using Oracle Graphics to create barcharts for my reports. My problem is, that i want to change the label used for the shown bars via a parameter. Changing the labels of the X- and Y- axis is no problem with PL/SQL but it seems t