How can I programmatically fire a combo box action?

I'm maintaining a program that was developed for JDK 1.3 and recently was migrated to JDK 1.4
At that time, the developer forgot to perform some initializations in a panel when first displayed, but after all, everything was solved because in 1.3 some automatic calls to the actionPerformed method, where the event source is a combo box, made the work, because it has some code that performs those initializations.
In 1.4, those calls to actionPerformed don't happen and the mistake has been detected. For me, the easiest way to fix the problem is firing those actions at initialization. Is there any way to do it?
Thanks

either doClick or dispatchEvent

Similar Messages

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • How can I re-locate the 'Title' box on the first slide of my slideshow??

    how can I re-locate the 'Title' box on the first slide of my slideshow??

    You can't.  It's not a user controllable feature.
    OT

  • I use a iphone and MacBook Pro using mail on each.  How can I see the same mail boxes on the laptop that I see on the iPhone?

    I use a iphone and MacBook Pro using mail on each.  How can I see the same mail boxes on the laptop that I see on the iPhone?

    for starters this is not the forum for notebooks or for that matter icloud or iphone.
    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    http://www.apple.com/support/iphone

  • How do I retrieve data from combo boxes?

    The past weekend I spent my whole weekend trying to find this
    out and gone through the top 10 pages on google trying all sorts of
    things. I would be grateful for anyone who can help me.
    I have 6 combo boxes in a booking form and I need to retrieve
    the data when someone click submits which gets forwarded on to php
    then my mailbox. They are called box1_cb, box2_cb.....box6_cb All
    in the instance of: ComboBox - which I don't understand what that
    does.
    it does not seem to be retrieving any of the data. For each
    combo box:
    I have the the options people can choose form in "Labels" box
    under "Paramaters", nothing for "Data", Row Count is 8 and nothing
    for "Change Handler" which I don't know what it does.
    Can anyone please provide some help with telling me what
    "change handler" does, do I need the data for each combo box in the
    "Labels" parameter as well as the "Data" box, what an instance does
    (for combo boxes) and what I need to put in the actionscript for
    the submit button as well as do i need to put code in the
    actionscript for each combo box?
    The options people can choose from in the combo boxes are
    there when someone views the site.
    Can anyone please help me..I would greatly appriciate it.
    Thanks.

    If your hard drive can be detected and shows up as a drive letter in my computer but you can't access your files,then you can recover your data off it with data recovery software easily.This way is the easiest and the most inexpensive way to recover your data.If you bring it to a computer repair shop that is available for data recovery servise,they will cost you $500-1000 or more.Hmm, a lot of money.
    I managed to recover data from crashed hard drive with Tenorshare Data Recovery.If needed,you can download it and scan your hard drive for free to preview whether your data can be recovered.It will show you thumbnails for recoverable pictures.

  • How can I add the progress loading box when I load a module?

    Hi everyone, how can I add the progress loading box when I
    load a
    module? Is it an automated thing with flex or must I code it?
    Thanks.
    :)

    try using javascript onclick attribute:
    onclick="document.form.name.disabled=false"
    m

  • How to implement alphabetic search in combo box

    Hi all,
    how to implement alphabetic search in combo box through coding.
    Thanks for any replies

    Im not sure if I undestand correctly, but example is
    sCFL_ID = oCFLEvento.ChooseFromListUID
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        oCFL = oFormKontrolaMZ.ChooseFromLists.Item(sCFL_ID)
                        If oCFLEvento.BeforeAction = False Then
                            Dim oDataTable As SAPbouiCOM.DataTable
                            oDataTable = oCFLEvento.SelectedObjects
                                    val = oDataTable.GetValue(1, 0)
    oForm.DataSources.UserDataSources.Item("EditDS").ValueEx  = val
    and then load from datasource to matrix.
    hope it helps
    Petr

  • How to get value of html combo box (i.e select) in jsp?

    Hello,
    I was just wondering how to get value of html combo box in jsp page. My code for combo box is:
    <select name="combo" size="1">
    <%
    List<Project> projects = mgr.getProjects();
    for(Project project : projects){
    %>
    <option value="<%= project.getId()%>"><%= project.getName()%></option>
    <%
    %>
    </select>
    I thought combo.value might give me the value, but it throws exception.
    Any help is appreciated.
    Thanks.

    The combo does not exists in Java, but only in HTML. You have to submit the form containing the combo and then use request.getParameter("combo") to get it's value ;-)

  • How can i programmatically add a text in a combobox drop down menu ?

    How can i programmatically add a text in a combobox drop down menu ? Can it be possible using any property node?

    You've posted to the wrong forum. Please post to the LabVIEW board.

  • How to select an item in combo box...!

    How to select an item in combo box in order to appear in a box of text (programmed in VB.Net for SAP Business One).

    Hi Carlos,
    I am not sure if this is what you want, but here's an example of selecting a value in a combo box. This is the item master data window and I'm changing Item Type to Labor.
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oForm As SAPbouiCOM.Form
            oForm = oApplication.Forms.ActiveForm
            oCombo = oForm.Items.Item("214").Specific
            oCombo.Select("L", SAPbouiCOM.BoSearchKey.psk_ByValue)
    Hope it helps,
    Adele

  • How can I programmatically clear a chart?

    Hi,
    Could you please let me know how can I programmatically clear a chart? I would like to run a code multiple times and everytime I run it , the chart should be cleared . I tried to find a History property node but seems like there is no such properfy node for chart

    If I have conceived your problem clearly, there is of course history data property node for charts. You may get one by right clicking on chart 
    create>>Property node>>History data(which is last on list)  
    CLAD
    Passionate for LabVIEW

  • How can you transfer files from drop box to ibooks?

    How can you transfer files from drop box to ibooks?

    These two articles should help:
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp2185.html
    http://support.apple.com/kb/HT2518

  • How can I hide the tool data box?

    How can I hide the tool data box that reads out the loction in Photoshop CS6?
    It appears when I move a layer or change the size.
    It is very distracting and totally useless for me (I'm an artist - not an engineer).
    I can't find a setting to remove that black box.  I hope there is a way to make it go away...
    Thanks!

    It sounds like your talking about the transformation values.
    In the photoshop preferences under Interface you can set Show Transformation Values to Never

  • How can I validate a multi-select box to have at least 1 option

    How can I validate a multi-select box to have at least 1 option
    selected in struts?

    thanks i will try that other then that if I want to create single drop down list and pass multiple values associated to that drop list value how would i do that....

  • I can not enter comma in combo box

    I can not enter comma in combo box in LV 8.20, but it can be done in LV 8.0.1, so I suppose it's a bug!
    I can enter comma via Edit Item menu, but I would like to enter it in run time.
    Thanks for help,
    Andrej

    Hi Andrej,
    This was reported to R&D (CAR ID: 4131FLYN and 40MCJC4U) for further investigation.  A possible workaround, like you have stated in your response, would be to do add commas while in edit items for the combo box. 
    Thanks for the feedback!
    Regards,
    Nadim
    Applications Engineering
    National Instruments

Maybe you are looking for