TabIndex vs. ComboBox conflict

I started a thread earlier on this, but I can't edit the main thread, so I'm starting a new one because I realize the problem is different.
In a nutshell, I have forms in my SWF.  I set the tabIndex for the items and everything works fine.
Then, I drop a ComboBox component into the movie and the tabIndex stops completely.  If I delete the ComboBox from the stage, the problem remains.  If I remove the ComboBox from the Library, everything works fine again.
Any ideas?  I'd appreciate them because I've found numerous threads throughout the interweb that start just like mine and are never answered.
Thanks in advance.

I'm not holding-out much hope based on the history of this issue being brought up in the forums.  I've discovered that the problem also has something to do with the fact that the input text fields were children of a movie clip.  So, I was doing this:
==============================
// Allow form fields to be tabbable
mcName.tabChildren = true;
mcEmail.tabChildren = true;
mcComments.tabChildren = true;
// Set the tab order
mcName.txtInput.tabIndex = 1;
mcEmail.txtInput.tabIndex = 2;
mcComments.txtInput.tabIndex = 3;
==============================
I ended-up deleting the input text fields from the movie clips and placing them in the root of the stage, changing the code to this:
==============================
// Set the tab order
txtName.tabIndex = 1;
txtEmail.tabIndex = 2;
txtComments.tabIndex = 3;
==============================
Now it works, but I had to do some code to get rid of the annoying lime green halo that wrapped the text fields when they were tabbed to:
==============================
txtName.onSetFocus = function() {
     text._focusrect = false;
==============================
I was able to achieve the same results here without only minor compromise.  I'd still like to hear about a solution to the original problem, though.

Similar Messages

  • Combobox plugin conflicts with jQuery menu

    Hi,
    First of all thanks for both authors of "Combobox" (http://oracleapexideas.blogspot.com.es/2012/06/combobox-plugin.html) and "jQuery menu" (http://blog.theapexfreelancer.com/2011/02/jquery-menu-apex-plugin) plugins! Both are great plugins!
    I have a conflict when I insert both plugins at the same page. The problem is, jQuery menu cease to work.
    I've recreated the situation under apex.oracle.com, the dropdown menu does not work anymore after inserting combobox plugin:
    http://apex.oracle.com/pls/apex/f?p=52892:4
    I can give further details if needed.
    Thanks in advance!

    jcoves wrote:
    I can give further details if needed.Can you share workspace details for below
    http://apex.oracle.com/pls/apex/f?p=52892:4

  • ColorPicker and ComboBox library conflict

    I need to use both components in an AS3 project, where components are created dynamically via script, but as I understand I need to put the components into the library anyway. First I add ColorPicker, then when I add ComboBox, I get a library conflict.
    If I choose to replace items, and comlipe the project the ComboBox works but ColorPicker starts producing errors, if I choose to use the existing items, the ComboBox produces errors when I click on it.
    Does anyone know how to make them work together?
    RESOLVED: The conflict was caused by a library movieClip that didn't belong to ColorPicker or ComboBox movieClips but had a matching name

    Well I was informed on another forum that I can not jar other jar files in my jar file (this sentence had to much 'jar' in it!). Or at least the class loader will not go search for the required libraries there.
    (the other forum is about ANT, so I did not cross post the same question ;)
    Basically I am working on a web application that can convert data into PDF using the Apache FOP library. Now I require to add the functionality to convert the data into RTF as well. The new beta version of Apache FOP can do this, but for some weird reason when deployed on JBoss it is not converting my data to PDF. (the current Apache FOP version is still in beta 0.92beta).
    Now therefore I decided to provide a temporary solution. That is use the old library when I need a PDF file, and use the new library when I need to RTF file. Then when a more stable FOP comes out I try to combine the two.
    (additional information on FOP: FOP has passed from a complete transformation from the last version to this one, therefore at a certain stage I will drop the old code and start working on the new one).
    Basically that is my problem in detail. I am trying to come out with solutions, and I do not want to believe it is a deadlock!
    regards,
    sim085

  • How do I limit typing in a ComboBox Dropdown list

    I’ve created a form and added a ComboBox which generated the code:
    this->DateList = (gcnew System::Windows::Forms::ComboBox());
    this->SuspendLayout();
    // DateList
    this->DateList->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12,
    System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
    static_cast<System::Byte>(0)));
    this->DateList->FormattingEnabled = true;
    this->DateList->Location = System::Drawing::Point(91, 7);
    this->DateList->Name = L"DateList";
    this->DateList->Size = System::Drawing::Size(121, 28);
    this->DateList->TabIndex = 0;
    this->DateList->SelectedIndexChanged += gcnew System::EventHandler(this,&Form1::DateList_SelectedIndexChanged);
    And then I added some custom code to add the items to the DateList
    for ( int x = numSnapShots - 1 ; x >= 0 ; x-- )
      String ^ item = gcnew String ( SnapShots[x]->dateStr );
        this->DateList->Items->Add(item);
    this->DateList->SelectedIndex = 0;
    All is working fine, I can select any Snapshot date I want from the list. 
    The problem is that I can also type anything I want in the ComboBox. 
    The dropdown of 12/31/2014 is in the list, but I can also type “Last Year” and of course the code doesn’t know how to handle that.
    What item in the combobox do I have the change to what to disable the user’s ability to type in the combobox?

    David,
    Maybe I didn’t look hard enough, but I could not find a way to create a C# WinForms project and include my existing C++ code as is and then interface the form front end to the existing C++ logic.
    I did find relatively easy ways for a C++ CLI Windows Forms Application to communicate with standard C++. 
    I had to limit the data types that I passed pack and forth, but the link up was relatively easy.
    I have externals in Form1.h which can then simply call the primary C++ interface:
    extern std::string str;
    extern std::string strPage;
    extern std::string strDate;
    extern
    void Initialize();
    extern
    int RebuildPage(int);
    Initialize() is called right after Initialize Component() to load all the data into memory and build the first HTML page.
    if (RebuildPage(7))    
    RefreshThePage();
    Exists for most of the button clicks and dropdown selections. 
    The number tells the C++ code what form control was clicked and a nonzero return tells the form to refresh the page. 
    Refresh the page is a simple Form1.h method that does just that, changes the labels on the form header and refreshes the HTML string to the new HTML data created by the C++ logic.
    void RefreshThePage(void)
    this->webBrowser1->DocumentText =
    gcnew String( str.c_str() );
    this->ViewLabel->Text =
    gcnew String( strPage.c_str() );
    this->DateLabel->Text =
    gcnew String( strDate.c_str() );
    This allowed me to perform all of the complex operation in the existing code with minimal changes, like changing the fprintf’s that created the original HTML files into str.append logic to pass the pages directly to the form.
    It’s true that all of my other code was batch style console applications, but the form front end was not totally difficult to learn and the simple fixes like David Lowndes just suggested makes the coding even easier. 
    Thanks again Dave.
    I created a very complex program to make visualizing mutual fund trends very simple. 
    The problem with the batch console application was that if I wanted to stop highlighting symbol ABC and wanted to start highlighting XYZ, I had to modify a data file by hand and then rerun the batch process to recreate the entire website on my local
    drive so I could not instantly see the change.  Using a form front end and building and displaying the pages interactively make that process instant.

  • Populating combobox in jsp page from javabean using jsp:getProperty tag

    hi,
    i am new to jsp, so i don;t know how to populate a combobox in jsp page with productid attribute from a javabean called Bid . i want to have a code to automatically populating combobox using the attribute value from javabean.
    please reply me.
    <jsp:useBean id="bidpageid" class="RFPSOFTWARE.Bid" scope="session" />
    <jsp:setProperty name="bidpageid" property="*"/>
      <table  width="50%" align="center" border="0">
       <tr>
        <td  width="30%" align="left"><h4><b><label>Date (dd/mm/yyyy) </label></b></h4> </td>
        <td><input type="text" name="date" size="11" maxlength="10" readonly="readonly" value="<jsp:getProperty name="bidpageid" property="date"/>"  > </td>
      </tr>
      <tr> <td > </td> </tr>
      <tr>
        <td  width="30%" align="left"><h4><b><label>ProductId </label></b></h4> </td>
        <td><select name="productid" tabindex="1" size="1" >
          <option  value="<jsp:getProperty name=bidpageid" />Sachin</option>
          <option value="Hello">Vishal</option>
        </select></td>
      </tr>  and the javabean for Bid is as follow :
    import java.util.Date;
    import RFPSOFTWARE.Product;
    public class Bid{
    private Product product;
    private Integer bid_id;
    private String description;
    private Date date= new Date();
    public Integer getBid_id() {
    return bid_id;
    public Date getDate() {
    return date;
    public String getDescription() {
    return description;
    public Product getProduct() {
    return product;
    public void setBid_id(Integer bid_id) {
    this.bid_id = bid_id;
    public void setDate(Date date) {
    this.date = date;
    public void setDescription(String description) {
    this.description = description;
    public void setProduct(Product product) {
    this.product = product;
    }

    No Sir,
    I think I did not explained clearly.what I try to say is I dont want to use JSTL.I am using only Scriptlets only.I can able to receive the values from the database to the resultset.But I could not populate it in Combobox.
    My code is :
    <tr>
    <td width="22%"><font color="#000000"><strong>Assign To Engineer</strong></font></td>          
    <td width="78%">
         <select NAME="Name" size="1">
    <option><%=Username%></option>
    </select> </td>
    </tr>
    in HTML
    and in Scriptlets:
    ps1 = con.prepareStatement
              ("SELECT Username FROM Users");
              rs2=ps1.executeQuery();
              System.out.println("SECOND Succesfully Executed");
              while(rs2.next())
                   System.out.println("Coming inside rs2.next loop to process");
                   Username=rs2.getString("Username");
                   System.out.println("Success");
                   System.out.println("The value retrieved from UsersTable Username is:"+Username);
    In the server(Jboss console) I can able to display the username but I could not populate it in the Combobox .
    Can you now suggest some changes in my code,Please..
    Thanks a lot
    With kind Regds
    Satheesh

  • Position a JSTL SELECT combobox to a specific row.

    I have two comboboxes. Each displays the same list of challenge questions. How do I position the second combobox on the second row of the combo box?
    <td>
    <% HashMap tempMap = ChallengeJspService.getAllChallengeQuestions();
    pageContext.setAttribute("tempMap", tempMap); %>
    <SELECT NAME="QUESTION1" tabindex="1" align="left">
    <c:forEach var="entry" items="${tempMap}">
    <OPTION VALUE='<c:out value="${entry.key}"/>'><c:out value="${entry.value}"/></OPTION >
    </c:forEach>
    </SELECT>
    </td>
    <% tempMap = ChallengeJspService.getAllChallengeQuestions();
    pageContext.setAttribute("tempMap", tempMap); %>
    <td>
    <SELECT NAME="QUESTION2" tabindex="1" align="left">
    <c:forEach var="entry" items="${tempMap}">
    <OPTION VALUE='<c:out value="${entry.key}"/>'><c:out value="${entry.value}"/></OPTION >
    </c:forEach>
    </SELECT>
    </td>

    How about a <c:if> or <c:choose> to check for a condition then? You'll have to work out the kinks, I've not had much experience with JSTL!
        <c:forEach var="entry" items="${tempMap}">
        <c:choose>
              <c:when test="${condition == 'whatever' }">
                <c:set var="makeSelected" value="selected" /t>
              </c:when>
              <c:otherwise>
                <c:set var="makeSelected" value=""/>
              <c:when>
        </c:choose>
             <OPTION <c:out value="${makeSelected}"/> VALUE='<c:out value="${entry.key}"/>'><c:out value="${entry.value}"/></OPTION >
        </c:forEach>Edited by: nogoodatcoding on Oct 1, 2007 10:04 PM

  • Tabindex fails to work when using any adobe component!

    Hello,
    Does anyone know why the tabIndex does not work as soon as
    you drag a adobe component to
    the stage. (Like a buton, combobox, checkbox ..)
    For example if you have to input text fields, you can you the
    tab key to switch from the first textfield
    to the next. But it does not work anymoer when you use a
    component like a comobox, or button
    Regards,

    Hi -  Is dns lookup set to all clients in Server.app DNS ?
    To set logging for dns:
    #look for the block below and change info to debug
    #Ctrl x then Y then <ret>
    #Stop and Start DNS in server.app or $ sudo serveradmin stop dns / $ sudo serveradmin start dns
    #log is /Library/Logs/named.log and is available in Console.app
    $ sudo nano /etc/named.conf
    logging {
              channel "_default_log" {
                        file "/Library/Logs/named.log";
                        severity info;
                        print-time yes;
              category "default" {
                        "_default_log";
    Good luck!

  • NumericStepper/ComboBox problems

    Hello. I have a learning interaction that utilizes
    NumericStepper component instances as well as ComboBox instances.
    The file was working fine until yesterday when all of a sudden the
    text field that displays users' selections no longer does so. Any
    ideas about how these components suddenly "broke"? Is there a way I
    can fix this?
    Thanks

    watch for duplicate instance names and watch for component
    conflict where one component causes a problem with another and
    watch for an embedded font issue.

  • Combobox and Flash player version 9,0,16,0

    Does anybody know that if you use a combobox component in
    flash, it creates conflict with specific sub version of flash
    player like: 9,0,16,0 and does not load properly and the flsh file
    is stuck on the first frame of the movie.
    The file runs ok on sub version like: 9,0,45,0
    Any suggestions to fix this problem?

    See this cool mp3 xml player with visualization, playlist and
    skins. Fully customisable. Vector.
    http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851

  • Two mxml component share same as combobox

    Hi all,
         I write custom Combobox component. At the first mxml component call Main.mxml , I have added it. Such as:
    ---- Main.mxml component---
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" xmlns:component="component.*" >
    <mx:VBox>
         <component:AutoSuggest id="stock" dataProvider="{StaticDataCollection.stockArray}" autoCompleteSuggest="true"               styleName="
    myComboBox" width="65" tabEnabled="true" tabIndex="1" change="upperLetter(event)"/>
    </mx:VBox>
    <mx:VBox
    >
    <component:TradingDiary id="tradingDiary" catalogueDetailList="{catalogTotalLst}" selectIndex="{catalogIndex}"/>
    </mx:VBox>
         From above code, I also use TradingDiary component, and at this component, I also used combobox AutoSuggest component such as:
    ---- TradingDiary.mxml component---
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" xmlns:component="component.*"> 
         ....<mx:VBox id="vbBelongStockName" width="155" paddingTop="5">
     <component:AutoSuggest id="stockCode" dataProvider="{StaticDataCollection.stockArray}" autoCompleteSuggest="true"styleName="
    myComboBox" width="65" change="upperLetter(event)"/>
     </mx:VBox>
          And now, when I operate to this combobox, both combobox at Main.mxml and  TradingDiary.mxml have same action ? How I solve my problem.
         And now, when I operate to this combobox, both combobox at Main.mxml and  TradingDiary.mxml have same action ? How I solve my problem.

    Hi quoc_thai,
    I think since you are giving the same dataProvider StaticDataCollection.stockArray for both of your components and also you are calling the same function on change event ...change="upperLetter(event)". Are you applying the same logic in both the function in your two components...??
    I think StaticDataCollection.stockArray gives you a reference to the static stockArray(Array) of your StaticDataCollection class. Since you are giving the same dataProvider to both of your components I suspect you are facing this problem.
    Thanks,
    Bhasker

  • Combobox glitch

    I ran across a bug using the combobox change event listener
    with an Alert.show call.
    The movie runs into a recursive loop that is caught and stops
    the movie.
    1) add a combobox to the stage and name it 'combobox' - add
    two labels using the parameters tab
    2) drag an alert instance from the component panel to the
    library
    3) add the code below to your root timeline
    4) compile
    5) now change the value of the combobox
    I think for some reason, the Alert popup conflicts with
    Focus. This possibly triggers the change event listener, causing a
    recursive loop with no sentinel.
    Has anyone else run into this or does anyone know how to work
    around it??

    Hi MikeDoh,
    you need to use one more listener for using alert. combobox
    onEnterframe causing error when we select any data.
    have a look attached code.

  • Crystal Report 2008 SP3 and BO XI 3.1 conflict

    Hi every body,
    We have a BOE system:
    BO XI 3.1
    Oracle db 10g
    All running successful and can create some types of WebI report.
    But we also want reports with Crystal Report.
    1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
    2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
    3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
    We set rights for Oracle DB user again. But still error: cannot fetching.
    4> We searched the solution for this problem on the internet. But not worked, no answer.
    Can somebody help me bring back the BOE system state again ? pls   :"<
    T______T

    Hi Paul,
    I hope I read your question right!
    Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
    Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
    Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
    Regards
    Rim Geurts

  • OIM 9.1.0.2 - User group permission conflict issue

    Hi Gurus,
    IHAC who have faced a strange behavior about permission conflict.
    User has been assigned to a user group (ANALISTA DRSI) who have permission to disable resource of the users he administrates. The user group has been assigned to resource's administrator.
    The same use has been assigned to other user group (ANALISTA ADM DRSI) who have other permission. The user group has been not assigned to resource's administrator.
    If the user has been only assigned to ANALISTA DRSI user group the user is able to see records on Rogue Account report. If the customer has been assigned to both ANALISTA DRSI and ANALISTA ADM the user is not able to see the record on Rogue Account report. He got a display error message (You do not have permission). Both user groups have the Report menu item assigned.
    My question: if the customer is assigned to a user group who have permission to see the reports, should not the user is able to see the report even though he is also into the other group who do not have permission?
    Is there conflit in the OIM???
    Any tip will be very appreciated.

    Orgnaization > Manage > Select Org in which users are getting created > Administrative Group (Drop Down) > Select Group for which users are not coming.

  • I have a macbook 4.1 with osx10.6.8 and just added memory (2gig) so I could sync my new Ipome and Ipad.  and Ipad. Now I'm told I need to upgrade my operating system. The apple store gave me conflicting instructions. Any suggestions? Thanks

    I have a macbook 4.1 with osx10.6.8 and just added memory (2gig) so I could sync my new IPhone and Ipad. Now I'm told at the apple store that I need to upgrade my operationg system. They said they couldn't help and gave me conflicting advice about what to do. Any ideas? Thanks you!

    There are three models of MacBook that comprise the 'macbook 4.1' category, and each of them a little different; however other than 'macbook 4.1' the other thing they have in common is they all are considered Early 2008. Two are white, one black, polycarbonate case, Core2Duo 2.1GHz, 2.4GHz white, 2.4GHz black.
    So if you can determine which one, if any of these, is the model build year and spec you have, that would be handy. Did you tell whoever you spoke to the serial number of your computer, so they'd know by looking up the specs to see what the supported maximum RAM upgrade capacity was, and other minimum requirements to make any upgrade to Mac OS X 10.6.8 at all?
    If you have the serial number you can do a lookup to 'indentify by serial number' online, and use that information to determine if the computer needs even more RAM to take it past the minimum for Snow Leopard 10.6.8 and then get it ready to upgrade (via paid download from App Store, Snow Leopard gets you that far) and see what the next supported OS X full upgrade would be for the hardware limitations on that old MacBook.
    If your MacBook IS a 4.1 build, the highest OS X it could run if it has the 2.4GHz cpu, is Lion 10.7.5. That would be an upgrade from the App store, available to OS X 10.6.8+ computers that access it online. And I kind of doubt how supported a newest iphone etc may be in lion.
    everymac.com has a fair amount of information across many years of Apple computing hardware...
    Here's the three MacBooks that share the 4.1 designation; first shipped with as much as 1GB RAM upgrade and the other two only a 2GB RAM*, (one white/one black color) according to this information...
    • MacBook "Core 2 Duo" 2.1 13" (White-08) 2.1 GHz Core 2 Duo (T8100)   
    • MacBook "Core 2 Duo" 2.4 13" (White-08) 2.4 GHz Core 2 Duo (T8300)  
    • MacBook "Core 2 Duo" 2.4 13" (Black-08) 2.4 GHz Core 2 Duo (T8300)
    ...as seen here: http://www.everymac.com/systems/apple/macbook/index-macbook.html
    *But according to MacTracker (free: download database) http://mactracker.ca
    these MacBooks can use more RAM in aftermarket specs as much as:
    Maximum Memory
    6.0 GB (Actual) 4.0 GB (Apple)
    Memory Slots
    2 - 200-pin PC2-5300 (667MHz) DDR2 SO-DIMM
    To get more information use a service such as this...
    •identify by serial number:
    http://www.powerbookmedic.com/identify-mac-serial.php
    The Apple? store or whoever you talked, to may have been as accurate as they could be without further research. Could be you may have a newer or older MacBook, which would change whatever later OS X it could run past 10.6.8. And to go past Snow Leopard, you need to download the last bits for 10.6.x to be able to go and get any later upgrade. The ones that may let a newest iphone or ipad work with it, are past SL10.6.8
    Anyway, as you further verify the model build year and configuration specifications, report back.
    Good luck & happy computing!

  • Use ComboBox TableCellEditor  - values are not saved to the table model

    Hi,
    I got a combobox cell editor that uses to edit one of the columns.
    And i got an ok button that uses to collect the data from the table and save it to the db.
    In case i started editing of a cell and the editor is still displayed- if i will click on the button the data that will be colected from the table model will not contained the updated value in the cell editor.
    In this case the user think his changes were saved but the last updated field is not updated.
    Is this a bug i got in the cell editor or this is the normal behaviour?
    Can it be fixed? (So that if the cell is in the middle of editing the value that will be saved is the last value that was selected).
    public class PriorityCellEditor extends StandardComboBox implements TableCellEditor {
        private boolean isEditMode=false;
         * A list of eventlisteners to call when an event is fired
        private EventListenerList listenerList = new EventListenerList();
         * the table model
        public StbAreaClusterPriorityCellEditor(boolean isEditMode) {
            super(StbAreaMapper.clustersPriorities);
            setEditMode(isEditMode);
            setEditable(false);
            this.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
            setAlignmentX(Component.LEFT_ALIGNMENT);
        public boolean isEditMode() {
            return isEditMode;
        public void setEditMode(boolean editMode) {
            isEditMode = editMode;
            setEnabled(editMode);
        public Component getTableCellEditorComponent(JTable table, Object value,boolean isSelecte, int row, int column) {
            int selectedIndex;
            if (isSelecte) {
                setForeground(table.getSelectionForeground());
                setBackground(table.getSelectionBackground());
            } else {
                setForeground(table.getForeground());
                setBackground(table.getBackground());
            if(value instanceof String){
                selectedIndex=StbAreaMapper.mapGuiPriorityDescToGuiCode((String)value);
                setSelectedIndex(selectedIndex);
            return this;
        public void cancelCellEditing() {
            fireEditingCanceled();
        public Object getCellEditorValue() {
            return getSelectedItem();
        public boolean isCellEditable(EventObject anEvent) {
            return isEditMode;
        public boolean shouldSelectCell(EventObject anEvent) {
            return false;
        public boolean stopCellEditing() {
            fireEditingStopped();
            return true;
         * Adds a new cellEditorListener to this cellEditor
        public void addCellEditorListener(CellEditorListener l) {
            listenerList.add(CellEditorListener.class, l);
         * Removes a cellEditorListener from this cellEditor
        public void removeCellEditorListener(CellEditorListener l) {
            listenerList.remove(CellEditorListener.class, l);
         * Notify all listeners that have registered interest for notification on
         * this event type.
         * @see javax.swing.event.EventListenerList
        protected void fireEditingStopped() {
            // Guaranteed to return a non-null array
            Object[] listeners = listenerList.getListenerList();
            // Process the listeners last to first, notifying
            // those that are interested in this event
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == CellEditorListener.class) {
                    ((CellEditorListener) listeners[i + 1]).editingStopped(
                            new ChangeEvent(this));
         * Notify all listeners that have registered interest for notification on
         * this event type.
         * @see javax.swing.event.EventListenerList
        protected void fireEditingCanceled() {
            // Guaranteed to return a non-null array
            Object[] listeners = listenerList.getListenerList();
            // Process the listeners last to first, notifying those that are interested in this event
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == CellEditorListener.class) {
                    ((CellEditorListener) listeners[i + 1]).editingCanceled(new ChangeEvent(this));
    }

    Try this
    yourTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);

Maybe you are looking for