Unable to refresh parent swing  form components after returning from child

Hi,
Not able to refresh the parent swing form components after returning from the child form.
I am having problem in setting/resettig values to the parant swing form components after returning from child form. In parent form, I am entering values in some of the fields and clicking on Search button in parent form which will open a child window with the search results in JTable. Now selecting a row and writing the selected data to an ArrayList and returning back to the parent. I am able to see the values in the ArrayList, but not able to set any value to any of the parent form components by using the formtextfield.setText("value").
Thanks
Yakshak

create another project
a frame with a formattedTextfiled and a button
the button to open a child window
in the child window use say a JTextField to simulate a search result (type in some dummy data)
now add the arraylist code that produces the problem
if this stripped-down version of your program has the same problem, post all of the stripped-down code,
so we can see what you're doing.

Similar Messages

  • HT4061 I keep getting a message and unable to utilize my iPad after returning from a flight, message states iCloud Backup - This iPad hasn't been backed up in 3 weeks. Backups happen when this iPad is plugged in, locked, and connected to Wi-Fi. Plugged in

    Greetings,
    Any help would be appreciated.
    I keep getting a message and unable to utilize my iPad after returning from a flight, message states iCloud Backup - This iPad hasn't been backed up in 3 weeks. Backups happen when this iPad is plugged in, locked, and connected to Wi-Fi. Plugged in but it is frozen, I keep pressing OK but nothing happens.
    Thank you

    Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • How to automatically actualize UWL after return from WebDYNPRO?

    Hello,
    in the universal worklist (uwl) i have configured a workstep to open a Web Dynpro application instead of the SAP GUI. This works fine and i can process the Workflow.
    But after processing of workstep I returns to the UWL using
    WDPortalNavigation.navigateAbsolute(          "ROLES:portal_content/tm.eop.fd.eop_root/tm.eop.fd.content_root/tmcz.eop.fd.tmcz_root/tmcz.eop.fd.my_workspace/tmcz.eop.ro.my_workspace/my_workspace/tmcz.eop.iv.uwl",          WDPortalNavigationMode.SHOW_INPLACE,
                        (String) null,
                        (String) null,          WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                        (String) null,
                        (String) null,
                        (String) null);
    In the UWL there is non relevant item (item that was processed in WebDynpro) and it angers users.
    It is possible to actualize UWL automatically after return from WebDYNPRO application? WebDYNPRO is opened in the same window and frame as UWL.
    Thanks for your help.
    Ondrej Lednicky

    Followed what vinay and Timo sugguested:
    One solution is to use a af:dialog in the popup where you define a dialogListener  to catch the outcome of the dialog and if it's OK you call your other method.
    I wrote method code in back bean like this:
        public void refreshBillFromDialog(DialogEvent dialogEvent) {
            // Add event code here...
            if (dialogEvent.equals(false)){
                return;
            AdfFacesContext adfFacesContext;
            adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(Bill4NewReceiptPending);
            //actionEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
            BindingContainer bindings2 = getBindings();
            System.out.println(" refreshBillFromDialog:bindings2: "+bindings2);
            OperationBinding operationBinding2 = bindings2.getOperationBinding("ExecuteWithParams");
            Object result = operationBinding2.execute();
            if (!operationBinding2.getErrors().isEmpty()) {
                 return ;
    And it works: the adf table(Bill4NewReceiptPending) in the calling page will be refreshed after the dialog popup was closed!
    Thank you all!
    What's more, I found even if I use bounded workflow calling instead of using popup dialog calling, the  returnListener wasnot executed either.
    And there is still a issue in the popup Dialog: The strange behavior of checkbox selection, see the thread:
    Why the page cannot refresh correctly after making checkbox selection?
    I tried and put aside for some days, and have no idea yet.
    Can anyone give helps?
    Thanks!

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Mouse stutter and UI unresponsiveness after returning from standby

    Hi guys, after upgrading to Leopard the mouse pointer on my 15" MBP stutters after returning from standby. Weird thing is that this happens only after it was in standby for awhile, maybe 5 to 10 minutes. If I return from standby after a few seconds the stutter does not happen. I can only resolve this with a restart. This did not happen in Tiger. Is there anyone else experiencing this?

    Well I had this problem. Did a fresh install of Leopard a week and a bit ago and it seemed to run much better. Set my machine up how I like it and it's back to how it was. I didn't setup my Dashboard right away so maybe your onto something. I'll have to try and force myself to not use it for a bit and see how it goes.
    We should collect a list of 3rd party widgets as I think initially with the default 4 on display it was fine.
    I've only got 4 other than the standard Apple supplied ones.
    - iStat Pro 4.2
    - TV Forecast 2.3
    - Amazon Album Art 2.12
    - Application Update 1.5.8
    Now both iStat Pro and TV Forecast claim to be Leopard compatible. Amazon Album Art also mentions improved Leopard support was added in version 2.11. Application Update doesn't claim to be but seems to work fine. However I think this was the last widget I added and a few days after the others. I think it was fine with the other three so I might try removing it and seeing what happens.
    Still I'd love to know what other Widgets you guys have. Maybe we all have the a similar one which we can narrow down to being the cause. Or maybe it's not 3rd party widgets at all but the Dashboard as a whole. Still I'm more likely to think it's a 3rd party widget.

  • Lose Wifi after return from in Mountain Lion

    Ever since I installed Mountain Lion on my 2011 27" iMac, I lose WiFi connection after returning from sleep and I Have to do a restart.  Not happy.

    http://osxdaily.com/2012/08/02/fix-os-x-mountain-lion-wireless-connection-proble ms/

  • Network issues after returning from sleep mode

    I'm noticing this issue on T440, Twists, T420s, whether it's Windows 8, Windows 8.1 or Windows 7.  Sometime around the end of last year and the beginning of this year, my users suddenly started reporting problems with the machines after returning from sleep mode.  The network adapter (whether plugged in or using wifi), would show limited connectivity and would not connect to the internet until the machine is rebooted.
    I've tried updating drivers, using system restores, disabling the network adapters from shutting down to conserve power, OS network diagnosis & network adapter resets, none of which has worked.  Hibernation is disabled on all machines.
    The only fix I have is to reinstall the OS over the top of the system and reinstall all updates.  Looking for help with this issue.
    Thanks!
    Solved!
    Go to Solution.

    Hi Mertz74,
    Thank you for replying us back!
    Please check with uninstalling power manger and reinstall it with latest driver.
    Download chipset driver from Lenovo drivers page and install it.
    Please check with above option to resolve the issue.
    Below is the link to enter the downloads page and download updates accordingly, please click on "Select Product" then in "QUICK PATH" enter the MTM no. select the exact model.
    http://support.lenovo.com/en_US/downloads/default.page#
    Hope this helps. Do post back if issue persists!
    Best regards.
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • Browser not connecting after returning from sleep, but email and imessage working fine

    My Browsers are not able to access the Internet after returning from sleep. This effects other browsers (Firefox & Chrome) as well. The connectivity from mail and iMessage is working fine. I am also hardwired and not using WiFi.

    I have the same problem since updating to Yosemite, works fine after restarting but once it goes in to sleep it affects email as well as browsers, I have a broadband connection. Also accessing the app store is hit and miss, it's either working or simply not not working.
    It also affects other devices trying to connect to the internet over wifi via the airport time capsule, the problems started after installing Yosemite.

  • Power manager crashes after returning from standby mode.

    I have a T400 2767 WU6 running Windows 7 Pro-64bit.. After returning from standby mode, power manager crashes (version 3). All the software installed is supposed to be compatible with win7 pro 64bit.
    Any help would be greatly appreciated.

    Does this issue appear from the beginning?
    Possibly the OS was installed several time ago and now the registry entries are corrupt.
    Therefore the system busy egg timer could appear.
    Im not 100% sure it will help but possibly you should reinstall the whole OS
    On the fresh installed OS all should works much faster

  • Cannot clear answers in quiz after returning from jump to slide.

    Hi, I apologize if this has been answered previously. I couldn't find a thread containing the information.
    I recently upgraded from Captivate 6 to 8 (yes, I know...) and when I created the quiz for this project, I have the learners who answer the questions incorrectly going through remediation using the jump to slide on last attempt. The jump to works fine and returning to the quiz works fine. However, when the learner returns to the quiz, the previous incorrect answers are still displayed and the clear button is non-functional. This doesn't allow them to revise their answer and move forward.
    I compared it to a similar project that I created in Captivate 6, and it seems that all the options in the quiz preferences and the question's quiz properties are the same, yet it is working properly in the Captivate 6 project (even when previewed in Captivate 8).
    Am I overlooking something simple here?
    Thanks!

    Indeed, the On Exit event is not to be trusted at all, you need an
    interactive object, that gets a double functionality. In the video it has
    Continue or Return to Quiz, but you can also use 'Go to Next Slide' instead
    of Continue. Sorry that I didn't point immediately to that video. It is
    short but pretty clear.
    2014-12-18 20:45 GMT+01:00 christellek <[email protected]>:
        Cannot clear answers in quiz after returning from jump to slide.
    created by christellek <https://forums.adobe.com/people/christellek> in *Adobe
    Captivate* - View the full discussion
    <https://forums.adobe.com/message/7027618#7027618>

  • Refresh First page after returning from a framed pop-up window

    HI Can anyone help me on this technical problem.
    I have got one mainpage and from there i'm calling a popup with two frames (left, right). At frame right i'm populating the tableview.
    So when i submit(button) in tableview(right), the table contents has to be replicated in the first page and the popup has to be closed. So far it has be done successfully.
    The problem is when i return to the first page the page is not getting <b> refreshed automatically</b>. FYI, i'm not using mvc for performance reasons.
    So i need your help on how to refresh the first page, after control passes from popup.
    Here is the code, that calls the popup window
    winvar=window.open("organization.htm", 'main','height=450,width=650,status=yes,scrollbars=yes,toolbar=no,resizable=yes');

    Hi Craig & Raja,
    Let me tell thanks for your response. But your valuable solutions are not working for me. Please, check this code and please let me know that any thing went wrong.
    Here is the code
    My main page is progress.htm
    ============================
    <script language = "javascript">
        function openOrgTree(){      
           var winvar;
           winvar=window.open("organization.htm", '<b>Main</b>','height=450,width=650,status=yes,scrollbars=yes,toolbar=no,resizable=yes');
      </script>
    <htmlb:inputField id          = "InputOrgPlan"
                            showHelp    = "X"
                            onValueHelp = "javascript:openOrgTree()" />
          <% if application->i_desc is not initial.%>
          <htmlb:tableView id              = "tvX"
                           headerVisible   = "false"
                           design          = "alternating"
                           visibleRowCount = "3"
                           fillUpEmptyRows = "true"
                           columnWrapping  = "false"
                           onHeaderClick   = "MyEventHeaderClick"
                           onRowSelection  = "MyEventRowSelection"
                           keyColumn       = "Text"
                           table           = "<%= application->i_desc %>"
                           iterator        = "<%= iterate %>" />
          <% endif. %>
          </td></tr>
    organization.htm (is the frames container)
    =========================================
      <!-- frames -->
    <frameset  rows="110%,*">
        <frameset  cols="40%,*" >
            <frame name="left" src="tree.htm" marginwidth="0" marginheight="0" scrolling="No" frameborder="0">
            <frame name="right" src="table.htm" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">
    table.htm (right frame)
    ==========================
       function callSubmit()
         alert(parent.window.name);  
    // displays the name as "<b>Main</b>" which i gave at the time opening oraganization.htm
    //        parent.window.opener.refresh();
    // window.opener.location.href = window.opener.location.href ;
             window.opener.refresh();
             parent.close(); // to close the popup
    // all of the above are not working
       </script>
      <htmlb:page onLoad = "callSubmit()">
    <htmlb:button id            = "submitbutton"
                        onClick       = "myButtonClick"
                        onClientClick = "callSubmit()"
                        width         = "10"
                        text          = "Submit" />
    i need onClick to populate the internal table and onClientClick to refresh the opener.
    if event->id = 'submitbutton'.
          refresh application->i_desc.
          application->i_desc = i_desc.
    Regards
    Swaroop

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • Tree node selection lost after returning from called page

    Hi
    in a default unbound task flow i have a Page1 calling Page2.
    Page1 displays a master-detail data using treetable component, while Page2 displays detail data (selected from Page1) as a read-only form.
    When coming back from Page2, Page1 tree node selection is lost and tree table is rendered as if was called for a first time (detail data are disclosed).
    How can I restore an original selection?
    (Jdev 11.1.2.2)
    Many thanx

    1. before goind to the Page 2, remember somewhere the selected row keys, as follows:
        RowKeySet rks = yourTreeTable.getSelectedRowKeys();2. after returning to the page 1, do as follows:
        Iterator rksIterator = rks.iterator();
        if (rksIterator.hasNext()) {
                 List key = (List)rksIterator.next();
                 JUCtrlHierBinding treeTableBinding = null;
                 treeTableBinding =
                         (JUCtrlHierBinding)((CollectionModel)table.getValue()).getWrappedData();
                 JUCtrlHierNodeBinding node =
                     treeTableBinding.findNodeByKeyPath(key);
                 RowKeySet newRks = new RowKeySetImpl();
                 if (node != null)
                     newRks.add(node.getKeyPath());
                 callSelectionListener(yourTreeTable, newRks);
                // refresh your tree table  - ommited here
         // where is:
         protected void callSelectionListener(RichTreeTable table, RowKeySet discRows) {
             SelectionEvent selEv =
                 new SelectionEvent(table, new RowKeySetImpl(), discRows);
             JSFUtils.resloveMethodExpression("bindings.YourVO.treeModel.makeCurrent", // <--  of course, adjust this value to the your selectionListener expression
                                              null,
                                              new Class[] { SelectionEvent.class },
                                              new Object[] { selEv });
         } // of makeCurrent()
        public  Object resloveMethodExpression(String expression, Class returnType, Class[] argTypes, Object[] argValues) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            MethodExpression methodExpression = elFactory.createMethodExpression(elContext, expression, returnType, argTypes);
            return methodExpression.invoke(elContext, argValues);
        }

  • How to go back to the parent report to a particular page from Child report in SSRS

    Hi,
    I am utilizing the Drill through functionality in one of my SSRS Report.
    My Parent Report contains 5 pages. From 1st page I am selecting a link which goes to my Child report.
    Here from my child report I want to provide a link to go back to my parent report's and it should render 3rd (it should show 3rd) page in parent report.
    How to specify this ? Give your inputs as soon as possible.
    Sridhar

    Hi Sridhar,
    After testing the issue in my environment, we can refer to the steps below to achieve your requirement.
    Right-click a report item to open the properties dialog in Child report, click Action in the left pane.
    Enable Go to URL action, the URL below is for your reference:
    ="http://server_name/ReportServer?/folder_name/parent_report_name&rc:Section=3”
    When you click the textbox in the Child report, it jumps to the Parent report in the third page.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms152835.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Slow Video playback on external monitor

    I'm having a problem with video on an external monitor drifting out of sync. The video plays back slow on the monitor but the sound come through fine and the video is playing at a normal speed in FCP. This is only happening with video from FCP, I can

  • Third party AU audio units disappear after archive and install

    hey everybody. so after an forced unfortunate archive and install, my third party AU have disappeared from DP and Logic. they run fine in standalone. how can i get them back into logic?

  • LightRoom Color Management

    Apart from the unique color space and behavior on certain export operations, Lightroom seems rather closed mouthed about color management. (This is a bit unsettling for someone used to all of the control offered by Photoshop) For instance, 1) is ther

  • Webdynpro java theme

    Hi, how can I modify the theme used by webdynpro without use the EP? thanks in advance,

  • Problems printing PDF from Reports

    Hi, I'm having a problem with the Report's way of generating pdf-documents. The report that Reports was supposed to create have some bullets where but when Reports converts the document to pdf it sometimes insert asterisks instead of bullets...but on