Executing bridgetalk messages from a modal dialog

I have a script that runs a BridgeTalkLongProcess from an onClick event within a modal dialog. This worked well in CS2, but not in CS3. The BridgeTalkLongProcess does run, but not until the modal dialog closes. The BridgeTalkLongProcess is attempting to run a process in Photoshop (the target)from Bridge.
Any tips on how to work around this. Do I have to convert the dialog to a palette? Why the change from the CS2 behavior?
TIA
Rory

Rory,
I had some more time to investigate this issue today, looking for the underlying bug.
I now think my first advice (to use a scheduled task) was probably unhelpful--sorry. I have observed the following behavior sending BridgeTalk messages from button onSelect handlers in modal dialogs. If the onSelect handler sends the BridgeTalk message to Photoshop, the message is sent immediatelyy, but the BridgeTalk object's onResult handler is not called until the modal dialog box closes. If the onSelect handler schedules a task to send the BridgeTalk message, then the message is not sent until the dialog box closes.
I am actually not very familiar with the AdobeLibraryN.jsx scripts, but I took a quick look at the BridgeTalkLongProcess class in the AdobeLibrary1.jsx that was in your zip and it looks to me like it may rely on getting a call to the onResult handler to work as designed. That may be why your script appears to hang--we're waiting on onResult, and that does not execute until the dialog closes.
For now I reccomend that you try a work-around that will dismiss the modal dialog before you make any BridgeTalk calls to Photoshop.
Thanks,
David Franzen
Quality Engineer
Adobe Systems, Inc.

Similar Messages

  • Module Pool - Error message on a Modal Dialog screen with input

    Hello All,
    I have a modal dialog screen which is called on F4 help of a input field. This dialog screen has radio buttons on it to select. On selection, we check if the user is authorized to that option. If not, raise and error message with command MESSAGE msgid.....
    When the error message pops-up and when clicked ok on it, the radio buttons on the modal dialog screen gets disabled. I want to have the modal dialog box to be able to accept the new radio button as input.
    Can anyone please suggest.
    Thanks,
    Smita

    Put all of your Radio buttons in the CHAIN ... ENDCHAIN with one module.
    CHAIN.
        FIELD rb1.
        FIELD rb2.
        FIELD rb3.
        MODULE check_chain ON CHAIN-REQUEST.   "<< implement logic in check_Chain
      ENDCHAIN.
    If you want, you can even disable the options before displaying the screen. Do all necessary checks in the PBO and based on that disable the options.
    Regards,
    Naimesh Patel

  • Help window blocked when accessed from modal dialog

    Activating my CSH from a modal dialog leaves not only the main frame inactive but the help window as well preventing further navigation in the help.
    Do I have to start the help in a separate JVM earning a load of communication problems or is there an elegant way to circumvent this restriction?
    I'd be happy for comments...
    Holger

    I think the following code will fix the problem. src is the modal dialog and m_broker is your help broker.
    We need the following call otherwise modal dialog won't allow the help dialog to gain focus when clicked on...
    ((DefaultHelpBroker)m_broker).setActivationWindow( src);

  • Java help dialog invoked from modal dialog with webstart

    Hi,
    we have an application where we invoke a Help window from a modal dialog. It works fine if ran from IDE but doesn't work if ran from a webstart loader. The problem is to be able to set decorations (exit/minimize) for this help window but since this window is null (from printouts) it never goes to lines where decorations are set. The help dialog is displayed by calling super.setDisplayed(true) but it is not setting variables "frame" or "dialog" of DefaultHelpBroker class.
    I am sure it doesn't sound very clear but if you had a similar problem with web start messing up something please let me know.
    thanks.
    private static void initHelp()
        ClassLoader loader = HelpFactory.class.getClassLoader();
        try
          URL url = HelpSet.findHelpSet(loader, HELPSETNAME);
          helpSet = new HelpSet(loader, url);
          helpBroker = new DefaultHelpBroker(helpSet)
            public void setActivationWindow(Window window)
              if (window instanceof Dialog)
                Dialog d = (Dialog) window;
                if (d.isModal())
                  super.setActivationWindow(window);
                  return;
              super.setActivationWindow(null);
            public void setDisplayed(boolean b)
              //no exception here and shows dialog with no decorations
              super.setDisplayed(b);
              System.out.println("d: " + dialog);//prints null here
              System.out.println("d: " + frame); //prints null here
              if (b)
                if (dialog != null)//since this is true, it never sets decorations
                  dialog.hide();             
                  dialog.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
                  dialog.show();
          helpBroker.setFont(new Font("Verdana", Font.PLAIN, 12));
          helpListener = new HelpListener(helpBroker);
        catch (HelpSetException e)
          e.printStackTrace();
      }

    sorry guys, i should've posted it either in the web-start or on javahelp forums. I'll do it right now.
    never mind :-)

  • JavaHelp, Frames and Modal Dialogs...recommendations

    Seen a few posts on this, but no answers.
    I've got help buttons scattered throughout my application for users to get context sensitive help.
    Here's the behavior I'm seeing:
    Scenario 1:
    - Initiate JavaHelp from a Frame
    - Bring up a modal dialog
    - JavaHelp is blocked
    - Click on a help button in my dialog
    - A new JavaHelp window appears
    - Close the dialog
    - The new JavaHelp window disappears
    - The original JavaHelp window is now blank
    - When I try to destroy the original JavaHelp window, a NullPointerException is thrown from the windowClosing method
    Scenario 2:
    - Initiate JavaHelp from a modal dialog
    - Close the dialog
    - JavaHelp disappears
    I really want JavaHelp to work like help in other applications:
    - I want one window to come up and work regardless of dialogs opening and closing
    - I want the user to use the JavaHelp while performing a task
    Is there a solution to this?

    Is SE 6 the only solution?
    Anyone know what the version of Java currently shipping with Mac OS X will support?

  • Trying to make up a Modal Dialog with customized event dispatcher

    Hello everyone.
    I try to make up a ModalDialog class with customized event dispatcher in order to wait an invoker.
    But it fails :-(
    import javafx.event.ActionEvent;
    import javafx.event.Event;
    import javafx.event.EventDispatchChain;
    import javafx.event.EventHandler;
    import javafx.event.EventTarget;
    import javafx.event.EventType;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.HBox;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    import javafx.stage.WindowEvent;
    import com.sun.javafx.stage.WindowEventDispatcher;
    import java.util.ArrayList;
    public class ModalDialog extends Stage {
      ArrayList<Button> buttons;
      int rc;
      Stage stage;
      Event event;
      EventDispatchChain tail;
      public ModalDialog( Window owner, String title ){
        initModality( Modality.APPLICATION_MODAL );
        initOwner( owner );
        initStyle( StageStyle.UTILITY );
        setTitle( title );
        stage = this;
      public void setContents( Group group, ArrayList<Button> buttons ){
        BorderPane root = new BorderPane();
        Scene scene = new Scene(root);
        setScene(scene);
        root.setCenter( group );
        this.buttons = buttons;
        HBox buttonPane = new HBox();
        buttonPane.setSpacing(10);
        for( int i=0 ; i<buttons.size() ; i++ ){
          buttons.get(i).setOnAction( actionHandler );
        buttonPane.getChildren().setAll( buttons );
        root.setBottom( buttonPane );
      public int show( double screenX, double screenY ){
        setX( screenX ); setY( screenY );
        show();
        MyWindowEventDispatcher dispatcher =  new MyWindowEventDispatcher( stage );
        setEventDispatcher( dispatcher );
        while(true){
          event = dispatcher.dispatchEvent( event, tail );
          EventType<? extends Event> type = event.getEventType();
          if( type==WindowEvent.WINDOW_HIDDEN ){
            break;
        return( rc );
      EventHandler<ActionEvent> actionHandler = new EventHandler<ActionEvent>() {
        public void handle( ActionEvent e ){
          EventTarget src = e.getTarget();
          rc = buttons.indexOf( src );
          stage.hide();
      class MyWindowEventDispatcher extends WindowEventDispatcher {
        public MyWindowEventDispatcher( Window window ){
          super( window );
        public Event dispatchEvent( Event event, EventDispatchChain tail) {
          ModalDialog.this.event = dispatchCapturingEvent( event );
          ModalDialog.this.tail = tail;
          return( event );
    }A sample code to invoke ModalDialog
    import java.util.ArrayList;
    import javax.swing.JOptionPane;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.stage.Stage;
    import javafx.stage.WindowEvent;
    public class WindowEvent06 extends Application {
      Stage mainStage;
      public void start(Stage stage) throws Exception {
        Group root = new Group();
        Scene scene = new Scene(root);
        stage.setScene(scene);
        stage.setTitle("WindowEvent06");
        mainStage = stage;
        stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
          public void handle(WindowEvent e){
            ModalDialog dialog = new ModalDialog( mainStage, "Question" );
            Button yes = new Button( "Yes" );
            Button no  = new Button( "No" );
            ArrayList<Button> buttons = new ArrayList<>();
            buttons.add(yes); buttons.add(no);
            Label msg = new Label( "Really Exit ?" );
            Group groupInDialog = new Group();
            groupInDialog.getChildren().add( msg );
            dialog.setContents( groupInDialog, buttons );
            int ans = dialog.show( 300, 300 );
            System.out.println("returned from a modal dialog");
            if( ans == 1 ){
              e.consume(); // this blocks window closing
        stage.show();
      public static void main(String[] args) {
        launch(args);
    }

    Hi,
    The logic what you follows is some what in the right direction but need to have some changes.
    What I would say is, first consume the windowClose event. Then open the dialog box and close the parent accordingly.
    So after refactoring your code.
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.HBox;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    public class ModalDialog extends Stage {
         Stage owner;
         Stage stage;
         BorderPane root;
      public ModalDialog( Stage owner, String title){
        root = new BorderPane();
        stage = this;
        this.owner = owner;
        initModality( Modality.APPLICATION_MODAL );
        initOwner( owner );
        initStyle( StageStyle.UTILITY );
        setTitle( title );
        setContents();
      public void setContents(){
        Scene scene = new Scene(root,150,150);
        setScene(scene);
        Group groupInDialog = new Group();
        groupInDialog.getChildren().add( new Label("Really Exit ?") );
        root.setCenter( groupInDialog );
        Button yes = new Button( "Yes" );
        yes.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent paramT) {
                   stage.close(); // Closing the pop up.
                   owner.close(); // Closing the parent stage also.
        Button no  = new Button( "No" );
        no.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent paramT) {
                   stage.close(); // Closing the pop up only
        HBox buttonPane = new HBox();
        buttonPane.setSpacing(10);
        buttonPane.getChildren().addAll(yes,no);
        root.setBottom(buttonPane);
        stage.show();
    }And the main class to check this implementation is
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.stage.WindowEvent;
    public class WindowEvent06 extends Application {
      public void start(final Stage stage) throws Exception {
        Group root = new Group();
        Scene scene = new Scene(root);
        stage.setScene(scene);
        stage.setTitle("WindowEvent06");
        stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
          public void handle(final WindowEvent e){
             e.consume(); // Consuming the event by default.
             new ModalDialog( stage, "Question");
        stage.show();
      public static void main(String[] args) {
        launch(args);
    }I hope the above code will give you some idea what i mean. :)
    Happy Coding !!
    Regards,
    Sai Pradeep Dandem.
    Edited by: Sai Pradeep Dandem on Jan 20, 2012 4:03 AM

  • Launching JavaHelp with a modal dialog

    Hi,
    I am trying to launch JavaHelp from a modal dialog, which consists of a JTabbedPane with 2 tabs. My code right now checks to see which index is selected, then sets the help ID accordingly. However, when I run my application, JavaHelp simply does not launch. How do I work around the problem with the modal dialog...the code for checking the index is correct, because it works in another part of the application, only that window is not modal.

    hi there
    you can try with       helpButton = new JButton("Help");
          CSH.setHelpIDString(helpButton, helpTopicId);
          if(myHelpBroker != null) {
            helpButton.addActionListener(
                new CSH.DisplayHelpFromSource(myHelpBroker);
          } supposed you initialize myHelpBroker with something meaningful (a valid help broker pointing to the help set in question) and helpTopicId with the id of the topic to be displayed
    HTH
    Ulrich

  • How to display non modal dialog box in a Dll call from TestStand implemented in visual c

    Dear Jason F.
    Applications Engineer
    National Instruments
    Hello
    I did the same way you told me
    the non modal dialog appeared and
    system hangs and
    giving the error message
    ""SeqEdit.exe-Application Error
    The instruction at �0x047fc5b0� referenced memory at �0x047fc5b0�. The memory could not be �read� ""
    please solve my problem
    and thanks for yours early response
    you can email me at
    [email protected]

    Hi Mkehret,
    Does your dialog have ActiveX controls on it? If your DLL dialog uses ActiveX controls and is not programmed in a certain manner it can hang because of a conflict in the threading model used by the TestStand Engine that is calling into your DLL and the model that is required by the MFC ActiveX Container. If you are using ActiveX controls in your dialog, you need to make special considerations for the threading model MFC dialogs that use ActiveX controls need in order to work properly. The example under \Examples\MFCActiveXContainerDlg illustrates how to appropriately handle this situation as well as explaining why it is necessary.
    Note: The above example displays the dialog as modal, but this is irrelevant to the problem I am describing.
    Again for information on properly creating a dialog class object and displaying it as non-modal refer to the information on MSDN that I referred you to in this post:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000E98A0000&USEARCHCONTEXT_CATEGORY_0=_8_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_8_&UCATEGORY_S=0
    If your dialog does not use ActiveX controls or after trying the programming method illustrated in the "MFCActiveXContainerDlg" example TestStand still hangs when calling your DLL, try calling your DLL from another environment just to make sure whether the DLL works at all. If the DLL works properly when called by another environment (e.g. VB, VC++, LabVIEW, or CVI), please submit a MINIMAL and REPRODUCEABLE example source project for your DLL for us to look at (please exclude all unnecessary code not required to reproduce the specific problem of displaying the dialog, and include all files necessary to build your dll with any
    specific instructions needed to do so).
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • How to remove the default icons from the toolbar of modal dialog box screen

    Hello Friends,
    Iam calling a screen from function module using CALL SCREEN statement.
    The screen is of type Modal Dialog Box. I created some input fields and buttons in the screen. When the screen is displayed, I can see the tool bar at the bottom along with the input fields and buttons in the screen.
    These icons are Continue(Enter), Check, Cancel. How can I supress this??
    I mean in my screeen I want only my input fields and buttons but not the default toolbar. How to do that?
    Regards,
    Raju

    Hi Raju,
    Try this...
    First try to capture the F-codes of ur button apppearing on the dialog box and then exclude it from the PF-status by passing it to itab.
    types: begin of tab_type,
            fcode like rsmpe-func,
           end of tab_type.
    data: tab type standard table of tab_type with
                   non-unique default key initial size 10,
          wa_tab type tab_type.
    clear tab.
    move 'DELE' to wa_tab-fcode.
    append wa_tab to tab.
    move 'PRIN' to wa_tab-fcode.
    append wa_tab to tab.
    set pf-status 'STA3' excluding tab.
    Cheers,
    Simha.
    Reward all the helpful answers..

  • I get a Pre-execute error message when importing from Excel using the wizard.

    Hello, I get the following pre execute error message(see below) when I try to import a table from Excel when using the wizard. I wrote my own code in the edit window. i noticed after writing it that the data types did not appear changed in the mappings window.
    Can anyone explain what these errors mean and how they can be solved. Thank you.
    Operation stopped...
    - Initializing Data Flow Task (Success)
    - Initializing Connections (Success)
    - Setting SQL Command (Success)
    - Setting Source Connection (Success)
    - Setting Destination Connection (Success)
    - Validating (Success)
    Messages
    * Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator,
    or on the system's console.
    (SQL Server Import and Export Wizard)
    - Prepare for Execute (Success)
    - Pre-execute (Error)
    Messages
    * Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Unspecified error".
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "The metadata could not be determined because every code path results in
    an error; see previous errors for some of these.".
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid object name 'dbo.PriceTable$'.".
    (SQL Server Import and Export Wizard)
    * Error 0xc0202040: Data Flow Task 1: Failed to open a fastload rowset for "[dbo].[PriceTable$]". Check that the object exists in the database.
    (SQL Server Import and Export Wizard)
    * Error 0xc004701a: Data Flow Task 1: Destination - PriceTable$ failed the pre-execute phase and returned error code 0xC0202040.
    (SQL Server Import and Export Wizard)
    * Information 0x4004300b: Data Flow Task 1: "Destination - PriceTable$" wrote 0 rows.
    (SQL Server Import and Export Wizard)
    - Executing (Success)
    - Copying to [dbo].[PriceTable$] (Stopped)
    - Post-execute (Stopped)
    frustrationmultiplied

    Hello,
    Are you willing to try other ways to do the same?
    http://www.excel-sql-server.com/excel-import-to-sql-server-using-linked-servers.htm
    http://support.microsoft.com/kb/321686 (Distributed queries)
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Is it possible to call a subscreen/modal dialog box from the global class

    Hi,
    Is it possible to call a subscreen or modal dialog box from the global class ..
    or is there any option to display a pop screen or subscreen in order to get the values from user which as to be implemented
    in the global class..
    thanks and regards,
    Poornima.

    Hi Poornima,
    you should follow Uwe's suggestion. The only alternative I can imagine is dynamic document in a dialog container. But I don't know any standardized classes to make use with minimum effort. Have a look at report DD_ADD_FORM_INPUT. Here they put the input field in a container control in a screen; you can put the container control on a dialog container (CL_GUI_DIALOGBOX_CONTAINER).
    We will not get rid of any screen for the time being, but if your application is started from any screen, the DIALOGBOX_CONTAINER can start from there.
    Regards,
    Clemens

  • Executing custom Transaction from Dialog Task

    Hi all,
          I am calling a custom Transaction from a dialog task  (absolutely, from the method of the task). The user will be executing that workitem from ESS.
    My problem is, while the user executes the workitem it is giving two screen titles in the top as mentioned below. One is the usual ESS header (Work center of ESS12345) and other one is the "Title in of custom program".
    I am not getting why it is giving two titles in the screen. Please advice.
    Versions being used.
    R/3   - ECC5
    ESS - ITS 640
    Regards,
    Anbarasan K

    This is probably because there is no new window opened when the task is started.
    Regards,
    Martin

  • Modal dialog hangs when opening from FocusListener

    Hi,
    When trying to open a modal dialog from an FocusListener, the application hangs.
    class FocusListenerXYZ implements FocusListener {
    public void focusGained (FocusEvent e) {
    public void focusLost (FocusEvent e) {
    MyDialog d = new MyDialog();
    dialog.setVisible(true);
    No problem occurs wehen opening the modal dialog from a ActionListener or ItemListener. Is there a bug in the FocusListener??
    Any workaround to solve this problem?
    gt

    Hi there..I'm having the same problem too under jdk1.4.1. Looks like there is a bug in Focus Listener. Did you manage to fix the problem? If so please do let me know how you manged to do it. Thanks...kas

  • Javascript call from Flash in modal dialog window

    Hi.
    As I see it's impossible to call Javascript function from
    flash in modal dialog (opened with showModalDialog), neither with
    getURL nor with ExternalInterface.call.
    The only solution I found (in my case it's enough, I only
    need to refresh some DIV content in the page from flash) is to
    catch error in the modal dialog (Javascript window.onerror) and
    then do some operations.
    I'm intereseted: is this for security reason on Win XP SP2? I
    didn't found any solution, but is there any?

    Hi Gary,
    Actually I'm not very sure that whether it is the VS issue if it still has this issue in a new Environment.
    To make sure that it is not the VS setup file issue, one idea is that you could re-download your VS2013 Pre version here:
    http://www.visualstudio.com/downloads/download-visual-studio-vs
    And then re-install it again. Test the result. Hope that it is not the VS setup file issue.
    If still no help, really sorry for that I couldn't repro this issue in my side. But
    you can submit this feedback to Microsoft Connect feedback portal:
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft
    engineers will evaluate them seriously. You could share this project in your report, the product team members would troubleshoot and repro this issue.
    You will get email notification for update in your connect report.
    If you submit it, please share us the link here, so we could get the latest information from the product team members.
    Sincerely,
    Jack
    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.

  • Plugin fails to display modal dialog with ActiveX'ed bean

    I have first posted this in the ActiveX bridge group, and have gotten no response. Since the plugin group also has posts on modal dialogs, thought this is also correct to post here. Both plugin and ActiveX'ed beans use beans.ocx for display.
    I have a bean wrapped as ActiveX with sun.beans.ole.Packager. The bean provides a method, which ultimately will pop up a modal confirm dialog (JOptionPane.showConfirmDialog(.)).
    If the method is triggered solely from within the bean, say via a click on a bean's button, all is well.
    If the method is triggered from its host (VB form), the
    - the call is done on the main thread. The confirm dialog shows, but when I click on one of its buttons, the app hangs.
    - If I try to pass the call into the event dispatch thread (SwingUtilities.invokeAndWait(.)), the confirm dialog somewhat pops up, but does not paint completely and the app hangs.
    - If I try to pass the call into the event dispatch thread with SwingUtilities.invokeLater(.) all is well, the confirm dialog pops up, I can click on its buttons, etc. but the function returns to VB too early, which is not what I want since I need the answer.
    - I have tried the following:
    entry method determines it is not on the event dispatch thread.
    Tries itself with invokeLater(.), yields the current thread and calls wait(.).
    The method invoked later will execute in the event dispatch thread, popup the confirm dialog and when finished will do a notifyAll(.).
    Unfortunately, what happens is that the entry thread (the main thread) puts the invokeLater into the event dispatch queue, yields itself and wait()'s. And waits and waits. In the meantime, the dispatch thread will get to the point where it wants to show the confirm dialog, but will then hang. If I time out the wait in the main thread, then the confirm dialog is popped up immediately after the wait finishes with the time-out.
    Sooo, this tells me that there is some strange synchronization going on which causes something like a deadlock. Is there any good approach to triggering modal dialogs from a native app hosting the ActiveX'ed bean??
    I have found many entries on probs with modal dialogs in the plug-in, which relate to applets. But no solution yet.
    Some keywords that I have came across are:
    - the event dispatch queue can be flushed and "empty events" can be posted into it. Also, the invokeAndWait(.) will register a "conditional" message pump on the event queue that seems to work until the locking condition is no longer valid. Any experience with these? Any way to manipulate (a) main thread, (b) event dispatch queue, (c) event dispatch thread to resolve the apparent deadlock?
    - There seems to be some difference in locking when the parent process is VB/COM as when it is Java. I have the impression that the main thread has some lock until the call made from VB/COM is fully completed and the call stack cleaned up. Can anyone confirm this? And/or suggest a way around it?
    Sylvia

    Sylvia - I found your posting because I have a similar problem in which a JavaBean wrapped using the Packager needs to call a Visual Basic event subroutine from a thread other than the main thread.
    This, I have discovered, is not supported in VB unless you use special thread marshalling calls (not available to the Java bean) or event queuing calls (ditto, afaik).
    My point is that this may be related to your problem. Check this Microsnot document on their public support site:
    Q196026

Maybe you are looking for

  • Can I open multiple jpeg files in Adobe Camera Raw ?

    Hi, it seems that I cannot do this - not an option in PE11 ??  Such a pity if not !  I can open one JPEG at a time, or multiple Raw images in ACR.  Have checked other sources including Barbara Brundage "The Missing Manual" but whilst it does not spec

  • Windows sbs 2003 sp1, windows server 2008 R2

    I have windows sbs2003 sp1 & windows 2008 R2 Licenses...I want to setup ERP application with SQL on windows 2008 R2, Terminal server windows 2008 R2 for RDP & Ncomputing & E-mail server for Internal and external use.  I have IBM Server with XEON proc

  • URGENT: Problem with PageContext being NULL!

    I need some help. I have a JSP that uses a bean that implements the           HttpSessionBindingListener interface. What I'd like to have happen is when           the session is invalidated, (i.e. when valueUnbound() is called) the page is           

  • Can't apply CU5 - option grayed out

    Hello, I have a local, named sql server 2012 sp1 instance running virtualized on an ESX host with VMWare.  We wanted to apply cu5 to this instance and several others for the pages in memory fix.  The others worked fine, this instance the option to ch

  • I'm running Snow Leopard, do I have to upgrade to maverick or can I just upgrade to the new one?

    I'm running Snow Leopard, do I have to upgrade to maverick or can I just upgrade to the new one?