problem in grid search

Help
Dipankar
2009-04-08
2012-12-13
  • Dipankar

    Dipankar - 2009-04-08

    problem in grid search.
    I am using MDIframe and internal frames.

    1. First time when an Internal Frame with a grid control is opend key search is failed instead of matching items in grid. I have to click on a row or press tab key and after that the seach is able to find the matching items. It is true also for grid control in codelookup control. it would be nice if I could start typing some keys and find the the matching row selected in the grid just after opening the frame.

    2. SEARCH_ADDITIONAL_ROWS is working but it is loading additional rows which has already loaded in the grid thus showing same items multiple in rows.

    3.Search Box (yellow) remains visble after closing the internal frame. It only erases afte minimising and the maximising the MDI frame.

    Please look after the problems and help me. I completed one application with open swing but for this problem could not distribute it. I wish to up load my apllication to your forum also.

    with regard,

    Dipankar

     
    • mcarniel

      mcarniel - 2009-04-10

      1) What you described does not happen in demo4 application: the first row is already selected, so
      search starts without any problem. Maybe have you developed a more complex presentation logic?
      Can you provide more info about your internal frame? Can you open an issue tracked in OpenSwing web site and
      attach to it an example that reproduces the problem you describe?

      2) problem fixed.

      3) problem fixed.

      Changes will be available with the next release of OpenSwing, planned for next wednsday.
      Changes are already stored in OpenSwing SVN web repository.

       
    • Dipankar

      Dipankar - 2009-04-10

      Thank you for your very fast reply.

      I will run demo4 and try to solve the problem.

      I am ready to upload source code of my application but I do'nt know how to attach the source code to this forum as I am a new comer to opensource programming. Please provide some kind of guide line. I have used hibernate, jaspersoft libs. Tell me whether libs have also to be uploaded or not.

      with regard, 

      Dipankar

       
    • Dipankar

      Dipankar - 2009-04-16

      Thank you for taking the problems in account. But I am getting follwonig error in 1.9.8

      Exception occurred during event dispatching:
      java.lang.NoSuchFieldError: MDI_FRAME_DECORATED
      at org.openswing.swing.mdi.client.MDIFrame.<clinit>(MDIFrame.java:62)
      at
      doctorsdesk.ClientApplication.loginSuccessful(ClientApplication.java:320)
      at
      org.openswing.swing.permissions.client.LoginDialog.loginButton_actionPerfor
      med(LoginDialog.java:606)
      at
      org.openswing.swing.permissions.client.LoginDialog_loginButton_actionAdapte
      r.actionPerformed(LoginDialog.java:653)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
      Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.Dialog$1.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      wirh regard
      Dipankar

       
    • Dipankar

      Dipankar - 2009-04-26

      hi
      I have downloaded 1.9.9 and using it without any error. Out of 3 problems I reported 2 have been fixed but the the 2nd one is not fixed which is described below again for your reference:-

      2. SEARCH_ADDITIONAL_ROWS is working but it is loading (apending after the last row) additional matching rows again and again which is already present in the grid thus showing same rows multiple times in the grid.  After that clicking reload button clears the grid and could not be populated by clicking reload button again without closing and reopening the form.

      Please fix the problem and help me as early as possible.
      I am using your library with a great satisfaction.

      Thank you again for developing such a useful swing library.

      With regard,

      Dipankar

       

Log in to post a comment.