Block input events after selecting JTree node

Hi,
I've got a common problem but didn't found any solution for it.
I try to block input events (key and mouse events) after the user clicks on a tree node in the TreeSelectionListener.
For normal clicks it works fine.
If the user make a double click than the blocking mechanism also blocks the mouse events to handle the additional expansion of the tree node.
Any solutions for this?
Thanks,
Steffen

I use the following code to blocking input events:
      waitTimer = new Timer(350, new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          Toolkit.getDefaultToolkit().addAWTEventListener(awtEventListener,
              AWTEvent.MOUSE_EVENT_MASK | AWTEvent.MOUSE_WHEEL_EVENT_MASK | AWTEvent.KEY_EVENT_MASK);
      waitTimer.setRepeats(false);
      waitTimer.start();The event listener looks like:
    awtEventListener = new AWTEventListener() {
      public void eventDispatched(AWTEvent anEvent) {
        if(anEvent instanceof InputEvent && anEvent.getSource() instanceof Component)  {
            ((InputEvent) anEvent).consume();
    };

Similar Messages

  • Selecting JTree node to send values

    Hello all,
    I tried to build a GUI using JTree, It should be send values (a1,s1) to another method in back-end if a node (test1) is selected. is it necessary to add a new class with setXX() and getXX()?
    -Test
    --test1 (int a1, String s1)
    --test2 (int a2, String s2)
        private void createNodes(DefaultMutableTreeNode top) {
            DefaultMutableTreeNode category = null;
            category = new DefaultMutableTreeNode("Test");
            top.add(category);
            category.add(new DefaultMutableTreeNode("test1"));
            category.add(new DefaultMutableTreeNode("test2"));
            top.add(category);
        }Could anybody give me some suggestions? Thanks in advance

    I use the following code to blocking input events:
          waitTimer = new Timer(350, new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              Toolkit.getDefaultToolkit().addAWTEventListener(awtEventListener,
                  AWTEvent.MOUSE_EVENT_MASK | AWTEvent.MOUSE_WHEEL_EVENT_MASK | AWTEvent.KEY_EVENT_MASK);
          waitTimer.setRepeats(false);
          waitTimer.start();The event listener looks like:
        awtEventListener = new AWTEventListener() {
          public void eventDispatched(AWTEvent anEvent) {
            if(anEvent instanceof InputEvent && anEvent.getSource() instanceof Component)  {
                ((InputEvent) anEvent).consume();
        };

  • [iPhone] - No Touch Events After Selecting Photo in UIImagePicker

    In my OpenGL ES app, after calling the UIImagePicker and selecting a photo (or hitting cancel,) my app no longer registers any touch events.
    Touch events work fine before UIImagePicker is called. I am guess that somehow UIImagePicker (even though I release it) or something else is intercepting the touch events and not passing them along.
    Does anyone have any idea how to solve this problem?
    Photo Controller code:
    - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo
    [self UseImage:image];
    // Remove the picker interface and release the picker object.
    [[picker parentViewController] dismissModalViewControllerAnimated:YES];
    [picker release];
    - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
    [[picker parentViewController] dismissModalViewControllerAnimated:YES];
    [picker release];
    - (void)SelectPhoto
    if( [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary ] )
    UIImagePickerController *pImagePicker;
    pImagePicker = [[UIImagePickerController alloc] init];
    pImagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
    pImagePicker.delegate = self;
    pImagePicker.allowsImageEditing = NO;
    // Picker is displayed asynchronously.
    [self presentModalViewController:pImagePicker animated:YES];
    - (void)TakePhoto
    if( [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera ] )
    UIImagePickerController *pImagePicker;
    pImagePicker = [[UIImagePickerController alloc] init];
    pImagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
    pImagePicker.delegate = self;
    pImagePicker.allowsImageEditing = NO;
    // Picker is displayed asynchronously.
    [self presentModalViewController:pImagePicker animated:YES];
    // Implement this method in your code to do something with the image.
    - (void)UseImage:(UIImage*)theImage
    The code calling the photo controller:
    [g_window addSubview:m_pPhotoController.view];
    [m_pPhotoController SelectPhoto];
    Thanks.

    Some more information:
    If I add a TouchesBegan function to my PhotoController it registers the touches. The stack-trace is:
    #0 0x000315be in -[GEPhotoController touchesBegan:withEvent:] at gephotocontroller.mm:155
    #1 0x30adb941 in forwardMethod2
    #2 0x30a6786b in -[UIWindow sendEvent:]
    #3 0x30a56fff in -[UIApplication sendEvent:]
    #4 0x30a561e0 in _UIApplicationHandleEvent
    #5 0x31565dea in SendEvent
    #6 0x3156840c in PurpleEventTimerCallBack
    #7 0x971545f5 in CFRunLoopRunSpecific
    #8 0x97154cd8 in CFRunLoopRunInMode
    #9 0x31566600 in GSEventRunModal
    #10 0x315666c5 in GSEventRun
    #11 0x30a4eca0 in -[UIApplication _run]
    #12 0x30a5a09c in UIApplicationMain
    #13 0x00002be0 in main at main.m:14
    I tried removing the photo controller's view by calling
    [m_pPhotoController.view removeFromSuperview];
    But to no avail. My photo controller object still captures all the touch events.

  • How to get the path of the selected Jtree node for deletion purpose

    I had one Jtree which show the file structure of the system now i want to get the functionality like when i right click on the node , it should be delete and the file also deleted from my system, for that how can i get the path of that component
    i had used
    TreePath path = tree.getPathForLocation(loc.x, loc.y);
    but it gives the array of objects as (from sop)=> [My Computer, C:\, C:\ANT_HOME, C:\ANT_HOME\lib, C:\ANT_HOME\lib\ant-1.7.0.pom.md5]
    i want its last path element how can i get it ?

    Call getLastSelectedPathComponent() on the tree.

  • How to generate event from a JTree node

    I plan to move a vector list to a JTree and then make it possible to launch an even by double clicking a node in the tree, how can i quicly achieve that cuz i have being trying to overcome that since...any assistance?
    Thanks

    Since TreeNodes are no Components you have to add a MouseListener to your JTree and use the JTree.getPathForLocation(int x, int y) method to get the TreePath. something like this should work for you:
    tree.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    if (e.getClickCount != 2) return
    JTree tree = (JTree)e.getSource();
    TreePath path = tree.getPathForLocation(e.getX(), e.getY());
    TreeNode node = (TreeNode)path.getLastPathComponent();
    Do whatever you want here
    Hope that helps, Mathias

  • How to set Jtree Nodes' name into TextField??

    Dear Sir:
    I have following code to select any file's name then put into TextField,
    see:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.io.File;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextField;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.TreePath;
    public class JTreeSplitChooseDemo extends JPanel implements ActionListener{
        JFileChooser fc;
        JButton openButton, saveButton;
        JTextField jtf;
      public JTreeSplitChooseDemo() {
        final JTree tree;
        final JTextField jtf;
        JPanel jp= new JPanel();
        setPreferredSize(new Dimension(500,350));
        jp.setPreferredSize(new Dimension(500,300));
        DefaultMutableTreeNode top = new DefaultMutableTreeNode("Options");
        DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
        top.add(a);
        DefaultMutableTreeNode a1 = new DefaultMutableTreeNode("A1");
        a.add(a1);
        DefaultMutableTreeNode a2 = new DefaultMutableTreeNode("A2");
        a.add(a2);
        DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
        top.add(b);
        DefaultMutableTreeNode b1 = new DefaultMutableTreeNode("B1");
        b.add(b1);
        DefaultMutableTreeNode b2 = new DefaultMutableTreeNode("B2");
        b.add(b2);
        DefaultMutableTreeNode b3 = new DefaultMutableTreeNode("B3");
        b.add(b3);
        tree = new JTree(top);
        JScrollPane jsp = new JScrollPane(tree);
        jsp.setPreferredSize(new Dimension(500,300));
        tree.setPreferredSize(new Dimension(500,300));
        add(jsp, BorderLayout.CENTER);
        jtf = new JTextField("", 20);
        add(jtf, BorderLayout.SOUTH);
        tree.addMouseListener(new MouseAdapter() {
          public void mouseClicked(MouseEvent me) {
            TreePath tp = tree.getPathForLocation(me.getX(), me.getY());
            if (tp != null)
              jtf.setText(tp.toString());
            else
              jtf.setText("");
      public JPanel JTreeText() {
             JPanel jp= new JPanel();
             JPanel jpanel= new JPanel();
             setPreferredSize(new Dimension(400,350));
             jp.setPreferredSize(new Dimension(400,300));
             JScrollPane jsp = new JScrollPane(jp);
             jsp.setPreferredSize(new Dimension(400,300));
             jpanel.add(jsp, BorderLayout.CENTER);
             jtf = new JTextField("", 20);
             fc = new JFileChooser();
             openButton = new JButton("Open a File...",new ImageIcon("images/hui.gif"));
             openButton.addActionListener(this);
             JPanel buttonPanel = new JPanel(); //use FlowLayout
             buttonPanel.add(openButton);
             //jp.add(buttonPanel, BorderLayout.PAGE_START);
             jp.add(buttonPanel, BorderLayout.NORTH);
             jp.add(jtf, BorderLayout.CENTER);
             return jpanel;
      public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.getContentPane().add(new JTreeSplitChooseDemo(), new BorderLayout().WEST);
        frame.getContentPane().add(new JTreeSplitChooseDemo().JTreeText(), new BorderLayout().CENTER);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(800, 350);
        frame.setVisible(true);
    @Override
    public void actionPerformed(ActionEvent e) {
         //Handle open button action.
        if (e.getSource() == openButton) {
          int returnVal = fc.showOpenDialog(JTreeSplitChooseDemo.this);
          if (returnVal == JFileChooser.APPROVE_OPTION) {
            File file = fc.getSelectedFile();
             jtf.setText(file.getName());
          } else {
             jtf.add("Open command cancelled by user.", null);
    }For example, If i choose file : C:\temp\ftp\TestMyFile.txt
    after I press open button, then choose it, then, the file name TestMyFile.txt will be displayed in the textFiled.
    My problem is that I hope to choose any node in the JTree on the left Panel, then when I choose it, this JNode I selected will be displayed its name in the TextField.
    Not file, I need choose JNode,
    ie, B1 under B node, or A1 under A node, then B1 will be displayed in jtf.
    How to do this one??
    Can Guru throw some light??
    Thanks
    sunny

    Thanks, camickr.
    My fault not to explain detail.
    Actually I mean that I will use a dialog box(very much look like a file choose) that is something like a file chooser then I can browse over JTree first for any node then I can choose or select a node in this JTree, after select this node, its name is populated into text field. My one is I will use a JTree browser (something like that) to get a tree node.
    ie, this showOpenDialog will browse over JTree, not File system.
    I did not want to click on the node then this node name is populated into textField.
    the sample (http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html) shows that when I select a node, then its name was populated to a destination.

  • Select multiple nodes in a JTree a right click

    Hi all,
    I've a JTree and I'd like to allow the user select some nodes (one or more) right click and than show a popupMenu.
    This behavior seems not to be easy, because if I select a single node (right clicking on it) the node does not appear selected ; I need to select it left clicking and than everything works fine.
    I read some posts found in the forum and the solution seems to be :
    - attach a mouseListener to the JTree
    - get the TreePath of the node selected
    - force the selection on the node with setSelectionPath(TreePath)
    This works fine if you need to select only one node, cause if you have to select more, you simply cannot.
    I wonder a so obvious behavior is so hard to achieve.
    I hope somebody out there had made the magic.
    Any help would be appreciated.
    Flavio Palumbo

    Hi Darryl,
    I wrote the test case below.
    Using the methods you suggested it works almost fine.
    The only behavior not desired is when you select a range (shift or control), release the key an than right click ; in this case remains selected the only node you clicked on ; to select the range clicking with the right button, you have to keep pressed the key.
    Any hint would be appreciated.
    Flavio
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JFrame;
    import javax.swing.JMenuItem;
    import javax.swing.JPopupMenu;
    import javax.swing.JTree;
    import javax.swing.SwingUtilities;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.TreePath;
    public class TestTree {
        JTree jtr = null;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new TestTree();
        public TestTree() {
            JFrame jf = new JFrame();
            jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            try {
                javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
                javax.swing.SwingUtilities.updateComponentTreeUI(jf);
            } catch (Throwable e) {
            jf.setPreferredSize(new java.awt.Dimension(200, 560));
            javax.swing.JScrollPane js = new javax.swing.JScrollPane();
            DefaultMutableTreeNode root = new DefaultMutableTreeNode("root");
            jtr = new JTree(root);
            jtr.addMouseListener(new TestTreeML());
            js.setViewportView(jtr);
            jf.getContentPane().add(js);
            for (int i = 0; i < 20; i++) {
                DefaultMutableTreeNode nodoFiglio = new DefaultMutableTreeNode("nodo" + i);
                ((DefaultTreeModel) jtr.getModel()).insertNodeInto(nodoFiglio, root, root.getChildCount());
            jf.pack();
            jf.setVisible(true);
        public class TestTreeML extends MouseAdapter {
            @Override
            public void mousePressed(MouseEvent e) {
            @Override
            public void mouseClicked(MouseEvent e) {
                try {
                    if (!e.getSource().equals(jtr)) {
                        return;
                    TreePath tpSel = jtr.getPathForLocation(e.getX(), e.getY());
                    if (tpSel == null) {
                        return;
                    int i = 0;
                    final DefaultMutableTreeNode node = (DefaultMutableTreeNode) tpSel.getLastPathComponent();
                    TreePath[] tpExisting = null;
                    if (e.isControlDown() || e.isShiftDown()) {
                        System.out.println("control/shift");
                        TreePath[] tpEx = jtr.getSelectionPaths();
                        tpExisting = java.util.Arrays.copyOfRange(tpEx, 0, tpEx.length + 1);
                        i = tpEx.length;
                    } else {
                        tpExisting = new TreePath[1];
                    tpExisting[i] = tpSel;
                    jtr.setSelectionPaths(tpExisting);
                    if (e.getClickCount() == 2) {
                        System.out.println("double click on " + node.getUserObject());
                    if (javax.swing.SwingUtilities.isRightMouseButton(e)) {
                        if (!e.isControlDown()) {
                            jtr.setSelectionPath(tpSel);
                        JPopupMenu menu = new JPopupMenu();
                        JMenuItem it0 = new JMenuItem("Option1");
                        it0.addActionListener(new ActionListener() {
                            public void actionPerformed(ActionEvent e) {
                                System.out.println("Option1 on " + node.getUserObject());
                        menu.add(it0);
                        JMenuItem it1 = new JMenuItem("Option2");
                        it1.addActionListener(new ActionListener() {
                            public void actionPerformed(ActionEvent e) {
                                System.out.println("Option2 on " + node.getUserObject());
                        menu.add(it1);
                        menu.show(jtr, e.getX(), e.getY());
                } catch (Throwable t) {
    }

  • How to post an Event (mouse left click) to JTree node

    Hi,
    I am using JTree for my application just like the windows explorer tree. By default, Jtree node will got focus using left click. But, I'd like that my tree will detect a right click so that I can copy any file to the Jtree. I've added a mouselistener to it but the node is not selected by the right click. Anyboby can teach me how to post a mouse left click event to the Jtree so that it will become selected using left click.
    Thanks a million

    See if this is useful
    public void mouseClicked(MouseEvent event)
    Object object = event.getSource();
    if (object == mTree)
    mTree_mouseClicked(event);
    private void mTree_mouseClicked(MouseEvent event)
    if(event.getModifiers()==event.BUTTON3_MASK)
    //your logic goes here
    }//close method

  • ITunes stops working moments after selecting . Microsoft offers to find solution but no response?Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.2.2.3   Application Timestamp:     5383f31a   Fault Module Name: 

    Microsoft report gives details of problem:
    Problem Event Name:
    BEX
      Application Name:
    iTunes.exe
      Application Version:
    11.2.2.3
      Application Timestamp:
    5383f31a
      Fault Module Name:
    StackHash_0a9e
      Fault Module Version:
    0.0.0.0
      Fault Module Timestamp:
    00000000
      Exception Offset:
    00000008
      Exception Code:
    c0000005
      Exception Data:
    00000008
      OS Version:
    6.1.7601.2.1.0.768.3
      Locale ID:
    2057
      Additional Information 1:
    0a9e
      Additional Information 2:
    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:
    0a9e
      Additional Information 4:
    0a9e372d3b4ad19135b953a78882e789
    I have tried reloading the iTunes player but same thing happens after selecting it.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

  • JTree and selected tree node

    I am allowing the user to search for a node in a JTree. I can find the node and progamatically expand and select the node. What I would like to do next is find the x,y coordinates of this selected node so I can use Robot to move the mouse to this node. I have hover help which is chock full of information in HTML describing this node, however, the user now is required to move the cursor to this selected node to see the hover help.
    Any help would be appreciated.

    Hi ,
    try this
    jlabel.setIcon( null ) ;

  • Selectively editing nodes in a JTree

    I need to make certain nodes in a JTree editable, without making every node in the tree editable. How can I accomplish this?

    Is there some kind of method in a JTree or a DefaultMutableTreeNode that I can call to select the node's text and be able to change it?Hmm. And you did read the API for JTree looking for such methods before you posted here, didn't you?
    So tell us which methods you found to be likely candidates.
    db

  • How to allow multiple selection of nodes in a JTree

    How to allow multiple selection of nodes in a JTree ?
    Thanks
    S.Satish

    By default when you create new instance og JTree the selection model is multiple selection. And if you want to change it you use next:
    tee.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    or
    tree.getSelectionModel().setSelectionMode(TreeSelectionModel.CONTIGUOUS_TREE_SELECTION);
    or
    tree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    Hope will help!

  • How to change the Label of input text box after selecting a value in LOV.

    Hi All,
    I have a requirement that after selecting a value in LOV the Label of the next input text box should change accordingly.
    I am able to do cascading LOV's.
    how can i meet this requirement?
    TIA,
    Vishal

    Sample:
    JSPX Page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.FirstName.inputValue}"
    label="#{bindings.FirstName.hints.label}"
    required="#{bindings.FirstName.hints.mandatory}"
    columns="#{bindings.FirstName.hints.displayWidth}"
    maximumLength="#{bindings.FirstName.hints.precision}"
    shortDesc="#{bindings.FirstName.hints.tooltip}"
    id="it1" *binding="#{ForumSampleBean.inputText}"*
    *partialTriggers="departmentIdId">*
    <f:validator binding="#{bindings.FirstName.validator}"/>
    </af:inputText>
    <af:inputComboboxListOfValues id="departmentIdId"
    popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
    value="#{bindings.DepartmentId.inputValue}"
    label="#{bindings.DepartmentId.hints.label}"
    model="#{bindings.DepartmentId.listOfValuesModel}"
    required="#{bindings.DepartmentId.hints.mandatory}"
    columns="#{bindings.DepartmentId.hints.displayWidth}"
    shortDesc="#{bindings.DepartmentId.hints.tooltip}"
    *autoSubmit="true"*
    *immediate="true"*
    *valueChangeListener="#{ForumSampleBean.lovValueChangeListener}">*
    <f:validator binding="#{bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.DepartmentId.format}"/>
    </af:inputComboboxListOfValues>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *Managed Bean:*
    public class ForumSampleBean {
    private RichInputText inputText;
    public ForumSampleBean() {
    super();
    public void setInputText(RichInputText inputText) {
    this.inputText = inputText;
    public RichInputText getInputText() {
    return inputText;
    public void lovValueChangeListener(ValueChangeEvent valueChangeEvent) {
    *this.inputText.setLabel("New Label");*
    Thanks,
    Navaneeth

  • How to select a node in a JTree by name

    I have a JTree in my program. I want to programmatically set one of these nodes selected by the name of the node. I do not know how to do this. I read the "How to use trees", but no help
    Thanks!

    I have a JTree and each node on the JTree has a string name. I also have a JEditorPane that lists all these names at start up. If the user clicks on one of these names, I want to catch the HyperlinkEvent and automatically select that node in the JTree.
    So in short, I have the String name of the node that I want to programatically select.
    Thanks!

  • EVENT FIRST COMMAND AFTER SELECT

    Dear friends
    I'm now using Gemalto Developer's Suite and I want to test this event. However, I try different ways but fail to accomplish my test.
    Do you know any materials, or just anything about this event? I searched throughout various sources, materials but all I have now is a small piece of information in GSM 43.019
    Upon reception of the first command received by the GSM application after it has been selected or after the ATR if it is the default application, and before the Status >Word of the processed command has been sent back by the GSM application, the toolkit framework shall trigger all the toolkit applets registered to this event.
    If the first command received by the GSM application is a toolkit applet triggering command (e.g. TERMINAL PROFILE), the toolkit applets registered on the >EVENT_FIRST_COMMAND_AFTER_SELECT event shall be triggered first.
    The ProactiveHandler and the ProactiveResponseHandler shall not be available at the invocation of the processToolkit method of the toolkit applet on the >EVENT_FIRST_COMMAND_AFTER_SELECT event.From this material, I think it's quite vague to understand clearly this event.
    Thanks in advance,
    Jason
    Edited by: Jason Gosling on Oct 19, 2011 7:29 PM

    hi Jason.
    This is automatic event that was born by OS instead mobile.
    When OS received the first command "00 A4 04 00 00 0xXX + AID APPLET GSM" from User, OS will look in the ToolkitApplet Registry table and find the applet with EVENT FIRST COMMAND AFTER SELECT, then OS call method "process toolkit" of this applet.
    the called applet will do something that it want. Maybe send data to ME.
    When method done, OS continue action normally.
    This is for GSM applet on JavaCard. And the GSM applet is not default program.
    For the case: GSM is default, that mean OS automatic select GSM APPLET when it starts, no need to any command form ME or User, OS auto create this event and look toolkitapplet to run processToolkit method.
    hope this is fun !!

Maybe you are looking for

  • Error while executing the Report( Need your help gurus) !!!

    Hi, Today morning when i was checking the report for monthly data i,e from 1sept to 28th sept. I got this below error msg. Can you pls guide me why its throwing an error. <b>Error      SQL Error: 1555 Error      Error when generating the SQL statemen

  • NW2004s SR1 install; jcontrol errors license issue

    I have installed NW2004s SR with Portal scenario. I cannot get the engine to stabilize. I checked jcontrol logs and found this: Thr  1] JStartupICreateProcess: fork process (pid 598156) [Thr  1] JControlICheckProcessList: process SDM started (PID:598

  • HF200 and Final Cut Pro

    I just purchased an HF200 camcorder for my video needs. I hook up the camcorder through usb and open up Final Cut. I then proceed to use the log and transfer function to transfer my video files. No luck nothing shows up and when I try to add the fold

  • Un-used Universes in BO XI3.1

    Hi All, How to find out the un used universes in BO XI 3.1 Environment? Best Regards, Reddeppa K

  • N91 major problems

    Within the first month of my having an n91 I was experiencing problems with the phone. It just hangs daily and does not allow you to even restart the phone without removing the battery. I thought it was a software problem so I had the firmware upgrad