Some component eat my F8 key

Hello,
I've got the problem with some component in my app.
In menu bar I've got accelerators for F5, F6, F7, F8. what is funny F5 and F7 works, but F6 and F8 are eaten by some component.
I've seen similar problems on Forum (with i.e. Ctrl-C issue)
One solution is to clear ActionMap for components and their parents, but i've got nothing from getActionMap() (i mean no bindings) for component (JSplitPane) which for 100% do something on F8 pressed.
Second fix is to make global handlind, but i'd avoidit.
How to find that component? What so spcial with F8 or F6/
thanks
Seb

Also try:
AWTEvent.MOUSE_EVENT_MASK);
          toolkit.addAWTEventListener(FunctionKeyListener, AWTEvent.KEY_EVENT_MASK);
FunctionKeyListener= new AWTEventListener() {
     public void eventDispatched(AWTEvent event) {
          // Only for key events
          if (event.getID() == KeyEvent.KEY_PRESSED) {
               KeyEvent ke = (KeyEvent)event;
               if (ke.getKeyCode() == KeyEvent.VF_F8) {
                    ke.consume();
// do something
It works for me.

Similar Messages

  • Need help in finding mpeg2 component number to unlock key so I can burn a dvd?

    Need help in finding mpeg2 component number to unlock key so I can burn dvd?? I have premiere elements 3.0
    Thanks,
    sylvia

    Sylvia,
    I cannot comment on PrE 3, as I did not start until PrE 4. With the latter, when one went to use one of the modules, they were automatically "registered." Based on comments in the Help file, I asked pretty much this same question, back then. All was done automatically, in PrE 4.
    Maybe those, familiar with PrE 3, can be of help to you.
    Good luck,
    Hunt

  • Some component with an unsupported version is trying to use NI Spy

    This problem is intermittent. In GPIB Configuration, Network settings, when I select the IP address of GPIB ENET/100, I get this NI Spy message: Some component with an unsupported version is trying to use NI Spy. Please contact National Instruments for an update. Do I need to update the firmware of GPIB/ENET100? The current version is B.9.

    Hello,
    Try uninstalling 488.2 driver, then uninstall MAX and then reinstall the 2.1 version for 488.2 from CurrentGPIB driver versions. Also make sure you are the administrator while you uninstall and reinstall.
    I have not seen this problem happen before so I hope uninstalling and reinstalling helps solve this problem.
    Please feel free to email me back incase you have further questions.
    Good luck and have a great day!
    Koninika
    National Instruments

  • ESS - don't use some componants

    Hi,
    I have installed ESS into the portal and the application works fine.
    I can navigate into ESS application, create travel requests etc ...
    But ESS application is too complete. I would like to hide some ESS componants (by example the "Employee Search" part).
    Is there a way to do this without developping ? A portal configuration or a configuration into the Spro of R3 ?
    Thanks in advance

    Hi Siva,
    Thank you for your reply.
    I tried to do the manipulation you described, but I can't do it. Into the portal, In Content Administration, I opened the iView (named Overview) and the page (named Overview) that contains iView. I pressed the right button of the mouse with the control key, but nothing happens. Do I have well done all the steps ?
    (I send you a screenshot of the overview IView.)
    In fact, what I want to do (Into the overview iview) is to keep only the functionnalities "Working time" and "Travel and Expenses". I want to suppress all the other functionnalities (Employee Search, Benefits and Payment, Career and Job, Purchasing ...).
    Is there a way to do this without developping ? I also looked at the IView properties, but I have not found any properties to use in this way.
    Regards
    Jean-Philippe

  • Querying on the basis of some attribute of composite primary key

    Hello,
    I am looking for suggestion about querying just on the basis of one attribute of the composite primary key.
    TO exemplify,
    I have a 6 attributes example A1,A2,A3,A4,A5,A6.
    A1,A2 and A3 together, serve as composite primary key.Now,because of the need of the project,I want to do querying on the basis of any A1,A2 or A3.One way I could think of is to have secondary indices on each of A1,A2,A3.
    Can some one explain me roughly how to go about it?
    I am a new user of BerkeleyDB Java Edition,hence not sure what would be a good way to do it.I understand one way to do it,would be to keep A1,A2,A3 in the Key class and A1,A2,A3,A4,A5,A6 in the value class as well.Then create secondary indices on the A1,A2 and A3 individually.
    Can someone suggest a more efficient way?
    Thanks,
    Will appreciate any suggestions.
    Prateek

    Exactly as you said. Create secondary indices on each attribute you want to index off of. I don't use the Java interface, but what you pretty much need to do is form your secondary key like so:
    skey: pkey_individual_attribute
    skeysize: pkey_individual_attribute_sizeHow to do this is documented in the BDB Java API docs:
    For example:
        class MyKeyCreator implements SecondaryKeyCreator {
            public boolean createSecondaryKey(SecondaryDatabase secondary,
                                                DatabaseEntry key,
                                                DatabaseEntry data,
                                                DatabaseEntry result)
                throws DatabaseException {
                // DO HERE: Extract the secondary key from the primary key and
                // data, and set the secondary key into the result parameter.
                return true;
        SecondaryConfig secConfig = new SecondaryConfig();
        secConfig.setKeyCreator(new MyKeyCreator());
        // Now pass secConfig to Environment.openSecondaryDatabaseThe extractor function used to construct the secondary index is passed the primary key and primary data - therefore all the data is available to you with no need to duplicate the key within the data itself. While the standard example is to use some part of the primary data to form a secondary key - there's absolutely nothing against using only a part of the primary key to form a secondary key instead. The only thing you have to do is slice up said primary key and construct the "result" parameter to be a single attribute. The backend API already knows which composite key this secondary entry will be associated with and as such will implicitly form the data (or as you called it "value") section of the index (which will be the composite primary key passed to it).
    The primary key/data should consist of the composite A1,A2,A3 with only A4,A5,A6 as data.
    The secondary->get() call (within the Java API) takes a key and provides back the primary key and primary data (basically the same as the db->pget() call in the C API). Since you've already indexed individual attributes, based off of the composite key, into their own respective databases - you just query from one of your secondary indexes with whatever specific attribute as the key. You then use the filled in primary key and primary data to work off of.

  • Some basic questions about foriegn key , and relationships.

    Hi
    Thank you for reading my post
    I read some documents about foreugn key and tables relation ships.
    but i still can not understnad some stuff.
    1-when we have a foreign key , we have two tables that we want to relate them together
    in a way that one of ? table columns forced to be a value from ?? table column.
    what is name of those two tables , i saw , child-parent , ..... which confuse me.
    can some one please tell me correct name of those two tables ?
    2-some times we need some kind of master details relation like :
    one-to-many : i this case MANY table will have a column to point a record in ONE table , can this relation be a foreign key relation ?
    3-we can achieve many-to-many relation only by using a helper table to host both tables primary keys in a record to relate them together.
    can you point me to some resources that help me to find answers to this questions ?
    or explain them to me ?
    thank you for your time.

    These are critical database basics that you need to understand. I would seriously recommend getting some study in, because proper relational database design relies on the basic principle of data and relationships and a process called normalization.
    In reality, you only really need one gigantic table to host data. It would include everything you would want to know about something - let's take a sales order for example. You would have to record the customer's name, address, etc. along with every item they ordered, etc. You would have a HUGE table full of data that appeared over and over and over again. This is bad design for two basic reasons: it is difficult to query, and it is very easy to have minor mistakes like capitalization or alternate spellings that prevent things from matching up properly. For example, let's say Bob orders 40 widgets and 40 digits. In our hypothetical table, we could put it in as Bob - 40 widgets and Robert - 40 digits. See how confusing this can get even in a simple example? And let's say you wanted to correct all of Robert's orders to say Bob and you found out there were 40 orders from "Robert" How would you know which ones to change?
    The process of normalization helps to reduce the chance for these types of errors in addition to creating a good basis for indexes. You normalize the data by creating sets of parent/child tables with a "key" value to match them. In our hypothetical situation, you could create a table for orders and a table for customers. In the customers table you give all the detail for the customer in one place, and you assign each customer a unique number or ID. In the orders table we add the customer ID (NOT the name) and we ensure that we are getting the customer we want, in addition to saving a lot of space and eliminating redundancy. In our example, the customers table is the "parent" table and the orders table is the "child" table. The child table references the unique entries in the parent table via that id. That reference is referred to as a foreign key. The foreign key in the child table points back to the original and complete record in the parent table and eliminates the redundancy of keeping all that extra data for every order. Foreign keys in child tables always refer to a primary/unique key in the parent field.
    That help?

  • Populate choice component  with   2 primary key  in table

    There are 2 primary key in table. When I create my uix with jheadstart, the UIXs don't populate choice component. How can I create automatically populate choice component, with 2 PK in table?

    A choice component can only have one value attribute. So if you have a composite primary key in the table you use to populate the choice, it will not work correctly, because based on this single attribute the choice cannot render the correct row as selected.
    Steven Davelaar,
    JHeadstart Team.

  • Web Dynpro ABAP Component configuration - Invalid access Key

    Hi Friends,
    I have copied HRESS_CC_MENU_OVP to ZHRESS_CC_MENU_OVP and trying to configure it. Even after registering the object it is giving the same error Invalid access key.
    We have registered HRESS_CC_MENU_AREA_GROUP and the access key worked fine. But registration for HRESS_CC_MENU_OVP is giving error Invalid access key. We have deleted and registered the object thrice but system is giving the same error.
    Can someone please suggest me where I have gone wrong.
    Thanks,
    Ravi

    Hi,
    Each component will have different access key. you cannot use the same access key to different application.
    You can try with different access key else you have an option of enhancing the HRESS_CC_MENU_OVP.
    Regards,
    Jyothi

  • SAP ERP Central Component 5.0 access key

    When I am trying to make a change in SAP ERP Central Component 5.0, it is asking me for a access key so can anybody get me ECC 5.0 access key.

    Hi,
    You dont have authorization for the user id you are useing.
    SoGoto SU01.
    Check the profiles tab in that you have SAP_NEW and SAP_ALL authorization.
    OR
    You can ask your basics person to give the access to your account
    Regards,
    Sreevani.

  • ResourceBundle-like component to handle multiple keys ??

    Requirement is :
    A property file will contain resource names, keys (variants) & values of resources depending on keys supplied :
    e.g.
    res1.key1.key11 = valA
    res1.key1.key12 = valB
    res1.key2 = valC
    res2 = valDWe require a component, say ClassA, which will perform following :
    1. ClassA gets data from above property file (can be passed in constructor)
    2. ClassA exhibits a method, which takes resource (property) name, a variable list of keys & returns appropriate value for resource :
    e.g. if i call :
    ClassA a = new ClassA(propfile);
    a.getResource("res1","key1.key11") should return 'valA
    a.getResource("res1","key1.key12") should return valB
    a.getResource("res1") should return any designated default value ( say valA )
    a.getResource("res2") should return valDSo on & so forth ....
    The ResourceBundle class of standard Java collection framework provide similar functionality, but only three keys : Locale, language & variant1. We require that this list of keys should be as long as we desire & if possible dynamically changeable.
    Otherwise the method of determining values depending on keys should be similar to ResourceBundle.
    Is this any such class available ? Or has anyone developed something similar ?
    Thanks,
    Subodh

    Well, standard ResourceBundles can be constructed using a Locale object, which is dependent on Language, Country & Variant.
    Suppose I create a Locale instance for language "en", country "us".
    Now when I try to create a ResourceBundle for this locale, it will search a appropriate class (or any underlying resource - like property file) as :
    first it will try to find baseclasslanguage_country.
    If this class/resource is not found, then baseclasslanguage will be searched.
    If even this is not found, baseclass will be searched.
    Thus, depending on availability / non-availability of details, it goes searching for more & more general class/resource.
    Here, the deciding factors can be MAX 3 - language, country & variant.
    I want a class which can take any number of deciding facotrs - say 10.
    So I would search for baseclass_fact1_fact2_fact3_fact4_fact5, get any of the following available resource :
    baseclass_fact1_fact2_fact3_fact4_fact5
    baseclass_fact1_fact2_fact3_fact4
    baseclass_fact1_fact2_fact3
    baseclass_fact1_fact2
    baseclass_fact1
    baseclass
    Hope that clarifies situation,
    Subodh

  • Validate the TextField component according to the Key Event

    Hi
    I want to validate the TextField component in my program , such that when the user enters characters i want to restrict the character to be printed on the TextField.
    help me
    rgds
    nissam

    Hi
    here is my code ..the thing is that i dont want to print the pressed character in the TextField...i am unable to catch the key press event with the code u given...
    thanks
    nisam
    import java.awt.*;
    import java.awt.event.*;
    class TestKey
    Frame frm;
         TextField test;
         Label result;
         TestKey()
         test = new TextField();
                   TextArea ee =new TextArea();
              result = new Label();
              test.addKeyListener(new KeyAdapter()
    //               e.getKeyChar() gets the key char typed.
              //public void processKeyEvent(KeyEvent e){
                   /*if((e.getID()==KeyEvent.ITEM_EVENT_MASK))
                   {//&&(e.getKeyChar()=='c')){
                        System.out.println("Charatcter...."+e.getKeyChar());
              public void keyPressed(KeyEvent e)
                   int code = e.getKeyCode();
    if(((code <= 57) && (code >= 48))|| code == 155 || code== 35 || code == 40||
                        code == 34 || code == 37 || code == 12 || code == 39 ||
                        code == 36 || code == 38 || code == 33 || code == 106)
                        e.setKeyCode('\0');
                        result.setText(""+e.getKeyCode());
                        else
                             return;
         public void set()
              frm=new Frame();
              test.setBounds(50,50,100,60);
              result.setBounds(50,140,250,50);
              frm.setSize(230,340);
              frm.setVisible(true);
              frm.add(test);
              frm.add(result);
         public static void main(String args[])
              TestKey testk =new TestKey();
              testk.set();

  • Some of my iPhone (3G) Keys Don't Work When Typing a Text/E-Mail/Note/Etc.

    So today I ran down to the apple store (for the 3rd day in a row) to get a new iPhone 3G since my previous one had a hardware problem. Just to let everyone know, the problem wasn't my fault so don't say something like be more careful.
    Anyways, I got the new iPhone and took it home. I restored it from my last backup. So I go and send a text to a friend to tell him that I went out and got it. Now when I try and send this text, I can't use the "S" key, the "E" key, the "W" key, or the "." period key on the phone. I've tried restoring, restarting, hard rebooting, etc. I just can't figure out how to get it to work.
    I'm NOT running out of my way for the 4TH DAY IN A ROW to go back down to the apple store for them to annoy me again. I honestly loved apple before all the flaws with my products. Now its just getting old.
    Back on topic, any idea what to do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • Hello, how much did you pay when some parts of the keyboard keys are not working properly due to accidental spilt of tea?

    I accidentally spilt a tea on the keyboard of my Macbook Air 11'. I managed to wipe the keyboard and saved my laptop. However, I noticed that the Spacebar, Shift and Command keys are not working as it should be. It's like something's stuck inside that makes these keys hard to press as usual. I refered this problem to Amsys, Berwick St London, as the reservations in Apple Stores are full. Do you have any idea how much is the cost for diagnosis and repair if ever?
    Please help.

    if you spilled a good bit of tea, its a serious problem, yes.
    it got inside, and will corode, and bad things will begin to happen.
    Liquid spills, why your MacBook chassis is a one-way valve for spills
    After a substantial spill many people will turn their notebook upside down and shake it, not only does this not work, but it spreads liquid havoc throughout your machine and makes things often as bad as possible.
    The keyboard itself acts like a one way valve in the case of a substantial liquid spill. While liquid pours into the bottom chassis easy, it does not come out easily at all, and in the case of any spill, most of it will not come out by turning it upside down. Disconnect all power and contact Apple for diagnostics and repair.
    Do not attempt to, after a spill, ‘dry out your MacBook’ and test it
    After a spill most people invariably try to “dry out” their notebook by various methods, including hair dryers and otherwise. This both does not work, and after a substantial spill of any magnitude, even if the liquid was water, residue is left behind.
    There are additionally many very tight places inside your notebook where liquids will linger for a very long time, and cause corrosion or worse.
    Immediately unplug your notebook and contact Apple for in shop diagnostics and parts replacement.
    In the case of very minor spills people will “dry out” their notebook and feel success that their notebook is working ok, however invariably in nearly all instances after 4-14 days an error / fault pops up and is usually followed by more.
    In case of a spill, damage estimates are impossible,.....anything can be fixed, without question.......the question is cost.
    contact Apple for in shop diagnostics and cost estimation ....possible parts replacement.  

  • Some of my macbook pro keys are getting dim, how can i fix these select keys because it is not the whole keyboard?

    It is mainly the "i, o, p, k, and l" keys.

    yes. Here: https://expresslane.apple.com/GetproductgroupList.do?PRKEYS=SG1

  • Setting component to recieve enter key presses?

    Hi all,
    if I have a dialog with a number of buttons on it, is there anyway I can set one component (an OK button) to be activated when the enter button is pressed, and another one (cancel) to be activated when the escape button is pressed?
    I know I could add actions to the action map, but isn't there usually a way to set one button to be actived on enter. It usually appears in bold, or slightly highlighted.
    thanks,
    J

    Hi all,
    if I have a dialog with a number of buttons on it, is
    there anyway I can set one component (an OK button)
    to be activated when the enter button is pressed, and
    another one (cancel) to be activated when the escape
    button is pressed?
    I know I could add actions to the action map, but
    isn't there usually a way to set one button to be
    actived on enter. It usually appears in bold, or
    slightly highlighted.
    someDialog.getRootPane().setDefaultButton(someButton);Jim S.

Maybe you are looking for