Filtering ETW Events

Is there any way to filter ETW Event callbacks?
I am getting all of the events I need by starting a trace with a keyword; unfortunately some keywords enable many many event ids (for example, FILEIO keyword for Microsoft-Windows-Kernel-File provider gives me all IO events, when I just need file close events).
I can filter these within the callback but I'd rather not even receive the callback for certain event IDs. I've tried the PEVENT_FILTER_DESCRIPTOR with EnableTraceEx2 but without any luck (filters seem to have no effect).
Do those filters work on Window 7?
Are there other ways to filter callbacks?
Thanks!

Hi Surra,
Thanks for posting in MSDN forum.
VC++ forum discusses and ask questions about the Visual C++ IDE, libraries, samples, tools, setup, and Windows programming using MFC and ATL. So your post may off-topic here. I will move this to Where
is the forum for...? Forum to help you find a right forum for this issue. Thanks for your understanding.
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • ETW Event Filtering

    Is there any way to filter ETW Event callbacks?
    I am getting all of the events I need by starting a trace with a keyword; unfortunately some keywords enable many many event ids (for example, FILEIO keyword for Microsoft-Windows-Kernel-File provider gives me all IO events, when I just need file close events).
    I can filter these within the callback but I'd rather not even receive the callback for certain event IDs. I've tried the PEVENT_FILTER_DESCRIPTOR with EnableTraceEx2 but without any luck (filters seem to have no effect). The documentation is slightly ambiguous
    about which OS is required for which filters.
    What ETW event filtering capabilities are available in Windows 7?
    Thanks!

    Hi Surra,
    Based on my knowledge, the CLR ETW can be filtered by category and level. Detail information in the following link,
    https://msdn.microsoft.com/en-us/library/ff357720(v=vs.110).aspx. You can filter on the result by yourself. If you want this feature, I would recommend you submit your wish on UserVoice.
    http://visualstudio.uservoice.com/forums/121579-visual-studio?query=etw%20more%20filter.
    >>•What ETW event filtering capabilities are available in Windows 7?
    ETW is available for CLR in net framework, and “The .NET Framework 4 or later is required for all the events described in the event topics. The Windows Vista operating system is the minimum supported client, and Windows
    Server 2008 is the minimum supported server.” you can see the above information in this link,
    https://msdn.microsoft.com/en-us/library/ff357719(v=vs.110).aspx.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Custom OPN for ETW Events

    I have an application writing ETW events which have a binary blob which represents an encoded message that can be further parsed (similar in function to the NdisEtwProvider). For some reason, however, I cannot get Message Analyzer to load or use the custom
    OPN.
    The OPN has an auto-started actor accepting EtwProviderMsg, which is the only registration I know to be required.
    I have placed it in "%LOCALAPPDATA%\Microsoft\MessageAnalyzer\OpnAndConfiguration\TestOpns\Test Protocol.opn" and confirmed that my Provider Guid and Event IDs match, but Message Analyzer still seems only to parse using the automatically generated
    OPN from the ETW manifest.
    Is there an installation step I am missing, or some log location to see if it is silently failing? 
    I will note that the auto-generated OPN still exists in "%LOCALAPPDATA%\Microsoft\MessageAnalyzer\SystemEtwManifestOPNCache" and I am uncertain if that should be deleted.
    Any help is appreciated,
    Mitch

    So this is one of those cases where inattention causes problems. The folder in which OPN's are processed is "%LOCALAPPDATA%\Microsoft\MessageAnalyzer\OpnAndConfiguration\Opns\subfolder\".

  • Consumer application using ETW events for TCPIP tarffic message

    I am planning to build a consumer application using ETW events in real time mode. My application is already set with  EVENT_TRACE_REAL_TIME_MODE for KERNEL_LOGGER_NAME. And successfully consume the Registry and file events.
    Interested in consuming Network events for TCP/UDP and looking for sample code (C++) that gets relevant data from _EVENT_RECORD structure.
    Any sample application and relevant documentation will be of great help.
    Thanks.

    I know they are in this kit
    http://www.microsoft.com/en-us/download/details.aspx?id=3138
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • Filtering extended event in sql server 2008 r2

    This code has been generated in sql server 2012 (using the graphical interface).
    CREATE EVENT SESSION [backupsmssql] ON SERVER
    ADD EVENT sqlserver.sp_statement_starting(
    ACTION(
    sqlserver.client_app_name,
    sqlserver.client_hostname,sqlserver.nt_username,
    sqlserver.session_nt_username,sqlserver.sql_text,
    sqlserver.username)
    WHERE ([sqlserver].[like_i_sql_unicode_string]([sqlserver].[sql_text],N'%backup database%'))
    WITH (MAX_MEMORY=4096 KB,EVENT_RETENTION_MODE=ALLOW_SINGLE_EVENT_LOSS,MAX_DISPATCH_LATENCY=30 SECONDS,MAX_EVENT_SIZE=0 KB,MEMORY_PARTITION_MODE=NONE,TRACK_CAUSALITY=OFF,STARTUP_STATE=OFF)
    If I try to run it on sql server 2008 r2, the filtering part seems to be misinterpreted and the following error is thrown:
    Msg 25706, Level 16, State 8, Line 1
    The event attribute or predicate source, "sqlserver.sql_text", could not be found.
    If I remove the where clause, the statement runs fine even though the sqlserver.sql_text is returned as part of the actions.  So obviously the "sqlserver.sql_text" is existant.  Why would I receive a message it does not exists in the
    where clause?  Was the "like_i_sql_unicode_string" inexistent in 2008 r2 or has the syntax changed in 2012.  How can we filter sql_text in 2008 r2?  I can't seem to find any doc regarding this, help would be appreciated.
    p.s. There is a very similar question here but it has been closed by the moderators and does not answer the question:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/76c2719c-ea02-4449-b59e-465a24c37ba8/question-on-sql-server-extended-event?forum=sqlsecurity

    You are on the right track:
    The differences in the available events and predicates (source and compare) between SQL Server 2008/R2 and 2012 are quite substantial.
    So the LIKE-operator is not available at all under 2008/R2 as a comparison-predicate, and sql_text is also not available as a source-predicate - only as action itself. - One has to realize, that actions really are not automatically also predicates.
    For a complete list of predicates you can query like this:
    SELECT dm_xe_packages.name AS package_name,
    dm_xe_objects.name AS source_name,
    dm_xe_objects.description
    , dm_xe_objects.object_type
    FROM sys.dm_xe_objects AS dm_xe_objects
    INNER JOIN sys.dm_xe_packages AS dm_xe_packages
    ON dm_xe_objects.package_guid = dm_xe_packages.guid
    WHERE
    (dm_xe_packages.capabilities IS NULL OR dm_xe_packages.capabilities & 1 = 0)
    AND (dm_xe_objects.capabilities IS NULL OR dm_xe_objects.capabilities & 1 = 0)
    AND dm_xe_objects.object_type
    IN ( 'pred_source', 'pred_compare')
    ORDER BY dm_xe_objects.object_type
    Unfortunately for your specific filter there is not workaround for Extended Events.
    You would have to resort to another predicate for filtering altogether.
    BUT: if you are on Enterprise Edition, why not use Auditing. There is a Audit-Group for Backup/Restore.
    It would be really simple like the following:
    CREATE SERVER AUDIT SPECIFICATION [Audit_BackupRestores]
    FOR SERVER AUDIT [AuditTarget]
    ADD (BACKUP_RESTORE_GROUP)
    If you are on Standard, you found yet another reason to upgrade to a supported version of SQL Server, I am afraid to say..
    Andreas Wolter (Blog |
    Twitter)
    MCSM: Microsoft Certified Solutions Master Data Platform, MCM, MVP
    www.SarpedonQualityLab.com |
    www.SQL-Server-Master-Class.com

  • Live Trace misses ETW events without user-specified context data

    Hi there.
    Currently using MessageAnalyzer for capturing and analyzing ETW debug logs. But in analysys grid I see only events *with* any extra event data and no events *without* it.
    This events are ok:
    <event symbol="someevent1" value="68" version="0" channel="MyApp/debug" level="win:Verbose" opcode="win:Info" template="Message" message="$(string.MyApp.event.68.message)"></event>
    This events are totally missed:
    <event symbol="someevent2" value="69" version="0" channel="MyApp/debug" level="win:Verbose" opcode="win:Info" message="$(string.MyApp.event.69.message)"></event>
    There is no difference if "template" attribute omitted, empty string or targets empty template.
    In Event Viewer and .elt traces captured with xperf I see *all* events, so there is problems with manifest or application itself. Is it feature of MessageAnalyzer or some kind of bug?
    MessageAnalyzer 1.2 (build 4.0.7285.0), windows 8.
    Thanks.

    This sounds similar to another bug report we received internally.  In that case, the message are dropped by message analyzer, but TraceFmt and other tools show these missing events.  Hopefully we can address in our next release. 
    Sorry for the inconvienience, and hopefully we can fix this soon.
    Paul

  • Filters and  events

    whats the main difference between the filters and events

    i mean to say that there are 3 methods in filters whihc are init ,doFilter and destroy and in events ,there are 2 methods contextInitialized and context destroyed ...
    when we use the filters ,the init method is called when server is started and the same is true with the events that the contextInitiliazed method is called at the same time. and the doFilter is called along with the service methods of the servlet ..the HttpSessionListener session methods are along with the service methods ...
    so i don find whats the difference between events and filters though the definition says the filters are called before the request,response and filter chain ..and events happens along with the methods of the servlets..
    thnaks and regards.....

  • How to consume ETW events data in C#

    Hi,
    I am using Microsoft.BizTalk.CAT.BestPractices.Framework for tracing data in Custom Pipeline Components, Maps and Orchestrations.
    I want to capture events data in Real-time by using C# code.
    Can someone help how can i capture events data in c#?
    Thanks,
    Shahzad

    Hi Shahzad,
    When you use the Microsoft BizTalk CAT Teams logging framework for instrumenting your BizTalk solution then
    it will write events to the Windows ETW sub system. You need to write a component,lets call it as a monitor that will capture these events and write to database. There is an excellent project in codeplex titled 'Testing inside BizTalk using ETW Tracing'.See
    here .
    It is basically a console app that detect events published to ETW by the BizTalk logging framework and then
    publish them onto an MSMQ queue .See the source code for this project and you can implement the same in your C# component.
    Regards,
    Sajith C P Nair
    Please mark as answer if this helps

  • How to improve the event log read performance under intensive event writing

    We are collecting etw events from customer machines. In our perf test, the event read rate can reach 5000/sec when there is no heavy event writing. However, the customer machine has very intensive event writing and our read rate dropped a lot (to 300/sec).
    I understand there is IO bound since event write and read will race for the log file, which is also confirmed by the fact that whenever there is a burst of event write, a dip of event read happens at the same time. Therefore, the event read cannot catch up
    the event write and the customer gets lagging behind logs.
    Note that most of the events are security events generated by windows (instead of customers).
    Is there a way to improve the event read performance under intensive event write? I know it is a hard question given the theory blocker just mentioned. But we will lose customers if there is no solution. Appreciate any clue very much!

    Hi Leonjl,
    Thank you for posting on MSDN forum.
    I am trying to invite someone who familiar with this to come into this thread.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I capture Microsoft EventSource Events on a Windows Phone?

    I use
    Microsoft EventSource Library to create events to instrument our applications. For Windows Applications running on Windows 7/8/8.1 I can use xperf
    to capture the events (xperf.exe" -start UserLogger -on GUID -f User.etl).
    But how can I do this on a Windows Phone 8.1?
    I use Win8.1 Pro (x64), VS2013 Community Edition with Update4 and try capture a trace with the custom events on my Lumia 1320 Dev Preview Update Build 8.10.14203.

    Hi Andre,
    First, sorry about the inconvenience Franklin brought to you.
    Developer Power tools can be used to capture ETW log, but I think it will not work for custom events. Check the
    thread replied by Eric.
    AFAIK, the option to capture custom events only opens to Microsoft OEMs as mentioned in
    this article.
    And I just found the following uservoice in our
    official uservoice channel.
    https://wpdev.uservoice.com/forums/110705-dev-platform/suggestions/6101326-enable-collection-of-custom-etw-events-to-etl-fil
    I think you can vote on that thread to push that.
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Order of elements and events.

    INTRO
    Hi Oracle community.
    A while ago I started a thread here on the forum where I had put three different subjects to be treated. The user jsmith guided me saying that I was supposed to separate things, dividing each subject in a separate thread. The original discussion is at the following link:
    Interesting things, however, unknown? StackPane, animations and filters.
    ABOUT
    So in this discussion, I will be talking about input events and maybe about event filters. I created a JavaFX 8 (b123) application that checks the mouse click on certain nodes. Basically I have a panel of buttons. Behind this panel, I have a scroll pane with rectangles. The rectangles are contained within a Group, and the buttons are in a VBox. The Group is set as ScrollPane content. VBox and ScrollPane are within a StackPane, which becomes the root of scene graph. If we observe the nodes tree, we'll find the following scenario:
    IMAGE
    Here is my source code:
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.geometry.Pos;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ScrollPane;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    public class ScrollTest extends Application
        //                                                                                                       MAIN
        public static void main(String[] args)
            Application.launch(args);
        //                                                                                                 INSTÂNCIAS
        // CONTROLS
        private Rectangle[] rectangles;
        private ScrollPane scrollP;
        private Button[] buttons;
        // LAYOUTS
        private StackPane root;
        private Group group;
        private VBox vbox;
        //                                                                                                  INÍCIO FX
        @Override public void start(Stage estagio) throws Exception
            this.iniFX();
            this.confFX();
            this.adFX();
            this.evFX();
            Scene cenario = new Scene(this.root , 640, 480);
            estagio.setScene(cenario);
            estagio.setTitle("Programa JavaFX - RDS");
            estagio.show();
        /** Just instantiate JavaFX objects.*/
        protected void iniFX()
            // CONTROLS
            this.rectangles = new Rectangle[5];
            this.scrollP = new ScrollPane();
            this.buttons = new Button[6];
            // LAYOUTS
            this.root = new StackPane();
            this.group = new Group();
            this.vbox = new VBox();
        /** Just sets the JavaFX objects.*/
        protected void confFX()
            // CONTROLS
            for(int count = 0 ; count < this.rectangles.length ; count++)
                this.rectangles[count] = new Rectangle();
                this.rectangles[count].setWidth(Math.random() * 100 + 20);
                this.rectangles[count].setHeight(Math.random() * 100 + 20);
                this.rectangles[count].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
                this.rectangles[count].setTranslateX(Math.random() * 600);
                this.rectangles[count].setTranslateY(Math.random() * 600);
                this.rectangles[count].setRotate(Math.random() * 360);
            for(int count = 0 ; count < this.buttons.length ; count++)
                this.buttons[count] = new Button("Button - " + count);
            // this.scrollP.setVbarPolicy(ScrollBarPolicy.ALWAYS);
            // this.scrollP.setHbarPolicy(ScrollBarPolicy.ALWAYS);
            this.scrollP.setPrefSize(400 , 400);
            // LAYOUTS
            this.vbox.setAlignment(Pos.CENTER);
            this.vbox.setSpacing(20);
            // This doesn't solve my problem.
            // this.vbox.setMouseTransparent(true);
        /** Just create the realtion between nodes, and the root.*/
        protected void adFX()
            for(int count = 0 ; count < this.rectangles.length ; count++)
                this.group.getChildren().add(this.rectangles[count]);
            for(int count = 0 ; count < this.buttons.length ; count++)
                this.vbox.getChildren().add(this.buttons[count]);
            this.scrollP.setContent(this.group);
            this.root.getChildren().add(this.scrollP);
            this.root.getChildren().add(this.vbox);
        /** Just add some events to some nodes for debugging.*/
        protected void evFX()
            this.vbox.setOnMousePressed(new EventHandler<MouseEvent>()
                @Override public void handle(MouseEvent e)
                    System.out.println("Mouse pressed inside VBox.");
            this.scrollP.setOnMousePressed(new EventHandler<MouseEvent>()
                @Override public void handle(MouseEvent e)
                    System.out.println("Mouse pressed inside ScrollPane.");
            if(this.rectangles.length > 0)
                this.rectangles[0].setOnMousePressed(new EventHandler<MouseEvent>()
                    @Override public void handle(MouseEvent e)
                        System.out.println("Rectangle pressed.");
                        rectangles[0].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
    THE PROBLEM
    I wish I could click the mouse on VBox buttons, but also in the scroll pane, and in it's internal contents (the rectangles). I tried changing the VBox mouseTransparent property to true, and modify mouseTransparent to false on each VBox button, but that did not work. I've been reading the JavaFX documentation talking about routing events, and found the following:
    The route can be modified as event filters and event handlers along the route process the event. Also, if an event filter or event handler consumes the event at any point, some nodes on the initial route might not receive the event.
    Could it be that VBox is filtering events so they do not reach ScrollPane? Or is this being done by StackPane in some other manner? Does anyone have any idea what I could do?
    In any case, I thank you for your attention.

    You might need to modify the event dispatch tree so that the events get beyond the VBox. I'm not saying this is the right thing to do, but something worth looking at.
    root.setEventDispatcher(new EventDispatcher() {
    @Override
    public Event dispatchEvent(Event event, EventDispatchChain tail) {
    tail.append(group.getEventDispatcher());
    return tail.dispatchEvent(event);
    There is some info on event processing at Handling JavaFX Events: Processing Events | JavaFX 2 Tutorials and Documentation

  • MIDI filter plugin or event processing in GarageBand?

    Hi there. Just got the Yamaha EZ-AG (trainer/MIDI guitar) and it works with no setup in GarageBand. Pianos and strings (included software instruments) sound great. However, I do have a couple issues.
    #1. Touching the buttons/frets a split second before you pick the string produces low velocity notes that get recorded. This causes a stuttering, double note sound. The low velocity notes can be deleted in GarageBand's note edit window, but I'd like to find a software MIDI filter (an AU plugin?) to reject low velocity input (say a range of 1-30). If anybody knows of one, please let me know.
    #2. Instruments like strings and organs have infinite sustain and keep playing until you press your palm on on the metal sensor bar next to picking strings. Having to stop finger picking or struming to mute a note you don't want anymore disrupts rythem and mutes all sound, not just one string. Another cool MIDI plugin would limit sustain. Am I asking for too much? I can edit sustain after recording, but that's extra work and not really very fun.
    I am looking forward to recording using the EZ-AG and software instruments, but I need some MIDI filters or event processors first (and I'd like to avoid paying $150 for a hardware event processor). Or if Logic has this type of control built in, maybe I'll have to upgrade. Please point me in the right direction! Thank you!

    Thanks HangTime,
    Great advice! but I didn't get a chance to try it. I am using Logic Express 8 now and setting up a Transformer Object to filter out the low velocity notes. It works, but it is somehow disabling the mute bar on the EZ-AG and instruments like organs and strings keep sustaining once a note is picked with no way to stop them. I will keep researching. Thanks again for the reply!

  • Handheld Device Event handling in B1

    Hi Experts,
    I am using a Signature Handheld device and have integrated it with SAP B1 form. This is how it should work:
    I click a button "Get Signature" from B1 form.
    The activex gets activated and display a message "Please sign and Tap OK" on Signature Handheld device.
    The user signs on the Signture device and Tap "OK"
    I get the signature and save it.
    The problem is that when the user Tap OK on handheld, my event handler does not listen to it. I have declared all the event handlers in the B1 code but still in vain. I have done the same in a simple C# program and my event handlers are working fine.
    Here is my brief code snippet.
        public class Base
            public SAPbouiCOM.Application SBO_Application;
            public SAPbobsCOM.Company objCompany;
            public SAPbouiCOM.Form oForm;
            //public AxSIGPLUSLib.AxSigPlus oSigPlus;
            public SIGPLUSLib.SigPlus AxSP;
            public Base()
                if (SBO_Application == null)
                    SetApplication();
                    ConnectToCompany();
                    AddMenuItems();
                    //Set Event Handlers
                    SBO_Application.AppEvent += new SAPbouiCOM._IApplicationEvents_AppEventEventHandler(SBO_Application_AppEvent);
                    SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(SBO_Application_ItemEvent);
                    SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(SBO_Application_FormDataEvent);
                    SBO_Application.MenuEvent += new SAPbouiCOM._IApplicationEvents_MenuEventEventHandler(SBO_Application_MenuEvent);
                    AxSP = new SIGPLUSLib.SigPlus();
                    AxSP.PenDown += new DSigPlusEventsPenDownEventHandler(AxSP_PenDown);
                    AxSP.PenUp += new DSigPlusEventsPenUpEventHandler(AxSP_PenUp);
                    AxSP.TabletTimerEvent += new DSigPlusEventsTabletTimerEventEventHandler(AxSP_TabletTimerEvent);
            void AxSP_PenUp()
                //Pen Up event handler
            void AxSP_PenDown()
                //Pen Down event handler
    Is business one filtering the event? How can I listen to the activex control event?
    Hope to listen soon
    Thank you.
    Edited by: KK on Jan 14, 2011 1:09 PM

    the button2 in panel's constructor hides the one from Game class
    remove the "JButton" in front of "button2" in its creation statement and everything will work fine

  • Handling KeyEvent (filtering KeyEvents)

    I am writing a code to learn how KeyEvents behaves and how to manipulate and even filtering some events, for example, to filter the normal behaviour of keeping pressed a key that fires a KeyPressed -> KeyTyped -> KeyReleased Events, like pressing the 'a' button, and keeping it pressed, this fires the sequence expressed before as long as the button is keeped pressed.
    From the writing a KeyListener tutorial, (http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html), i've begin to make some tests and changing somethings around the code, but, i am not getting too far as I want to make the 'keeping pressed' behaviour as just one event, the KeyPressed, and only when the user release the key, the KeyReleased Event should be fired.
    In resume, i just want to make any keystroke to be mapped as a modifier key, such as Shift or Control, because i will need a program which only responds with a character to the user, when he releases the key and not just like the KeyTyped Event.
    I am not a programmer, i am just a psychology student who wants to learn about Java programming language and try to apply it to some ideas about how to gather information about the behaviour of people when it's method of interact (virtually) is the keyboard realm.
    Is there anything out there to help me on this trail of learning how to manipulate KeyEvents?
    Thanks in advance, and sorry for the poor english.

    Hi,
    This is a bit of a hack but works nicely. Substitute the keyPressed, KeyReleased and keyTyped methods with the following:
        /** Handle the key typed event from the text field. */
        public void keyTyped(KeyEvent e) {
        //    displayInfo(e, "KEY TYPED: ");
        /** Handle the key pressed event from the text field. */
        public void keyPressed(KeyEvent e) {
            if(key != e.getKeyChar()) {
                displayInfo(e, "KEY PRESSED: ");
                key = e.getKeyChar();
        /** Handle the key released event from the text field. */
        public void keyReleased(KeyEvent e) {
            displayInfo(e, "KEY RELEASED: ");
            key = ' ';
        }and declare a char as a class varible like this:
    // ... import statements here
    public class KeyEventDemo extends JPanel
                              implements KeyListener,
                                         ActionListener {
        JTextArea displayArea;
        JTextField typingArea;
        static final String newline = "\n";
        // This is where you'll put the char.
        char key;
        public KeyEventDemo() {
            super(new BorderLayout());
            // ... the rest of the class

  • Oracle CEP 10.3 Event Sink Issue

    Hi,
    I am use Oracle CEP 10g R3 for filtering RFID events from a ALE Processor. I have written the CEP query "INSERT INTO JMSEvent
                   SELECT epcTAG,deviceID,timestamp FROM JMSEvent RETAIN 100 EVENTS WITH UNIQUE epcTAG GROUP BY epcTAG,
                   deviceID, timestamp having count(*) >= 0 "
    The message onEvent() gets fired mupltiple times for the implemented class of EvenSink. Do I need to enable the Cache or make any necessay changes in the config side to make the query execute only once. Please let me know.
    Thanks in advance,
    Arijit De

    I think it should be out end of this month (June '10).

Maybe you are looking for

  • How to create a year view calendar

    Hi All, I have a requirement that the report has to display all the months that is January through December as a yearly view calendar. Please click here on this below link to see the yearly calendar view style [http://www.timeanddate.com/calendar/cus

  • My computer crashed  and lost my itunes, how do I transfer my library back on the itunes now I've downloaded it again

    My laptop recently crashed and I lost my itunes. Now I've downloaded itunes again I've managed to download all my purchased songs, how do I transfer all my albums that are still on my ipod??

  • Errors and fields disapering in a fillable PDF file

    I don't know much about Acrobat so forgive me if the problem below is just a lack of proper training and not a real problem but this is my issue: I have fillable PDF forms with digital signature fields on SharePoint 2010. People are filling it out an

  • Product wise credit limit

    My requirment is that how can we maintain Product credit material As we wants to keep a seperate credit  limit for one material out of 100 in same sales area and same group. and for same customer ? This is business requirmetn as we need to put these

  • Contact's numbers dumped with 6.1

    I updated my iPhone 5 to 6.1 today. It asked me if I wanted to sync my contacts with iCloud, I said yes. After the update finished I lost all my contact's phone numbers. All the contacts are still there, just no phone numbers. Any way to recover that