Event problem with SDK 2005

Hi,
I want to catch the et_form_unload event of my form to validate if I want to block the form from closing.
The problem is : we should use the et_FROM_UNLOAD event but if I set bubbleevent to false the form close anyway. (event if beforeaction = true)
But if I use et_FORM_CLOSE everything works fine except that the et_FORM_CLOSE event is "deprecated in UI API 2004" and in 2 realeses my addon wil not work.
Any hints ?

Hi,
I have seen the comment about et_FORM_CLOSE in the UI API Help for 2004 version...
But in 2005 SP01 it is already there and it is not anymore marked as deprecated.
There is even a comment about it in the list of changes. Pay attention this comment refers to <b>2005 SP01</b> version:
<i><b>Topic</b>
Added before event to close event. Ignore the bubble event setting in the after event.
<b>Description</b>
In this event SAP Business One will throw also before event and not only after event. Due to the fact the SAP Business One now is sending before event the bubble event setting in the after event will be ignore and the user will need to set the bubble setting like in the other type of event in the before.
<b>Impact for Add-Ons</b>
In previous versions only 'after' event was sent and the bubble flag was used. From 2005 version SAP Business One will ignore the bubble flag in after event. SAP Business One will send before event as well as after event and will use the bubble flag only in before event.
<b>Possible Solution</b>
1. check all place in the code on which close event were used and verify that behavior is kept
2. check that this event handled only once (not 2 for the before and after)</i>
I think it will not be deprecated, but to be sure please create a message for support to have it confirmed.
Hope it helps
Trinidad.

Similar Messages

  • Problem with MSSQL 2005 maintenence plan

    Hi,
    I am facing a problem with MSSQL 2005 maintenance plan. I created a plan which takes full backup of all the db’s and in the same plan I added a clean up task which is suppose to clean all the files older that 1 day.
    To gain compression I converted this plan to lite speed. Now the problem is Backups are running fine but the clean task is not cleaning old files. The job runs fine without fail.
    Any body who has faced similar problem please let me know if have the solution ?
    Thanks in advance.
    Kishan

    Hi in this case  my date format used in backup file getutcdate() format but
    to delete files i am using this script
    Declare @sql varchar(250),@retention tinyint
    set @retention=0
    set @sql='Exec master.dbo.xp_cmdshell ''Del E:\SQL2005\Backup\*' + convert(varchar(15),getdate()-@retention,120) + '*.bak'''
    Exec (@sql)
    i also tried with getutcdate()
    but it gives the following error.
    Could Not Find \\E:\SQL2005\Backup\*2008-04-03*.bak
    why i donot understand.
    can any one give heads up.

  • No problem with sdk 1.3- problem with 1.4!!!

    I am trying to make an interface using swing objects..
    The buttons are looking like images (2D) when compiling and running the program with sdk 1.4...
    although if I use 1.3 everything is ok??
    even with the new java version I still have the same problem..
    has anyone any idea how to fix this??
    thx in advance!

    /*                      BET                                 */
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
      * Summary description for BET
    public class BET extends JFrame
         // Variables declaration
         private JLabel jLabel1;
         private JLabel jLabel2;
         private JLabel jLabel3;
         private JTextField jTextField1;
         private JTextField jTextField2;
         private JTextField jTextField3;
         private JTextField jTextField4;
         private JTextField jTextField6;
         private JButton jButton1;
         private JButton jButton2;
         private JPanel contentPane;
         // End of variables declaration
         public BET()
              super();
              initializeComponent();
              // TODO: Add any constructor code after initializeComponent call
              this.setVisible(true);
          * This method is called from within the constructor to initialize the form.
          * WARNING: Do NOT modify this code. The content of this method is always regenerated
          * by the Windows Form Designer. Otherwise, retrieving design might not work properly.
          * Tip: If you must revise this method, please backup this GUI file for JFrameBuilder
          * to retrieve your design properly in future, before revising this method.
         private void initializeComponent()
              jLabel1 = new JLabel();
              jLabel2 = new JLabel();
              jLabel3 = new JLabel();
              jTextField1 = new JTextField();
              jTextField2 = new JTextField();
              jTextField3 = new JTextField();
              jTextField4 = new JTextField();
              jTextField6 = new JTextField();
              jButton1 = new JButton();
              jButton2 = new JButton();
              contentPane = (JPanel)this.getContentPane();
              // jLabel1
              jLabel1.setForeground(new Color(59, 241, 227));
              jLabel1.setText("<HTML><B><U>QUESTION</B><HTML>");
              // jLabel2
              jLabel2.setForeground(new Color(50, 245, 113));
              jLabel2.setText("<HTML><B><U>CHOICE</B><HTML>");
              // jLabel3
              jLabel3.setForeground(new Color(50, 245, 113));
              jLabel3.setText("<HTML><B><U>POINTS</B><HTML>");
              // jTextField1
              jTextField1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField1_actionPerformed(e);
              // jTextField2
              jTextField2.setText("YES");
              jTextField2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField2_actionPerformed(e);
              // jTextField3
              jTextField3.setText("10");
              jTextField3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField3_actionPerformed(e);
              // jTextField4
              jTextField4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField4_actionPerformed(e);
              // jTextField6
              jTextField6.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jTextField6_actionPerformed(e);
              // jButton1
              jButton1.setBackground(new Color(117, 158, 145));
              jButton1.setText("OK");
              jButton1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jButton1_actionPerformed(e);
              // jButton2
              jButton2.setBackground(new Color(117, 158, 145));
              jButton2.setText("CANCEL");
              jButton2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jButton2_actionPerformed(e);
              // contentPane
              contentPane.setLayout(null);
              contentPane.setBackground(new Color(67, 97, 83));
              addComponent(contentPane, jLabel1, 172,8,60,18);
              addComponent(contentPane, jLabel2, 73,78,60,18);
              addComponent(contentPane, jLabel3, 211,76,60,18);
              addComponent(contentPane, jTextField1, 9,27,403,28);
              addComponent(contentPane, jTextField2, 24,101,134,22);
              addComponent(contentPane, jTextField3, 203,101,51,22);
              addComponent(contentPane, jTextField4, 21,151,137,22);
              addComponent(contentPane, jTextField6, 18,200,140,22);
              addComponent(contentPane, jButton1, 299,188,80,70);
              addComponent(contentPane, jButton2, 299,90,80,70);
              // BET
              this.setTitle("BET");
              this.setLocation(new Point(-2, 1));
              this.setSize(new Dimension(424, 316));
         /** Add Component Without a Layout Manager (Absolute Positioning) */
         private void addComponent(Container container,Component c,int x,int y,int width,int height)
              c.setBounds(x,y,width,height);
              container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jTextField1_actionPerformed(ActionEvent e)
              System.out.println("\njTextField1_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField2_actionPerformed(ActionEvent e)
              System.out.println("\njTextField2_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField3_actionPerformed(ActionEvent e)
              System.out.println("\njTextField3_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField4_actionPerformed(ActionEvent e)
              System.out.println("\njTextField4_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jTextField6_actionPerformed(ActionEvent e)
              System.out.println("\njTextField6_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jButton1_actionPerformed(ActionEvent e)
              System.out.println("\njButton1_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         private void jButton2_actionPerformed(ActionEvent e)
              System.out.println("\njButton2_actionPerformed(ActionEvent e) called.");
              // TODO: Add any handling code here
         // TODO: Add any method code to meet your needs in the following area
    //============================= Testing ================================//
    //=                                                                    =//
    //= The following main method is just for testing this class you built.=//
    //= After testing,you may simply delete it.                            =//
    //======================================================================//
         public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JDialog.setDefaultLookAndFeelDecorated(true);
              try
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              catch (Exception ex)
                   System.out.println("Failed loading L&F: ");
                   System.out.println(ex);
              new BET();
    //= End of Testing =
    This is my code.. the problem is that when i use sdk 1.3 everything is fine... I tried to use 1.4 and now 5 and I have a problem with the appearance of buttons... I have some comments in my code. is just a form with some textfields and labels and the 2 buttons!
    thx in advance

  • Events problem with (Java and ActiveX)

    Hi,
    I use an ActiveX component with Java and i've got a problem with events.
    Java classes were generated with Bridge2Java (IBM).
    In order to manage events I added a listener in my application :
         javaMyActiveX = new MyActiveX();
         javaMyActiveX.add_DMyActiveXEventsListener(new _DMyActiveXEventsAdapter());
    I also added a constructor in the _DMyActiveXEventsAdapter class and I fill the body of methods.
    The ActiveX generates two types of events :
    - The ones are directly generated by methods.
    - The others are generated by a thread.
    With MS Products (VB, Visual C++, Visual J++), I catch all events.
    With java (jdk 1.4), I catch only events generated by methods.
    Can anyone help me.

    I'm not 100% sure, but the last time I used that bridge, it only worked if you ran your Java app within a Microsoft VM.

  • XL Reporter problem with SQL 2005

    Hi,
    We just migrated our SQL Server from 2000 to 2005. Everything seemed OK, until we tried to run XL Reporter addon. Our SQL 2005 is 64bit edition, and I heard the 64bit version has some problem with transferring data to Excel, for example.
    has anybody had the some problem? How can we solve this?
    Thanks.
    Andre

    Hi Andre,
    Check this thread: Re: XLR - Terminal Server
    It should be a problem if your PL is upgrade to new.
    Thanks,
    Gordon

  • Creation of an event : problem with the container

    Hi Gurus,
    I'm facing a problem in creation of an event.
    I'm in SAP ECC 6.0 for a migration project from 4.6B
    In an ABAP program I'm trying to create an event in order to launch a workflow.
    1st step : Set datas in the container -> In INTERNAL_TABLE I have 5 lines.
    swc_set_table event_container 'INTERNAL_TABLE' t_cnp_container.
    2nd step : Create an event :
      CALL FUNCTION 'SWE_EVENT_CREATE'
              EXPORTING
                objtype              = w_wf_objtype
                objkey               = w_wf_objkey
                event                = w_wf_event
                creator              = applicant
                start_recfb_synchron = 'X'
              TABLES
                event_container      = event_container
              EXCEPTIONS
                objtype_not_found    = 1
                OTHERS               = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              WRITE sy-subrc.
            ENDIF.
    Now when I check my container with SWI2_FREQ I see that INTERNAL_TABLE has just one ligne, the rest disapears.
    I have this problem only when I set an internal table in an container
    I don't know why, but it perfectly works on 4.6B.
    Thanks a lot
    Walid

    Hi,
    I dont see a point in having this statement
    swc_set_table event_container 'INTERNAL_TABLE' t_cnp_container. Infact it is not needed !!
    SWE_EVENT_CREATE like any other FM, take a
    lt_var type standard table of SWCONT.
    ls_var type SWCONT.
    fill your ls_var with all fields and append it to lt_var each time and pass lt_var to event_table of SWE_EVENT_CREATE. It should work !!
    However, suggested way is to use SAP_WAPI_CREATE_EVENT instead of SWE_EVENT_CREATE  from ECC 5.0 onwards. There are fe concerns with SWE_EVENT_CREATE mainly with respect to commit and persistancy. Better we should use SAP_WAPI* as much as possible from ECC 5.0.
    Try above and Good Luck !!
    Regards
    Krishna Mohan

  • Client Eventing Problem with URL Iview

    Hi,
    I am new to EP and have a basic client eventing question. We are trying to integrate a URL Iview from a partner product with a standard Iview downloaded from Iviewstudio. This standard Iview is capable of handling client events from other Iviews in the standard package. We want to re-use this Iview with the same event (same functionality) to be able to handle events from the partner URL Iview.
    The partner Iview and our portal are on different servers.
    We are using the following Javascript but it doesnt seem to raise the event.
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','objid',LocId));
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','AllKeys','objid');
    EPCM.raiseEvent('urn:com.sap.bor:BUS0010','select','','/irj/servlet/prt/portal/prtroot/...'
    We were able to debug and find that the data was being stored in the Data Bag. However the event is not being raised at all. It seems that it just gets stuck somewhere in the Raise event. We even put a javascript alert after the raise event but it doesnt seem to reach there at all.
    Could you give me a few pointers as to what the problem might be.
    Thanks in advance.
    Message was edited by: Mayank Bhatnagar

    Hi,
    let's have a look at two quotes of the PDK documentation.
    "Using the EPCF from your JavaScript, you can send messages to JavaScript code embedded in other iViews."
    "Isolated iViews are iViews that are not inlined into a portal page, but referenced using an IFRAME. To make the EPCF available in such iViews, the EPCF JavaScript as well as the EPCF applet are included into each generated frame."
    From my point of view, this only can work automatically with content provided by the portal.
    Therefore, this can't work with isolated URL iViews  generated with the wizards. Imagine a google iView, running in an iFrame. Google is called by the portal, but it's simply standard google HTML output - displayed in the portal.
    To provide the capability of the EPCF, the epcf javascript file has to be included in the "partner URL iView"'s source. I tried this and it worked. However, this is not a highly sophisticated solution
    If the partner iView's server is running in a different domain, there are further issues to be considered (keyword: java script origin policy)
    If anybody has corrections or can provide a good solution, don't hesitate.

  • Combox EventListener problem with SDK 3.5

    I am trying to build a custom combobox component and making that editable at the time of open and non-editable after close. Below is my code that is working fine SDK 3.2 but with SDK3.5 it is now. I mean with SDK3.5 when i click open it closes itself automatically..
    public class LookUpComboBox extends ComboBox
            public function LookUpComboBox()
                super();
                addEventListener(Event.OPEN,startLookUp);
                addEventListener(Event.CLOSE,stopLookUp);
            private function startLookUp(e:Event):void
                editable = true;
            private function stopLookUp(e:Event):void
                editable  = false;
    Can someone please help me out on this?

    In your addEventListener(), substitute "DropdownEvent.OPEN" & "DropdownEvent.CLOSE", and see if that helps.

  • Problem with SDK 4.0

    Hello Friends,
    Today i downloaded and installed new sdk 4.0 and i could not see any option to run application with earlier version like simulator 3.0, simulator 3.1, simulator 3.1.2 etc.
    Do you know that how can i get all the option with new sdk 4.0 and if i develop application using new sdk 4.0 then will it be run on earlier version.
    Plz reply.
    Many Thanks.

    The problem is that I cannot see any deployment target other than 3.2 or 4.0...
    Am I looking in the wrong place? I have digged around in the project settings and cannot find anything else than 3.2 or 4.0.
    ??? I will take another look tonight when I get back to my Mac gain.

  • Ipod v 2.3 vs. 2.2 problem with Updater 2005 -06-26

    I have seen several other problems that seem related to mine, but wasn't sure of the protocol for expanding discusssions so I started this one. If I didn't do it correctly, I apologize.
    I have a 15gig ipod click wheel with v2.3 and itunes 4.9 running on Windows XP, SP2. After I downloaded the latest updater (2005-06-26), I started having problems updating my ipod. At first it just wasn't updating songs and playlists correctly, then it started prompting me that "a newer version of ipod software - v2.2 is available. Do you want to download it now" I accepted this once and it simply took me to the updater download page again.
    When I run the updater, it only gives me the option of "restore", not "update", and the ipod name, s/n and software version aren't readable on the updater page. Lastly, it shows a capacity of "76.3 GB".
    Any suggestions on how to fix this would be greatly appreciated.
    Sorry for the long-winded description.

    Dear James Bond 007 - I think that fixed it. It is now updating again, so I can't be 100% sure, but it definitely was conflicting with one of the network drives. I very much appreciate the help, and hope you're enjoying the 007 marathon on TV the last week or so.
    Best regards,
    P

  • Runtime problems with sdk sample.

    Hi,
    has anyone had any problems when running the sdk sample (instantclient 10.1.0.4)
    compiled with MS Visual C++ Express version? I called make.bat and everything
    compiled and linked without any worries. When I run the program it crashed. While
    debugging I got the following info:
    First-chance exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    Unhandled exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    This error occurs when trying to call ::createEnvironment().

    I gave up with the occidml example and restarted with
    the occiobj example. And guess what happened. It
    worked. I can´t beleive it.
    So I really don´t know what the difference of these
    two example is as the only difference so far (as I
    saw in the constructor of the two classes) is an extra
    call in the occiobj-example. Well the parameters
    are also different.
    Occidml-example constructor:
    occidml (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::DEFAULT);
    conn = env->createConnection (user, passwd, db);
    Occiobj-example constructor:
    occiobj (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::OBJECT);
    occiobjm (env);
    con = env->createConnection (user, passwd, db);
    If I have time again I will give the occidml another try. By far
    I get along with the occiobj-example.
    Thanks for all the people who helped me (or intended to).
    Greetings Roman

  • Event problem with JComboBox

    Hi, javamen.
    I ve gotten a little problem when working with Itemlistener interface. My combo has 4 options, in which the first one always appears when the applet starts up. Whenever the user DOESNT change it and submit the applet form, throught a button click, the applet gets a NullPointerException. But, if the user changes the option, i always get it, throught my interface' methods(ItemStateChanged). Of course, i know its because there was no combobox event, just a button event (click). So, how can i deal with this situation, since i need to get the combobox option content.
    Regards, Euclides.

    But, this is the question! I dont know how to initialize the combobox' first option. Help me, please! I am using the addItem method as follow:
    MakeJCombo ( JComboBox ComboObj) {
    ComboObj.addItem ("option1");
    ComboObj.addItem ("option2");
    ComboObj.addItem ("option3");
    then:
    public void itemStateChange(ItemEvent ie) ...
    Object origem = ie.getSource()...
    if (origem == ComboObj) ...

  • Problem with SDK Initial Setup

    Hi,
    I have been following the SDK setup for Sentinel, when doing the
    Collector Initial build as specified in the online documentation, I get
    a windows that pops up when doing the page break and replay of the Raw
    Data.
    "Function ImportClass must be called with a class; had "[JavaPackage
    esecurity.css.comp.evtsrcmgt.collector.util.AgentI nfo]" instead.
    Has anyone got any ideas on how I can get this fixed or around this.
    Cheers,
    Jonathan.
    jwgoldstein
    jwgoldstein's Profile: http://forums.novell.com/member.php?userid=92699
    View this thread: http://forums.novell.com/showthread.php?t=451025

    Hmmm.....
    I can't say I've ever seen anything like this. It's a little hard to
    tell if there's a real problem here or some sort of corruption, as your
    post has some weird extra spaces in it but I don't know if those are
    really present in the error or whether there was some sort of copy/paste
    issue.
    In any case, when the Collector initializes it imports a bunch of Java
    classes so that they can be used directly from the JS code. This stuff
    starts on line 57 of 'collector.js', at least in the current SDK
    version, and should look like:
    importClass(
    Packages.esecurity.ccs.comp.evtsrcmgt.collector.ut il.AgentInfo );
    importClass(
    Packages.esecurity.ccs.comp.evtsrcmgt.collector.ut il.BaseEngine );
    importClass(
    Packages.esecurity.ccs.comp.evtsrcmgt.collector.ut il.BSFEngine );
    Your post above has an extra space in 'AgentI nfo', which I can't
    explain. If it's present in your collector.js (which is copied from
    sdk/6.1/Collector/common at build time), then it seems like you have
    some corruption in your SDK.
    It might be helpful to have you explain exactly how you got your SDK -
    did you download the ZIP, are you using SVN, that sort of thing - and
    whether you've done anything to the SDK template code itself.
    FYI, we're close to a beta for the 2011.1 version of the SDK which will
    greatly improve the installation process, so if you can wait a few weeks
    that might solve your problem.
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=451025

  • IDLE event problem with newer versions of the flash player

    Greetings,
    I have an issue that seems to be related to newer versions of the flashplayer in how they handle IDLE events. I have an IDLE event handler that works as expected with flashplayer version 10.0.45.2. With flashplayer 10.2.153.1, the IDLE event does not fire when my flex application is not in focus (browser minized, different browser tab in focus,etc...). Or when it fires, it's usually after a longer lag than normal. Has anyone experienced this issue? Thanks

    Thanks for the reply. Are there any fixes/workarounds for this issue? Say I have a need to create a timer that fires every 10 minutes regardless of whether the player is in focus or not, how do I implement such a timer? Same goes for the IDLE event, I want to be notified if the application has been idle for X minutes regardless of whether it's in focus or not.Prior to 10.2 (and per your reply, 10.1), this all worked fine in flex without needing to adjust for the player being in focus.

  • Event Problem with tab-removal at JTabbedPane

    Hi,
    I have got a JTabbedPane with two added Tabs. The second Tab is selected. I registered the following ChangeListener wih the tabbed pane:
    jTabbedPane1.addChangeListener(
    new ChangeListener() {
    public void stateChanged(ChangeEvent e) {
    if (((JTabbedPane)e.getSource()).getSelectedIndex() == 0) {
         jTabbedPane1.removeTabAt(1);
    There seems to be a MouseEvent in the event-queue behind the ChangeEvent, that causes a
    java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
    at java.util.Vector.elementAt(Vector.java:412)
    at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:347)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabbedPaneUI.java:1817)
    at java.awt.Component.processMouseEvent(Component.java:3707)
    at java.awt.Component.processEvent(Component.java:3539)
    at java.awt.Container.processEvent(Container.java:1159)
    at java.awt.Component.dispatchEventImpl(Component.java:2588)
    at java.awt.Container.dispatchEventImpl(Container.java:1208)
    at java.awt.Component.dispatchEvent(Component.java:2492)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2205)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
    at java.awt.Container.dispatchEventImpl(Container.java:1195)
    at java.awt.Window.dispatchEventImpl(Window.java:921)
    at java.awt.Component.dispatchEvent(Component.java:2492)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
    because the Tab is already removed.
    Does anybody know how to remove the tab in the stateChanged() method without generating the exception afterwards?
    Thanks in advance for your help,
    Kai

    try deferring the remove until other events have been processed, like this: SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        jTabbedPane1.removeTabAt(1);
    });

Maybe you are looking for

  • Reader Extended PDF not working for some users

    I've created a document in Adobe X Pro and saved it as a Reader Extended PDF with Enabled Commenting & Markup. Most users are having no problem adding comments (by attaching a file) but I have a few users having issues (one with Adobe Reader 9 for Ma

  • Problem with drag and drop

    Hi! I'm having a problem with getting this code working, basically I want to drag and drop two things onto another the things dissapear then it moves onto a new page, the first item works properly but then the second item wont dissapear and remains s

  • How to add a new field in the cube and load data

    Hi, The requirement is We have  ZLOGISTICS cube , the data souce of this filed has REFDCONR-reference dcument number filed . We have to create a new field in cube load data and get this new filed into the report also. Please any one can help me with

  • Exception while running idmConfigTool.sh to configure OAM

    Hi I am configuring OAM based on the - "Enterprise Deployment Guide for Oracle Identity Management 11g Release 1 (11.1.1.5)". I am executing this step: "11.6.2 Configuring Oracle Access Manager by Using the IDM Automation Tool" But I am getting an ex

  • How is full the "valuated Quantity structure" in CKM3 transaction?

    Hello everyone! I need some help to understand how works the CKM3 transaction, specially the "Valuated Quantity Structure". I need to know where comes those data, in what table can I see the multilevel data that is display on CKM3?. I need the maximu