JComboBox does not fire Event

JCombobox does not fire any event which should be send when typing on the keyboard. (Keypressed, keyReleased, keyTyped, caret-operations)
Is there a known bug?
I am using Netbeans 3.6 RC1 with Java 1.4.2_04 under WindowsXP.
Thanks for your help
Klaus

myComboBox.getEditor().getEditorComponent().addKeyListener()

Similar Messages

  • Accordion load event does not fire when accordion and load event created dynamically using actionsript

    I cannot get the accordion load event to fire when I have
    created the accordion and load event using actionscript . Here is
    some sample code:
    createClassObject(mx.containers.Accordion, "acc",
    getNextHighestDepth());
    acc.createSegment(mx.containers.ScrollPane, "sc1", "Number
    One");
    acc.createSegment(mx.containers.ScrollPane, "sc2", "Number
    Two");
    var accLis=new Object();
    accLis.load=function(evtObj) {
    trace("load");
    accLis.change=function(evtObj) {
    trace("change");
    acc.addEventListener("load", accLis);
    acc.addEventListener("change", accLis);
    I made sure to add the ScrollPane and Accordion components
    to my library. So the load event does not fire, but the change
    event does fire. And through further testing the other events do
    not fire, including the draw event. Can anyone help? The only time
    I can get the load event to fire on an accordion is if I put an
    accordion on stage, select it and add the actionscript to the
    objects actions like shown below:
    on(load) {
    trace("load");
    on(draw) {
    trace("draw");
    Can somebody help? Unfortunately I must create all my
    components dynamically. Thank you in advance.

    I'm having this issue also...but only apparently with Internet Explorer and only on some machines...ideas?

  • Flash CS4 onPeerConnect does not fire

    Hi
    I tryed to do Flex example for simple chat (p2p) with Stratus at Flash CS4 IDE
    (adapted it of course) but onPeerConnect does not fire.
    Can you take a look at my code ?
    What's wrong with it ?
    package {
        import flash.events.*;
        import flash.net.*;
        import flash.display.*;
        import flash.media.*;
        public class stratusTest2 extends Sprite {
            private const SERVER_ADDRESS:String="rtmfp://stratus.adobe.com/";
            private const DEVELOPER_KEY:String="a9fb14e5b040800e8327ab51-37f33907d0c1/";
            private var nc:NetConnection;
            private var myPeerID:String;
            private var farPeerID:String;
            // streams
            private var sendStream:NetStream;
            private var recvStream:NetStream;
            private var VideoDisplay:MyVideoDisplay;
            private var FAR_PeerVideoDisplay:farPeerVideoDisplay;
            private var VidDisplay:Sprite;
            public function stratusTest2(){
                addEventListener("addedToStage",initThis);
            private function initThis(e:Event){
                VidDisplay=new Sprite();
                addChild(VidDisplay);
                connectToStratusBTN.addEventListener("mouseDown",initConnection);
                initSendStreamBTN.addEventListener("mouseDown",initSendStream);
                initReceiveStreamBTN.addEventListener("mouseDown",initRecvStream);
                sendDataBTN.addEventListener("mouseDown",sendDataBTNPressed);
            private function initConnection(e:MouseEvent){
                if (MY_peerIDText.text) {
                    farPeerID=MY_peerIDText.text;
                nc=new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS,ncStatus);
                nc.connect(SERVER_ADDRESS+DEVELOPER_KEY);
            private function ncStatus(event:NetStatusEvent):void {
                INF.appendText("ncStatus: "+event.info.code+"\n");
                trace(event.info.code);
                myPeerID=nc.nearID;
                MY_peerIDText.text=myPeerID;
            private function initSendStream(e:MouseEvent){
                trace("initSendStream");
                INF.appendText("initSendStream\n");
                sendStream=new NetStream(nc,NetStream.DIRECT_CONNECTIONS);
                sendStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                sendStream.publish("__media");
                var sendStreamClient:Object=new Object();
                sendStream.client=sendStreamClient;
                sendStreamClient.onPeerConnect=function(callerns:NetStream):Boolean{
                    farPeerID = callerns.farID;
                    trace("onPeerConnect "+farPeerID);
                    INF.appendText("onPeerConnect "+farPeerID+"\n");
                    return true;
                //VideoDisplay=new MyVideoDisplay(VidDisplay);
                //var camera:Camera=Camera.getCamera();
                //VideoDisplay.attachCamera(camera);
                //sendStream.attachCamera(camera);
            private function initRecvStream(e:MouseEvent){
                recvStream=new NetStream(nc,farPeerID);
                INF.appendText("start receiving from "+farPeerID+"\n");
                recvStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                recvStream.play("__media");
                recvStream.client=this;
                //FAR_PeerVideoDisplay=new farPeerVideoDisplay(VidDisplay);
                //FAR_PeerVideoDisplay.attachStream(recvStream);
            public function receiveSomeData(str:String){
                txtReceiveData.text=str;
            private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
            private function netStatusHandler(event:NetStatusEvent):void {
                trace("netStatusHandler: "+event.info.code);
                INF.appendText("netStatusHandler: "+event.info.code+"\n");
                trace(event.info.code);
    i have 3 input texts: MY_peerIDText, txtSendData, txtReceiveData
    When i press connectToStratusBTN i get ID after than i open another
    browser window with the same swf and paste this ID into MY_peerIDText
    After connection i press initSendStreamBTN in first swf (it is 1st browser page)
    and i press initReceiveStreamBTN in 2nd swf
    After that iwrite down some text in txtSendData TextField (in 1st browser page) and press sendDataBTN
    Nothing happens

    this function doesn't work correctly:
    private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
    because you send not String, but link to the txtSendData.text, which is empty in another peer.
    So, solution is following (not the one, but for example):
    private function sendDataBTNPressed(e:MouseEvent){
             var sendString:String = "";
            sendString+=txtSendData.text;
            sendStream.send("receiveSomeData",sendString);

  • DidSelectRowAtIndexPath does not fire in SDK 3.0

    Hi everyone!
    I have iPhone application that works well in SDK 2.2.1 But in SDK 3.0 event didSelectRowAtIndexPath (as well as willSelectRowAtIndexPath) in MyTableViewController does not fire.
    I've downloaded "TheElements" sample application and it works fine on 3.0. I figured out that there is a difference in UITableViewCell initialization. So I removed old initWithFrame method and created new one initWithStyle. But no luck. I put breakpoint inside didSelectRowAtIndexPath event but debugger does not stop there.
    What other changes should I make to fire didSelectRowAtIndexPath event?
    Any help will be appreciated.

    romex wrote:
    Removing touchesBegan and touchesEnded methods from custom cell class resolved the problem.
    When we were working on this last June, do you remember if the methods you removed had been passing the events to super? I thought we covered that, but I don't see it anywhere in the thread. In other words, did the methods look like the example below?
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [super touchesBegan:touches withEvent:event]; //<-- pass to UITableViewCell
    // cell does something else here
    Or, was anything like the following tried?:
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [[self superview] touchesBegan:touches withEvent:event]; //<-- pass to super view
    // cell does something else here
    I still think something about the responder chain must have changed in 3.0, but it seems like one or both of the above methods should still work. If neither of them gets the touches where they need to go, maybe nextResponder isn't the same as superview(?). In that case you might try this:
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [[self nextResponder] touchesBegan:touches withEvent:event]; //<-- pass to next responder
    // add extra sanity check
    NSLog(@"superview=%@ nextResponder=%@", [self superview], [self nextResponder]);
    // cell does something else here
    Hope the above sheds more light than confusion!
    - Ray

  • ON-LOGON does not fire in Form B, called from Form A

    We have a situation like this. We are using Forms (Forms [32 Bit] Version 10.1.2.0.2 (Production)).
    We migrated this application to Forms 11.2.0.1.0. Problem is that the ON-LOGON trigger does not fire in the 2nd level forms. Our application work like this.
    (a.) User double-clicks URL icon.
    (b.) Form A is opened without asking for un/pwd. We put a NULL; in the ON-LOGON of A.fmb.
    (c.) This is the main form of the application. This has a canvas with 6 buttons. Each button will launch it's own separate application with it's own menu.
    (d.) Now user presses button in A. This launches Form B. We use
    Run_Product(FORMS, 'B', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);              (e.) Now, in Form B, in the ON-LOGON trigger we have put code to show the logon screen and login to the DB.
    Problem is, this works in 10g Forms. But we had to replace the RUN_PRODUCT with a CALL_FORM after migrating to 11g since RUN_PRODUCT is not supported in 11g.
    Problem is that when you use CALL_FORM to call Form B, the ON-LOGON of the Form B does not fire. We tried OPEN_FORM and NEW_FORM with different parameters, but the behavior is the same. i.e. ON-LOGON does not fire.
    What is the solution or workaround for this please.
    Edited by: user12240205 on Oct 15, 2012 4:50 AM
    Edited by: user12240205 on Oct 15, 2012 4:52 AM

    Michael Ferrante (Oracle) wrote:
    If you need to open another form you should use CALL_FORM, OPEN_FORM, or NEW_FORM. In these cases, ON-LOGON will not automatically fire because the connect info is passed from the calling form. If you need to login from the called form then you need to need to programatically cause that to occur. Refer to the LOGON and LOGON_SCREEN built-ins in the Builder help for more info. You can fire these from almost any trigger you like, for example in a WHEN-NEW-FORM-INSTANCE trigger or where ever is appropriate for you application.Michael, we tried using the CALL_FORM, OPEN_FORM & NEW_FORM.
    Also, there is NO connection to the DB, when B is called from A since we don't login to the DB in A (ON-LOGON has NULL;).
    So, if there is no DB connection when B is called, shouldn't the ON-LOGON in B fire?
    We tried firing the LOGON_SCREEN and LOGON in the WHEN-NEW-FORM-INSTANCE. But, for some reason, the we don't get the menu (we get a menu not found error). We tried correcting the paths and other things but still no solution.

  • Ios 7 calendar does not show events 2 years in the future

    Why does ios 7 calendar does not show events 2 years in the future?
    I've entered the events more than twice and it all shows up in the OSX calendar but not on my iphone.

    Just tested it works even 3 years ahead.
    Tap Calendars (bottom, middle) is All iCloud selected (tick mark)?

  • Reset does not fire NavigationEvent - is this intended behaviour?

    Hi
    I realized that the ViewObject.reset() method does not fire a NavigationEvent. I think that resetting a current row is some sort of navigation which has some effekt on dependent objects (eg. detail views will be cleared). So I'd have expected that reset() should file a NavigationEvent.
    Can anyone explain me: Is this intended behaviour? Why?
    Thanks
    Frank Brandstetter

    >System Preferences>Mission Control>Show Desktop...should be F11:
    If not, change it.

  • HT2513 I have a message that I cannot eliminate. "The Anniversary calendar does not support events". I cannot find any event associated with the anniversary calendar. In fact I have deleted the anniversaries from my calendar. any ideas?y

    I have started to use ICal and yesterday started to receive a message "The Anniversary valendar does not support events". I have searched my calendar events and cannot find any event associated with the anniversary calendar. I have turned off the anniversary calendar and deleted fro my calendar and the message still occurs. The MacBook Pro that I sync does not have this message. Even when ICal is turned off the message still occurs. Any ideas?

    I have started to use ICal and yesterday started to receive a message "The Anniversary valendar does not support events". I have searched my calendar events and cannot find any event associated with the anniversary calendar. I have turned off the anniversary calendar and deleted fro my calendar and the message still occurs. The MacBook Pro that I sync does not have this message. Even when ICal is turned off the message still occurs. Any ideas?

  • Setter/getter does not fire

    Hi,
    in a class CSampleEntity, the setter function
    public function set title( aValue:String ):void {
    this.setKV( CSampleEntity.PROP_TITLE, aValue );
    does not fire, while setKV() in CSampleEntity's super-class
    defined as
    protected function setKV( key:Object, value:Object ):void {
    _entityData[ key ] = value;
    _dirtyFlag = true;
    and _entityData is defined in CSampleEntity's super-class
    like this:
    // The values of this entity
    private var _entityData:Object = undefined;
    Could someone provide insights, why this call
    var sample:CSampleEntity = new CSampleEntity();
    sample.title = 'Hello World'; // << THIS does not fire
    the setter
    does not fire the 'set title' setter?
    Actually, the Flex AIR debugger show an object of class
    CSampleEntity with a property 'title' - but the setter does not set
    this property!

    "justria" <[email protected]> wrote in
    message
    news:gnkhoe$sk4$[email protected]..
    > Hi,
    >
    > in a class CSampleEntity, which gets instantaiated
    dynamically using
    >
    > public function createEntity( anObjClass:Class
    ):TAAbstractEntity {
    > var obj:TAAbstractEntity = null;
    > obj = new anObjClass();
    > return obj;
    > }
    >
    > the setter function
    >
    > public function set title( aValue:String ):void {
    > this.setKV( CSampleEntity.PROP_TITLE, aValue );
    > }
    >
    > does not fire.
    >
    > Could someone provide insights, why this call
    >
    > var sample:CSampleEntity = stm.createEntity(
    CSampleEntity ) as
    > CSampleEntity;
    > sample.title = 'Hello World'; // << THIS does not
    fire
    >
    > does not fire the 'set title' setter?
    >
    > Actually, the Flex AIR debugger show an object of class
    CSampleEntity with
    > a
    > property 'title' - but the setter does not set this
    property!
    So, if you have
    public function set title( aValue:String ):void {
    trace('aValue');
    You don't see the value traced out?

  • Error message: "The Birthdays calendar does not support events."

    Error message: "The Birthdays calendar does not support events." pops up 100 times..probably as many times as I have birthdays in my contacts....very irritating...

    Well mother of christmas Apple, what the **** is this?! Please help us get this off the screen

  • 2 Create bindings in 1 page, second Create event does not fire (ADF)

    I have an ADF, Struts, JSP master detail page and within that page there is a Create binding on the master view and this works fine.
    I added the detail list to the page and added a Create binding for this view underneath the list.
    The second create event does not seem to fire at all, when the button is clicked the page gets submitted and the request forwards to the correct page to display the input form but the contents of this form is the current selected detail row in the view and not a new row.
    I have created 2 new pages to test the detail view... I put a link in the original page to a test list page that displays the detail list and included a Create binding in this page which links to a test create page and this works fine.
    Has anyone else had this problem?
    Can there be only 1 Create event binding in a single page?
    Is there a way round this other than having to have my detail page on a seperate page?
    The Jdeveloper version I am using is as follows...
    JDeveloper Version 10.1.2.0.0 (Build 1811)
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    java.version     1.4.2_04
    Thanks
    Al

    Can you do something like this?
    1. Look at the uimodel for your page and find the Create that is the action binding for the detail. Name it something like: CreateDetail
    2. Change the button on the page to create a detail to be named: event_CreateDetail.
    3. Change the forward from Master/Detail browser page to: CreateDetail
    Can you provide more details on:
    1. What are the names of the create bindings for master, then detail?
    2. What is the name of the forwards, that is the struts-config.xml action definition for this page?
    I hope this helps!

  • PO workflow process raises event but subscription does not fire

    Hi:
    We are sending POs electronically in XML (11.5.10.2). The PO reaches the supplier correctly. The workflow process to send the PO to the supplier completes successfully. The workflow diagrammer shows that the process fully completes. The last task in the standard process raises an event called oracle.apps.po.event.xmlposent. By default this event has no subscriptions, but I created a subscription that will call a custom workflow process. In testing, I can manually raise this event, and my custom process works. But when the full process runs and completes my custom process does not run. Again, according to the workflow diagrammer, the event in question gets raised. I find no evidence of the event in question in an queue. Why would the process complete, including the step to raise the event in question, but I find no trace of it.
    Can anyone suggest additional debugging steps or a solution?
    Thank you!

    Hi,
    I have answered your duplicate post on the [WorkflowFAQ forum|http://smforum.workflowfaq.com/index.php?topic=1045.0].
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Commandbutton inside popup does not fire action/actionlistener methods

    Hi,
    I am using 11.1.1.4.0
    I have a page and on click of a button on that page, I launch a popup (using showpopupbehaviour, triggertype="click") which has a region (taskflow) inside it. The region is within a af:panelWindow inside the popup. I have also added 2 commandbuttons in the popup. Everything works fine, but the when the popup is visible, and I click the 2 command buttons on the popup, it does not execute the action method (or actionListener) method that I defined for those buttons. Any idea why this must be happening?
    Code for the popup:
    <af:popup id="popup1" contentDelivery="lazyUncached" binding="#{BackingBean.popup}">
    <af:panelWindow modal="true"
    title="#{pageFlowScope.tabContext.outcomeForPopup}"
    id="paWin12"
    helpTopicId="TOPICID_ALL"
    resize="on">
    <af:panelTabbed id="pt123" position="above"
    inlineStyle="width:650px; height:650.0px;">
    <af:showDetailItem id="sdi0"
    text="#{pageFlowScope.tabContext.outcomeForPopup}"
    stretchChildren="first"
    accessKey="0"
    immediate="true">
    <af:region value="#{bindings.r0.regionModel}"
    id="r1"/>
    </af:showDetailItem>
    </af:panelTabbed>
    <af:commandButton text="First"
    action="#{BackingBean.firstClick}"
    actionListener="#{BackingBean.firstClick}"
    id="cb3">
    </af:commandButton>
    <af:commandButton text="Second"
    action="#{BackingBean.secondClick}"
    actionListener="#{BackingBean.secondClick}"
    id="cb4">
    </af:commandButton>
    </af:panelWindow>
    </af:popup>
    In the page definition of the main screen, I have this taskflow added
    <taskFlow id="r0" Refresh="ifNeeded" activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    taskFlowId="#{pageFlowScope.tabContext.taskFlowIdForPopup}">
    <parameters>
    <parameter id="outcome"
    value="#{pageFlowScope.tabContext.outcomeForPopup}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    <parameter id="tabContext" value="#{pageFlowScope.tabContext}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    </parameters>
    </taskFlow>
    Thanks
    Vishal

    Hi friend ,
    1,Inside the pop up u give two command buttons and double click the one button and it asking for create one bean.
    2.U create the bean and inside u give coding like
    public class popvisible
    public popvisible()
    public String page1naviagetion()
    // Add event code here...
    return "popTouser";(This is is Control flow case name it will go to another JSPX page.)
    public String page2navigation()
    // Add event code here...
    return null;
    }

  • Icloud calendar does not sync events

    Can't seem to find any information on why Calendar does not sync with iCloud. I get the message, "Loading more events..." but no events ever show up. Not sure how to proceed to get the syncing working.

    Try force-closing the calendar app on your phone: double-tap the home button, locate Calendar in the list, swipe up on the image above the app icon to close it, tap the home button again.  Now reset the phone by holding the power and home buttons at the same time until you see the Apple logo and release.  Test your calendar again.  Any change?

  • Double click (or 2 finger touch) does not open event in iPhoto

    When I double click or 2 finger touch on an event, it does not open the event. instead, it offers "Play slideshow" or "Make key photo". Also, when within an album, a double click does not enlarge the thumbnail. I am using iPhoto 11 and OS X 10.8.4 and the track pad.

    That is not the normal way to double click on a track pad (although you can change setting in the trackpad control panel)
    Double click is two (double) clicks in quick succession
    a two finger click is "right Click" and the menu you are getting is the right click menu
    LN

Maybe you are looking for