What is InputMethodContext ... please explain..

what is inputmethodcontext and who will call setInputMethodContext and how to call that function....
i have a code please make it to run
package com.test.misc;
import javax.swing.JFrame;
//import sun.awt.im.InputMethodContext;
import java.awt.AWTEvent;
import java.awt.Rectangle;
import java.awt.im.spi.InputMethod;
import java.awt.im.spi.InputMethodContext;
import java.lang.Character.Subset;
import java.util.Locale;
public class InputMethodTesting implements InputMethod {
private static JFrame jf;
static InputMethodContext ic;
private Locale locale;
public InputMethodTesting(){
locale = new Locale("te", "IN");
public static void main(String[] args) {
InputMethodTesting imt = new InputMethodTesting();
{color:#ff0000}imt.setInputMethodContext(ic);{color}
{color:#ff0000}public void setInputMethodContext(InputMethodContext arg0) {
jf = arg0.createInputMethodJFrame("shanmukhan",false);          
}{color}
public void activate() {
// TODO Auto-generated method stub
public void deactivate(boolean arg0) {
// TODO Auto-generated method stub
public void dispatchEvent(AWTEvent arg0) {
// TODO Auto-generated method stub
public void dispose() {
// TODO Auto-generated method stub
public void endComposition() {
// TODO Auto-generated method stub
public Object getControlObject() {
// TODO Auto-generated method stub
return null;
public Locale getLocale() {
// TODO Auto-generated method stub
return null;
public void hideWindows() {
// TODO Auto-generated method stub
public boolean isCompositionEnabled() {
// TODO Auto-generated method stub
return false;
public void notifyClientWindowChange(Rectangle arg0) {
// TODO Auto-generated method stub
public void reconvert() {
// TODO Auto-generated method stub
public void removeNotify() {
// TODO Auto-generated method stub
public void setCharacterSubsets(Subset[] arg0) {
// TODO Auto-generated method stub
public void setCompositionEnabled(boolean arg0) {
// TODO Auto-generated method stub
public boolean setLocale(Locale arg0) {
// TODO Auto-generated method stub
return false;
}

bhuvanavijayam wrote:
Thaks for your response........
besides the jar file u gave, i have another jar with me.. with that i can write 'TELUGU' language(South Indian)..
what i am asking is...
if i click 'ctrl+alt+h' key i will get one menu in that i can select any one of the context....
i.e. Telugu language application or app given by you(jar)...
i want make my own jar.. that can i appear with those applications...
is the follwing enough to achieve that..
1. two class files, one implenting InputMethodDescriptor and second implenting implements InputMethod.
-> i wrote two classes in above fashion, but i am not getting that the menu with app added...
-> when i extracted jar file given by you, it is haveing services folder and in that it is having file path that implementing InputMethodDescriptor...
-> how to make services folder in the jar file?Since I'm the only one who responded to you on this topic, I can only assume you mean me - unless you think I am someone else who responded to you in one of your other topics I see you've opened. At any rate, I gave you no jarfiles, so I havn't any idea of what you mean by that. I also don't know what you're trying to do - other than, as you said, make a jarfile. But everything else about your question seems unrelated to that question. Also, I've noticed that each or your other topics appears to have been answered - or marked as such - yet you don't seem to have given out any of your duck stars. Lastly, you've not answer me questions posted in my previous post.
~Bill

Similar Messages

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • Could someone please explain what P to P and Order to Cash cycle?

    Could someone please explain what Procurement to Pay and Order to Cash cycles mean? Thanks.

    Hi,
    Pl.visit following links for P2P cycle.
    http://erpschools.com/articles/procure-to-pay-cycle#13480480234441&79412::resize_frame
    http://oracleapplicationsfunctional.blogspot.in/2011/08/procure-to-pay-p2p-cycle-in-purchasing.html
    http://www.shareoracleapps.com/2010/05/procure-to-pay-cycle-in-oracle-apps-r12.html
    and visit following links for O2C cycle.
    http://erpschools.com/articles/order-to-cash-cycle#13480481951911&21367::resize_frame
    http://www.youtube.com/watch?v=2GhAbWGz7iA
    http://knoworacle.wordpress.com/2008/12/08/data-flow-for-11i-order-to-cash-cycle/
    http://oracleapps88.blogspot.in/2012/08/order-to-cash-cycle.html
    http://www.slideshare.net/anand5538/order-to-cash-cycle-9647606
    HTH
    Sanjay

  • Hi guru's   i am new to xi  please explain what is correlation in xi

    1) please explain what is correlation in xi ?
    2) what is the xi landscape ?

    hi,
    Refer these links
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Landscape:
    The SAP System Landscape Directory (SLD) is the central information provider in a system landscape.
    The SLD contains two types of information:
    Component Information: This is information about all available SAP products and components, including their versions. If there are any third-party products in the system landscape, they are also registered here.
    At design time of the integration objects, the component information is extracted from the SLD to define integration scenarios.
    Landscape Description: This contains all installed systems in a system landscape.
    When a collaborative business process is configured, the landscape descriptions are needed to determine the system information of the business partners involved.
    /people/boris.zarske/blog/2006/07/28/ulm206-landscape-strategies-for-the-system-landscape-directory-of-sap-netweaver
    /people/boris.zarske/blog/2008/03/21/sld-general-recommendation-how-to-set-up-the-system-landscape-directory
    http://help.sap.com/saphelp_nw04s/helpdata/en/fe/39ae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fe/39ae3d47afd652e10000000a114084/frameset.htm
    Regards,
    Nithiyanandam
    Edited by: Nithiyanandam A.U. on May 11, 2009 7:01 AM

  • Please explain what are form groups and form routines

    Hello ABAP Experts,
    Could you please explain what are form groups and form routines? I would certainly appreciate some examples.
    Thank you in advance, Aleksandra

    Hi,
    I've found the Form Group in transaction J7LE. It is part of Industry Specific solution for hi tech companies, so I'm not sure if you'll be able to access it. In this tcode you define master data of your partner. The first step is to choose the Form Group - they simply group Form Routines. Depending on which one I choose, different entry fields get activated. However there are routines that will enable input to the same fields, so I suppose there must be some additional functionality behind it. Could you please specify what does it mean?
    >>Form ROUTINES, are subroutines for modularizing your code<<
    I'm afraid I have no ABAP experience at all...
    Cheers, A.

  • Please explain what are the various procedures to find user-eixts

    Hi,
    Please explain what are the various procedures to find user-eixts ?
    Ramana

    Hi,
    1. By executing this Program.
    *& Report  ZFIND_EXIT
    REPORT  ZFIND_EXIT.
    *report zbadi_find .
    tables : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode,
    p_pgmna like tstc-pgmna .
    data wa_tadir type tadir.
    start-of-selection.
    if not p_tcode is initial.
    select single * from tstc where tcode eq p_tcode.
    elseif not p_pgmna is initial.
    tstc-pgmna = p_pgmna.
    endif.
    if sy-subrc eq 0.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir
    where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir
    where pname = tstc-pgmna.
    select single * from enlfdir
    where funcname = tfdir-funcname.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object in ('SMOD', 'SXSD')
    and devclass = v_devclass.
    select single * from tstct
    where sprsl eq sy-langu
    and tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(105) sy-uline.
    format color col_heading intensified on.
    Sorting the internal Table
    sort jtab by object.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type c.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    loop at jtab into wa_tadir.
    at first.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Enhancement/ Business Add-in',
    41 sy-vline ,
    42 'Description',
    105 sy-vline.
    write:/(105) sy-uline.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    format color col_group intensified on.
    write:/1 sy-vline,
    2 wf_object2,
    105 sy-vline.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    select single modtext into wf_txt
    from modsapt
    where sprsl = sy-langu
    and name = wa_tadir-obj_name.
    format color col_normal intensified off.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single text into wf_txt
    from sxs_attrt
    where sprsl = sy-langu
    and exit_name = wa_tadir-obj_name.
    format color col_normal intensified on.
    endcase.
    write:/1 sy-vline,
    2 wa_tadir-obj_name hotspot on,
    41 sy-vline ,
    42 wf_txt,
    105 sy-vline.
    at end of object.
    write : /(105) sy-uline.
    endat.
    endloop.
    write:/(105) sy-uline.
    skip.
    format color col_total intensified on.
    write:/ 'No.of Exits:' , wf_smod.
    write:/ 'No.of BADis:' , wf_badi.
    else.
    format color col_negative intensified on.
    write:/(105) 'No userexits or BADis exist'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(105) 'Transaction does not exist'.
    endif.
    at line-selection.
    data : wf_object type tadir-object.
    clear wf_object.
    get cursor field field1.
    check field1(8) eq 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    set parameter id 'MON' field sy-lisel+1(10).
    call transaction 'SMOD' and skip first screen.
    when 'SXSD'.
    set parameter id 'EXN' field sy-lisel+1(20).
    call transaction 'SE18' and skip first screen.
    endcase.
    2. . Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    3. 1. in se11, goto table MODSAP
    View table contents
    in Type field, enter
    'E' (for user exit / Function Exit)
    OR 'S' (for screen exit)
    4. Calling Customer- fucntion in Main Program
    Thanks,
    Anitha

  • What is API? Why we use in oracle Apps? Please explain me little bit.

    Hi,
    Can you please explain me step by step for what is API. why we use and where we have to use? please explain me.
    Regards,
    Raj

    And in 11gR2 you can combine the two with the new feature Recursive Subquery Refactoring (well sort of, because you don't need the connect by bit)
    I'd link to the official docs but they seem to be suffering intermittent issues at the moment so:
    http://technology.amis.nl/blog/6267/oracle-rdbms-11gr2-new-style-hierarchical-querying-using-recursive-subquery-factoring
    http://technology.amis.nl/blog/6104/oracle-rdbms-11gr2-goodbye-connect-by-or-the-end-of-hierarchical-querying-as-we-know-it

  • TS2310 what does it mean when you're about to install itunes and it says This update requires OS X version 10.6.8 or later.??? i don't understand... Can someone please explain to me what that means...??? And how to fix it.

    what does it mean when you're about to install itunes and it says This update requires OS X version 10.6.8 or later.??? i don't understand... Can someone please explain to me what that means...??? And how to fix it.

    1. It means exactly what it says. Apple dropped support for earlier Mac OS X versions in iTunes 10.7.
    2. Update the computer to 10.6.8. If it's running a Mac OS X version prior to 10.6, this requires buying a Mac OS X 10.6 DVD from the online Apple Store, which requires an Intel Mac with at least 1GB of RAM.
    (93025)

  • Why asm startwith with + sign? what happen add file in asm tablespace without using + sign,please explain with error no.

    Hi folks,
    I have one query why asm startwith with + sign? what happen add datafile file in table space,or add disk in disk group  without using + sign ,please explain with error no.

    hello,
    + sign is to indicate the diskgroup you intended to place datafile. this apply to all database files.
    without + sign,will be place in ORACLE_HOME/dbs directory. there will be NO error.
    see example here: without using +
    SQL> create tablespace test45 datafile 'temdg' size 10m;
    Tablespace created.
    SQL> select name from v$datafile;
    NAME
    /u01/app/oracle/product/11.2.0/dbhome_1/dbs/temdg
    7 rows selected.
    second example: with using + sign to specify diskgroup
    SQL> create tablespace test55 datafile '+temdg' size 10m;
    Tablespace created.
    SQL> select name from v$datafile;
    NAME
    /u01/app/oracle/product/11.2.0/dbhome_1/dbs/temdg
    +TEMDG/orcl/datafile/test55.261.844200359
    8 rows selected.
    HTH
    Tobi
    Tobi&amp;#39;s Oracle DBA &amp;amp; UNIX Blog

  • Could some please explain to me what Air Drop is and what it dose

    Could some one please explain to me what air drop is and what dose it do , thank you  marie

    what version of OS X do you have?  You will find this helpful: http://support.apple.com/kb/HT4783

  • WRT1900ac: Please explain what uPnP setting does

    Could someone please explain what the following settings (in the Connectivity-Administration page) do?
    UPnP    I_l  Enabled
      I_l Allow users to configure
      I_l Allow users to disable internet access
    Do these en/disable uPnP access to the router from the WAN side? LAN side?
    En/disable uPnP protocol for all devices on the LAN?
    The User Manual is not clear what each of these check-boxes do...
    Thanks.
    Aloke

    I'ts recommended to leave uPnP enabled as it helps various devices obtain reqired port connections to the internet services and internal devices on the LAN side for some gaming and media sharing services and devices as well.
    The additional options are I believe to allow users to configure there own services on than side if needed. At most, if uPnP is enabled, evrything is automatic and little or no coniguration is needed. 
    http://en.wikipedia.org/wiki/Universal_Plug_and_Play

  • Hi Do we have tables for SAP BPC EPM Comments ? if we have what are they could you please explain some one.

    Hi Do we have tables for SAP BPC EPM Comments ? if we have what are they could you please explain some one.

    Hi Narahari,
    Yes, we have tables for SAP BPC EPM comments and it is stored in backend BW.
    Please follow the below steps to see it -
    1. Go to RSA1 and find the infoprovider name for the application/cube that contains the comments For example, the infoprovider name is /CPMB/VZIKG4O
    2.  Then Go to SE16 and enter the comment table name.  The comment tables are generated tables.  You can determine there name by using the following rules:
      a.  The table name always starts with '/1CPMB/'
      b.  The rest of the name is derived from the infoprovider name - it is the first two characters after the second '/' + the fourth, fifth and sixth characters + CMT (for comments) or CMTA (for archived comments). In my case the comments table name would be "/1CPMB/VZKG4CMT" and the archived comments table would be "/1CPMB/VZKG4CMTA".
    3.  Hit 'F7' or click the table contents button.
    4.  Enter the criteria for the comments you wish to export.
    Hope this helps.

  • I am concerned that my new mac screen seems to snaps a pic when I am on certain web sites,I then notice that the "preview" is tagged on. Could someone please explain let me know what may be happening and how to stop this?

    I am concerned that my new mac screen seems to snaps a pic when I am on certain web sites,I then notice that the "preview" is tagged on. Could someone please explain let me know what may be happening and how to stop this?

    Hey Dollydayle,
    The steps in this link can help you with moving your music to your new computer,  with several options you can choose from that best suit your needs:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Welcome to Apple Support Communities!
    All the best,
    Delgadoh

  • Could someone please explain what "Run Spindump" & "Run System Diagnostics" does in 'Activity Monitor' ?

    Could someone please explain what "Run Spindump" & "Run System Diagnostics" does in 'Activity Monitor' ?

    Good question.  You don't need to worry about running those.  They will run automatically when needed by the system.  The information they generate (some) is sent to apple automatically (unless that setting is disabled).
    If you want to look at the output of these files, most can be found in the console (Utility/Console).  Open the app and look at all the system messages your Mac generates....on the right hand side I would bet you already have a crash log or spindump that was collected without you even knowing it.

  • HT1435 i have an X on my ipod, what should I do ? please explain simply

    i have an X on my ipod, what should I do ? please explain simply

    See here: iPod Displays a Red "X" Icon
    Note that if it's often a sign of a hardware issue usually with the iPod's Hard Drive.  If possible, schedule an appointment at your local Apple Store/Genius Bar to have them verify that for you.
    B-rock

Maybe you are looking for

  • Ocijdbc8

    I get the 'no ocijdbc8 in java.library.path' error, when starting my webapp in Tomcat. Did anyone experienced the problem with this. Thank you for any help. The complete message follows: 2003-02-07 16:17:26 StandardContext[]: Starting 2003-02-07 16:1

  • Submit by email not working as form validation failed.

    Ive created a form with mulitple pages. Three pages require form validation. Each page is a unique process so I'm trying to use the "Submit button" to only submit that particular page. I've created dummy fields as defaults to cure the validation prob

  • Version 6 and 8 on Mac 10.6.3

    I want to use both PSE Version 6 and Version 8 on SL 10.6.3. I presently have 8 working fine from disk, but cannot reinstall version 6 from the original disk. Intel Mac. Any ideas? Thanks.

  • If I delete my ID, will my music and applications still be there?

    IF I delete my apple ID on my phone, will my music and my applications still be there?

  • CRM Curvey Suite Problem

    I have created a survey and I would like to generate a URL for my survey for use in the email. I have followed the instruction mentioned in note 836945. When I click "Generate URL" after selecting "BSP" for both Send and Get Options and choose "CRM_S