How to call Ocx in swing Component

Hi i want to play Flash4 file xxx.swf in swing Component
JMF Api Supports upto Flash2 only i downloadled Flash4 player which is a ocx file .how can i integrate this ocx in swing Component
help me please
regards
Mahesh.B

I have used the tool JacoZoom by InfoZoom (http://www.infozoom.de).
The tool can create JCWs (java callable wrappers) for COM and ActiveX objects.
If they are visual, you can create and display them within your Java app
either as AWT or in Swing.
In general, JacoZoom is the best tool I have found so far, it is my
favorite.
Sylvia

Similar Messages

  • Call OCX in Swing Application

    Hi all,
    I am writing a Swing application and in several frames I need to call OCX modules. Can anyone kindly let me know how to do this ? Will greatly appreicate it if examples are available for reference. Thanks a lot.
    C.K.

    Hi,
    get and try java-com bridge njawin (njawin11.zip) at http://www.simtel.net/pub/winnt/java/. Sources for examples are packed with binaries in proper JARs.
    Vitally

  • How can I make a call to a swing component which will be blocking?

    Hi,
    I have a small GUI, and an underlying application class which interacts with it. At one point in time, the underlying class needs to wait for the user to type a string into a textbox, and press a submit button (both of which are on a GUI that is already visible to the user). I cant seem to figure out how to make the call to the gui, so that i blocks, until that submit button is pressed.
    Do I have to spawn a seperate thread which constantly is checking if that button is pressed (i.e. associate a flag with that button).
    I pretty much wanna do something similar to JOptionDialog, but with my own gui implementation.
    thanks!

    No...let me rephrase...
    1) I only want 1 dialog...with multiple swing components on there. 2 of which are a textbox, and a jbutton....the jbutton has a listener associated with it....and that obviously grabs the text from the textbox...
    2) I have a model class (no swing components, only a reference to my dialog)...I want to make a call to the dialog, which blocks, until the button is pressed...
    did this clear things up at all?

  • How to Call Webservice in Portal Component?

    Hi Experts,
        Currently, I have a URL of WSDL file, how can I consume this webservice in portal component. I know that we can call webservice via webdynpro application/standalone proxy/deployable proxy, but it seems different in portal component.
       Thanks & Best Regards,
       James

    Accessing an External Web Services in Portal
    Accessing an External Web Services in Portal
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
    Consuming Web Service from ABAP
    Consuming Web Service from ABAP

  • How to Call Methods of one component into another Component

    Hi Experts,
    I have one requirement...
    I have 2 components A and B, i used A comp in B, i need to call Comp A methods in Component B, can anybody give me the syntax?? please...
    Thanks and Regards,
    Kissna.

    Hi Manas Thanks for your fast reply,
    My question is, for example we have wd_comp_controller or wd_this objects to call methods of view from view and comp controller right.. like this we have any methods to call used component methods? if yes can u please give me the objects syntax?...
    Thanks and regards,
    Kissna.

  • How to call specific view of used component

    Hi All,
    I have the following problem:
    I have component 1 which have two views: 1A and 1B. They are included in one window. Default view is 1A.
      Navigation between view 1A and 1B it made with buttons and plugs ("go to 1A", "go to 1B").
    I have main component 2 which uses component 1 (used component). Component 2 has view 2A and 2B. I have button "Z" in view 2A which calls method of component 1 and navigates to view 2B (where used component 1 is embedded).
    First time I press button I navigate to view 1A, its correct. Then I navigate to view 1B (within used component 1).
    when I go back (in main component 2) and press button "Z" again, the used component 1 is open with view 1B, not 1A (which is default). That is, used component 1 remember which view the navigation stayed on.
    I nee to always see view 1A first when I navigate with button "Z" (open used component).
    How I can do that?

    hi ,
    u must be using component usage ..
    in ur component2 , place the view 1B of ur used component in separate window
    pls refer this thread as well :
    How to call a Particular View from a View of Current Component
    regards,
    amit

  • How to call View of Component B in WINDOW of Component A .

    Hi Experts,
    I have 4 different webdynpro Component. On the button click of first component view, I want second component view should be open in same exiting WINDOW, and same when button click from view of second component, 3rd component view should be open .  I want all 4 component should be opened in ONE WINDOW ONLY .
    Now I am using URL of component to open next component but this is opening seperate window.
    So please guide me how to open different different webdynpro component in ONE WINDOW.
    Thanks & Regards,
    Abhiiesh.

    Hi,
    Why did you create 4 views in 4 different components when you want to use all of them in a single window?
    You could have created all 4 views in a single component.
    Answer to your query:
    Define the usage of components 2, 3 & 4 in component 1
    Add the interface views of components 2, 3 & 4 in window of Comp_1
    Create inbound and outbound plugs for the interface views and windows of components 2, 3 & 4 . Use these plugs to create navigation links in Window of comp_1.
    Use the outbound plugs of windows to navigate btw views(From view call a method in window controller which will fire the outbound plugs).
    Regards,
    Ashwin

  • How to call the bean in jspdyn component?

    Hi,
    i created  jspdyn component in that bean and bussiness logic class in NWDS.i created a method() in that businesslogic class.i called that method in bean class.i created both in same package,there is no error occur while creating the object of that class.but the bean class not recognize the business class method which i created. What is the cause? and also tell me how to call the bean in jsppage also.and also give me textfields,button and syntax of event handling in HTMLB,iam new to this area.so,give me one example step by step.

    Hi,
         Please check on these links for a good start.
    Java development methodologies (Part II)
    Bean usage in JSPDynPage
    jspDynPage portalapp.xml
    Regards,
    Harini S
    Please avoid giving personal mail id(s). That may prevent others from getting the same information when needed.

  • How to set a Swing component as Modal window on a SWT Component.?

    How to set a Swing component as Modal on a SWT Component.I mean, I have a window (SWT Container) with some menu items.
    When I click on one menu item then i will get one new Swing Window.
    When creating the new frame I had passed Modal value as TRUE in the constructer.Now child is not behaving as Modal Window.I mean I am able to go to parent window even though the child window is opened as a Modal Window.This is only happened when I double click on the Title Bar of the Parent Window.
    If I try to click on any other part of the Parent Window except Title bar ... the child window is working as a Modal Window.
    Can any one suggest me to solve this one !!

    int this case, do this :
    JFrame f = new JFrame("Authentification");
    f.getContentPane().setLayout(new BorderLayout());
    f.getContentPane().add(myJPanel, BorderLayout.CENTER);
    f.setBounds(x,y,w,h);
    f.setVisible(true);
    Where myJPanel is the Panel you developped.

  • How to set a Swing component as Modal on a SWT Component?

    How to set a Swing component as Modal on a SWT Componen?.I mean, I have a SWt Component window and from that window I am displaying a SWING Component Modal window.
    The problem is my swing window is not working as Modal always.
    When I opened the swing window from SWT window,swing window is working as Modal.But if Idouble click on Menubar or Title bar of the SWT Window then my Swing window goes back.If I click on any other part of the SWT window.. then once again Swing window is working as modal.
    Can any one suggest me to solve this?
    I think this is isuue related with Swing over SWT..

    pradeep.rajadurai wrote:
    I want set the JTable as a background of jframe or jinternalframe , how it is possible One way that may work, you can always extract the image from a rendered JTable and then paint the same image into the JPanel that holds your components via it's paintComponent method, then added the JPanel to the app's contentPane.
    give me simple pgmIs English your second language? Because if so, please understand that this demand can be taken by some as rude.

  • How To Call HTML Page Through Java Swing Page  ???....

    Hi All ;
    Please Can You Tell Me How To Call HTML Page Through Java Swing Page ....
    Regards ;

    Hi,
    you can use HTML fragments on a panel.
    http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
    However, to integrate a browser you need 3rd party software like IceBrowser
    If you Google for: HTML Swing
    then you find many more hints
    Frank

  • How to call Custom or Component Controller methods from View Controller

    Hy Guys,
    how do I call Custom Controller or Component controller methods from a View or Context Controlller?
    thanks in advance
    Jürgen

    Hi Juergen
    Yes it is possible, pls follow the below approach to access the component controller in context node class
    1) since the standard component controller class is protect variable , declare a variable of type component controller in your controller class.
    say for example the public variable you declared is  g_comp_controller
    2)  now redefine the controller class method WD_CREATE_CONTEXT  and add the below lines of code
       g_comp_controller ?= me->comp_controller.
    3) go to context node class  (CNXX)  there declare the varaible which of type controller class (IMPL)  as public variable, for example g_owner
    4) redefine the method  IF_BSP_MODEL~INIT  and write the below code
         CALL METHOD super->if_bsp_model~init
        EXPORTING
          id    = id
          owner = owner.
      g_owner ?= owner.
    5) now the variable   g_owner  that is declared in  (CNXX)   contains reference to your controller class
    6) in  on_new_focus  method access your component controller in the below manner and access the entities also.
    DATA: lv_owner                    TYPE REF TO xxxxx_impl,  " Implementation class
                 lr_comp_cont                TYPE REF TO xxxx_bspwdcomponen_impl, " component controller class
                 lv_entity type ref to cl_crm_bol_entity.
    lv_owner ?= g_owner.
    lr_comp_cont    ?= lv_owner->g_comp_controller.
    IF lr_comp_cont IS BOUND.
       lv_entity ?= lr_comp_cont->typed_context->mdfcampaign->collection_wrapper->get_current( ).
    now lv_entity contains the value of component controller context node.
    Thanks & Regards
    Raj
    Edited by: bmsraj on Sep 27, 2011 3:28 PM

  • How to embed swing component into javaFX ?

    Maybe I missed sth, but can someone explain us how can we embed swing component into javaFX 2.0 ?
    This was previously handled with javaFX "srcipt", why can't we do it anymore ?
    As far as the work to migrate from 1.3 to 2.0 is hard and huge, why do fx2.0 do not offer such feature anymore ? :(
    I know that ThingFx project try to cope with, but the current code doesn't match with my needs.
    Thanks for help,
    Edited by: tibO on 23 nov. 2011 14:35

    I know this post is old and the original authors might not even ben active; but it essentiall gets to the heart of what I'm trying to.
    I have a JDialogBox. In it I have a panel (which I have to change to a JScrollPane). Inside the JPanel I have a JLabel and a JTextArea.
    I was told to; make it scrollable in the event that there is too much info for the JDialogBox and to add HTML formatting (simple stuff like bold and colors.
    1) The JScrollBar doesn't seem to produce the scroll side bars.
    2) I must not be implementing the JEditorPane correctly. I just substituted JEditorPane for JTextArea in my code and it returned a type converstion error. Is JEditorPane even the correct object to use? Should I be using JTextPane?
    The reason I can't do this on a JLabel by JLabel basis is because I don't know how many labels I will need at each runtime. And I also have to have a swingtimer on it. I could create an array and loop around it to create the JLabels. But it seems a waste of commuting cycles. This is no good?

  • How to call method of Component A in Component B

    Hi Friends,
    I want to use Method A of Component A in Component B. Can some one tell me how to call method A on action of a button in component B.
    Regards
    Sankar

    Hi,
      DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_method( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
    DATA lo_interfacecontroller TYPE REF TO yiwci_sg_method .
    lo_interfacecontroller =   wd_this->wd_cpifc_method( ).
      lo_interfacecontroller->execute_method(
           i was able to do the above process successfully but how to bind data to the node of component 2.
    In the component 1 : method A i defiend to get records upto 25 rows. now i tried using same method . but how to bind data using this method
    Regards
    sankar

  • How to call Oracle Report 6i from a java swing/ejb codes (client server)

    Hi to all.
    We now have to do reports using Oracle Reports that have to call from Java Swing (interface) / EJB (Backend).
    How can we call the Oracle Reports 6i from Java Swing?
    Do anybody done that?...Any ideas? Where should we find the resourse, if any?
    Thanks in advance and best wishes to all,
    Rushdan.

    Hi,
    6i
    1) One way
    Runtime.getRuntime().exec("rwcli60 report=test.rdf .... server=server_name ...<cmd line params>...");
    2) From swing, open a browser and submit request programmatically
    Re: Calling reports6i reports from java swing client serve application
    Thanks
    Ratheesh

Maybe you are looking for

  • PROBLEM AXIOM AIR 61 IN LOGIC, DON'T REPRODUCE SOMETIMES THE TRACK RECORDED WITH AXIOM AIR 61

    I have some problems working on LogicX, cuz when i play the track that i recorded with the AXIOM AIR 61, sometimes don't sound nothing, and then when i put play again it sound the track, the think is that the LogicX. I don't know if it's a driver pro

  • Object lifecycle.

    Dear Developers, I want complete lifecycle of the object. Like, What is done when loading a class, initializing object, making object reference a candidate for GC, unloading the class, termination of the jvm. Can you please tell me in brief/full, or

  • Livecycle Designer 8.0 word wrap problem

    Here is the link to the application I made http://www.nevadajudiciary.us/index.php/view-documents-and-forms/func-startdown/309/ I am using Full* with script xfa.host.setFocus("FieldName"); to get my form to word wrap, but it is cutting off a letter b

  • No control pannel for my touch pad?????

    I got a new Hp Laptop and I some how managed to change the settings for the touch pad??? I am unable to turn the touch pad off by pressing the small button above the pad and the scroll along the side of the bar is not working anymore. Its fustrating!

  • No reconoce los discos utility disk

    Hola buenos dias, tengo problemas con un powermac g5 que instale el os xserve y intento instalar unos hdd en una tarjeta scsi y cuando los busco con disk utility no aparecen. he buscado todos los drives pero nada. y reciente he adquirido un raid de a