FindPanel Failure (trying again)

I'm reposting this cause I'm dead in the water. An application without a Find isn't very usable. Anyone have any ideas on how I can 'fix' this. I've looked at the underlaying code to see if I rewrite the stuff, but it's a twisty maze of little passages.. including incorrect header documentation citing method parameters that don't exist, missing implementation code, ad nauseam.
The following occurs when I press on the NavigationBar FIND button:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 512
void java.awt.Container.validate()
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
boolean java.awt.EventDispatchThread.pumpOneEvent()
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
void java.awt.EventDispatchThread.run()
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 512
void oracle.dacf.control.swing.NavigationBar.actionPerformed(java.awt.event.ActionEvent)
void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
void javax.swing.DefaultButtonModel.setPressed(boolean)
void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
void java.awt.Component.processEvent(java.awt.AWTEvent)
void java.awt.Container.processEvent(java.awt.AWTEvent)
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
boolean java.awt.EventDispatchThread.pumpOneEvent()
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
void java.awt.EventDispatchThread.run()
As a workaround, does anyone have a code sample of how to write one's own FIND box on a rowset column that is compatible with the rest of the bc4j and infoswing components?
TIA

Following is an example of a "Find" text field. I happen to know that you are working on an application with multiple Frames sharing database information, which happens to be how this example is set up -- lucky you :)
First the Find text field in the Frame (simply created by using the JTextField object from the component palette and using the Property Inspector to add the listener):
jButtonFind.setText("Find");
jButtonFind.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButtonFind_actionPerformed(e);
void jButtonFind_actionPerformed(ActionEvent e) {
String val = jTextFind.getText();
dbInfo.findByName(val);
...Then in the class that contains my SessionInfo and RowSetInfo objects (dbInfo) I added the following method:
public static void findByName(String val) {
String columnName = LastnamerowSetCust.getColumnName();
rowSetCust.setQueryCondition(columnName + " LIKE '" + val + "%'");
rowSetCust.executeQuery();
}I hope this helps.
-- Brian

Similar Messages

  • ? Q : Photoshop CC won´t update, states it´s a transmission failure (49) "try again" - I´ve tried again at intervals about 8 times, getting same message..

    Photoshop CC won´t update, states it´s a transmission failure (49) "try again" - I´ve tried again at intervals about 8 times, getting same message..
    Anyone have any good ideas/suggestions ? Much appreciated, thanks !

    Malou please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html which discusses error 49.

  • HP Officejet Pro 8500 A910 Scan to email failure Error Server Failure Try again Later message

    HP Officejet Pro 8500 A910n  ( CM758A ) Scan to email failure  Error  Server Failure  Try again Later message
    Ran HP Print & Scan Doctor - finds no problems. When sending a scanned document to the user email it has " Error Server Failure  Try again Later " message . Can run test to the scanner without any errors.  Tried to reset the printer - same result.
    Any help would be much apreciated.  AHuber

    Hello there! Welcome to the forums @TheShadow42 ,
    I read about the scan to email issue you are having and I will gladly try to help you! I would suggest checking your scan to email settings from the EWS, and perhaps run the scan to email wizard again. You should also see a scan and test option in the setup.
    Here is a link to the User Manual, that has quite a bit of great info. Check out page 62 for the scan to email information.
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Repeated failures trying to download iTunes update 10.5.1.42 for WinXP

    I have failed 4-times trying to download iTunes update 10.5.1.42 for WinXp. What is causing the installer failure? I have maintained the Windows XP system files and Windows Installer, along with iTunes versions until now.  The install process message says "THERE IS A PROBLEM WITH THE Windows Installer Package. A PROGRAM RUN AS PART OF THE SETUP DID NOT FINISH AS EXPECTED. CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR."
    This is the first time I have had a problem updating iTunes on my XP desktop. 

    After reviewing other Download related problems, one reply suggested using the REPAIR feature from Window Control Panel, list of Software Installed.  I repaired 3 Apple software files and iTunes main file. Took about 10-12 minutes. Then reran "Check for updates" from iTunes/Help menu. Surprised to find 1 program listed that didn't popup "before" I repaired the Apple files.  New version of APPLE SOFTWARE UPDATE 2.1.3.127.  Tryed to install but it hung up/stalled. Then tried again only used the DOWNLOAD option instead of install option. Then Manually "Ran" that file from my Apple/Apple Software Update folder.  filenamed "APPLESOFTWAREUPDATE, type "Windows Installer Package" from Apple. It worked!! 
    Then Checked for updates from iTunes/Help, surprised to see (4) new files available. Safari 5.1.1; Mobile Control Panel 1.6.7; iTunes 10.5.1.42; and Quicktime 7.7.1. Installed all 4 and now iTunes 10.5+ runs great and my iCloud works, letting me catch up Downloads from the Apple/iTunes servers.
    What a pain in the @$#!!!! and it only took 2.5 hours to get it all figured out with 6 total attempts to update to iTunes 10.5.1.42. 
    Ready for double Scotch rocks.....

  • Couldn't find root user.  Sleeping and trying again.

    Last week I installed an MSO 2004 update on my G5 iMac running 10.4.11.
    Then I attempted to repair permissions. The repair permissions process
    halted at about half of the progress bar. I let it cook for about two
    hours without success, then tried to force quit Disk Utility. I
    couldn't force quit it, so I very reluctantly turned off the Mac;
    something I've rarely ever done. I waited five minutes and then turned
    the Mac back on. The startup sequence progressed to the point where the
    system displays the gray apple on the gray background, and the circular
    progress indicator or gear begins turning. I let it turn for one hour
    and then powered off the iMac, then powered it back up with the same
    results.
    I powered it off again and then commenced a Safe Boot. Same results as
    before.
    I powered it off again and then started it in Single User Mode. No
    problem. I ran /sbin/fsck -fy. No problem.
    I typed "reboot" and it rebooted. This time I start it in Verbose mode.
    After the preliminary startup code, the system began repeating the same
    message lines:
    dsFindDirNodes returned -14071, count = 0 count = 2147483646
    Couldn't find root user. Sleeping and trying again.
    A Google search produced very few results. I don't have a backup
    because I inherited this iMac from my 75 year old semi retired father
    who wanted a 20-inch Intel iMac instead. I just goof around with the G5
    iMac from time to time, and am considering giving it to my little niece and
    nephews. It worked great for about a month. I have customized my
    user account and the accounts for the little ones, so I really don't
    want to wipe the hard drive and reinstall Tiger again from scratch.
    I booted from the suspect internal hard drive into single user mode.
    I ran /sbin/fsck -fy on the internal hard drive.
    All tests passed.
    I ran fsck_hfs on the internal hard drive.
    It returned a message that stated that I needed
    to add additional information.
    I ran fsck_hfs with several switches enabled, but
    it continued to return this message.
    I performed the procedures in Apple's article 107210
    "Mac OS X, Mac OS X Server: How to Replace the NetInfo
    Database (Restoring from defaults).
    This did not solve the problem.
    I booted this computer from my external Firewire hard drive that I use
    to create nightly backups on my G4 iMac using SuperDuper!.
    I ran Disk Utility Repair Disk Permissions on the
    internal hard drive.
    There were no permissions errors.
    I ran Disk Utility Repair Disk.
    All tests passed.
    I ran the TechTool Pro Suites --> Advanced Tests on
    the internal hard drive.
    All tests passed except for "Startup File" which it
    listed as " <Not Present>".
    The description of this test is:
    "This test checks the Startup file. The parameters
    within this file contain the information used by
    the computer ROM to determine what program will
    boot the computer as well as other system-specific
    aspects."
    I ran the TechTool Pro Performance --> Maintenance
    routine on the internal hard drive.
    It completed the maintenance successfully.
    I ran DiskWarrior on the internal hard drive.
    It reported no directory errors, but I replaced it
    anyway.
    While booted from the external Firewire hard drive, I viewed what
    appears to be the proper compliment of folders on the internal hard
    drive. Of course, I didn't examine and verify every subfolder in the
    hierarchy, however, examining the Applications, Library, System, and
    Users folders two deep seemed to indicate that everything was there.
    I booted this computer from my Tiger installation disk. I selected
    Utilities --> Reset Password... (I think.). It listed only the
    Administrator account (root) on the internal hard drive. It did not
    list the other three accounts that I created on this hard drive, even
    all three respective folders are present in the Users folder. However,
    it did list all four accounts on the still attached external Firewire
    hard drive.
    By every measure, this drive and its directory are sound. I am
    concerned that TechTool Pro reported that the Startup File is Not
    Present. Beyond the meaning that the words suggest, I'm not sure what
    this really means. I checked the Micromat site and found the following:
    The Startup File has been defined but not yet
    implemented by Apple.
    What does the message signify:
    dsFindDirNodes returned -14071, count = 0 count = 2147483646
    Couldn't find root user. Sleeping and trying again.
    Can I effect a simple repair?
    Thank you.

    I think besides a reinstall, only DiskWarrior from Alsoft...
    http://www.alsoft.com/DiskWarrior/
    stands a chance of fixing it.

  • Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other devices.

    Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other apple devices I have.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • I tried to add on a Zotero integration app. It didn't work. Now each time I open Firefox it tries again to integrate the app and I get an error message.

    Here is the error message when I open up Firefox and it tries again to install the Zotero integration app: (I only have Word 2011)
    Installation could not be completed because an error occurred.
    [Exception... "'Neither Word 2004 nor Word 2008 appear to be installed on this computer. Please install Microsoft Word, then try again. @[install:install.m:140]' when calling method: [nsIRunnable::run]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: resource://zotero-macword-integration/installer.jsm :: <TOP_LEVEL> :: line 67" data: no]

    Hello,
    If Zotero was installed as a Firefox Add-on then please disable or remove it. That should stop the error message. See more info on how to remove add-ons here:
    [[Disable or remove Add-ons]]
    If this doesn't work then you should try starting Firefox in safe mode. See whether the error message appears when in Safe Mode and let me know. See here for more info on how to get into Safe Mode:
    [[Troubleshoot Firefox issues using Safe Mode]]

  • I did a itunes backup today.  Hadnt backed up since 7-7-12.  When done I installed the new software version.  After, I attempted to redownload my backed up info from before. While downloading it said download to big, cancel?  I said yes and tryed again ..

    Ok, I did a back up today around 3.  MY most previous back up was 7-7-12.  When i did the backup it saved all the info to the comp like it normally would.  Then I updated the phone after backing it up to itunes. After the software download....I attempted to reinstall the backed up items back on the phone....it said a bit through the download it was to large to cancel?  I said ok cuz I had no choice....then when i tryed again the file was gone...the back up file that is...so I tryed all the other files in my backed up folders and none of them had any of the photos for the bast 5 months....I have a 1 and half year old....all her pictures of recent were on the phone....im really nervous I cant find a file anywhere on my computer with them....there stored no place..  the extractor downloads I have tryed list all the backed up files on my itunes from today with no photos in them...there is only the 1 file from 7-7-12 that shows pictures...soemthing like 1140 which i already have on my computer ......WHAT DO I DO!?  I lost now ...I cant beleive it would delete everything.....can I time it perfect and do a computer restore to that time?????there has to be those photos someplace!!  Please help!

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Cannot install itunes 11.1.3 to my windows vista home premium 32-bit.  After it finishes the download that it verifies the file I get a message saying "this file cannot be downloaded". What could the problem be??? I uninstalled my itunes and tried again

    Cannot install itunes 11.1.3 to my windows vista home premium 32-bit.  After it finishes the download that it verifies the file I get a message saying "this file cannot be downloaded". What could the problem be??? I uninstalled my itunes and tried again and keep getting the same message.  Please help !

    See Troubleshooting issues with iTunes for Windows updates.
    For downloading issues see the further information area and use a different browser and/or the direct links.
    tt2

  • My ipod touch 4th gen will not turn on, i have held the power and home buttons, i have plugged my ipod into itunes and tried again, yet nothing happens, what should i do?

    My ipod touch 4th gen will not turn on, i have held the power and home buttons, i have plugged my ipod into itunes and tried again, yet nothing happens, what should i do?

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • My Android Galaxy S5 has locked up and gone into endless loading while trying to update to the Kitkat update. I have set it back to factory settings and tried again and it has locked up again. My phone no longer works. What else can I do?

    My Android Galaxy S5 has locked up and gone into endless loading while trying to update to the Kitkat update. I have set it back to factory settings and tried again and it has locked up again. My phone no longer works. What else can I do?

        Oh goodness,SLEEPER888. We wish you didn't have this problem while trying to complete this update.You have done quite a bit of troubleshooting on your own. If the phone update does not take, we would need to replace it with the warranty. Is it still locked up?
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

  • Nested table for PO Output (Item texts) - trying again.

    Hi experts
    I posted this question already, but the formatting disappeared, so trying again.
    I have created a PDF version of the Purchase Order output. Everything works well, except for the last step - a nested table where I want to display Item texts from the PO for every item.
    The steps I followed:
    1. In the Interface, I read the item texts, and placed them in an internal table, where the table has a field EBELP (item number) and a field for the text. So, for a PO with 5 items, where 2 items have texts, the table might look like this:
         00010    First line of text for item 10.
         00010    Second line of text for item 10.
         00040    Only line of text for item 40.
    2. In the context of the form, I put this table 'under' the existing 'ITEM' entry. In other words, for every item, the texts must be displayed. Obviously I then put in an entry under the WHERE CONDITIONS to say that EBELP = ITEM-EBELP, otherwise it would repeat every line of text for every item.
    The problem is that it does not behave quite as I expected. It currently prints:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
             Only line of text for item 40.
    Item 30 information
    Item 40 information
    Item 50 information
    Where it should print:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    +Item 40 information+
             Only line of text for item 40.
    Item 50 information
    In other words, it simply 'breaks' on change of EBELP, and moves the text to the next line, as opposed to the correct line.
    I tried debugging, and it does appear to be doing things in the right order, but it is still doing the output incorrectly. I also searched the forums for similar problems, but I could not find a solution to the problem I am experiencing.
    I also put 'dummy' (empty) rows into the table - that fixes it, but then it messes with my layout and I get something like:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In the above, I don't want the gaps where the empty rows are.
    Please advise?
    Thanks and kind regards
    Casper

    Reposted without formatting...
    I have created a PDF version of the Purchase Order output. Everything works well, except for the last step - a nested table where I want to display Item texts from the PO for every item.
    The steps I followed:
    1. In the Interface, I read the item texts, and placed them in an internal table, where the table has a field EBELP (item number) and a field for the text. So, for a PO with 5 items, where 2 items have texts, the table might look like this:
         00010    First line of text for item 10.
         00010    Second line of text for item 10.
         00040    Only line of text for item 40.
    2. In the context of the form, I put this table 'under' the existing 'ITEM' entry. In other words, for every item, the texts must be displayed. Obviously I then put in an entry under the WHERE CONDITIONS to say that EBELP = ITEM-EBELP, otherwise it would repeat every line of text for every item.
    The problem is that it does not behave quite as I expected. It currently prints:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
             Only line of text for item 40.
    Item 30 information
    Item 40 information
    Item 50 information
    Where it should print:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In other words, it simply 'breaks' on change of EBELP, and moves the text to the next line, as opposed to the correct line.
    I tried debugging, and it does appear to be doing things in the right order, but it is still doing the output incorrectly. I also searched the forums for similar problems, but I could not find a solution to the problem I am experiencing.
    I also put 'dummy' (empty) rows into the table - that fixes it, but then it messes with my layout and I get something like:
    Item 10 information
             First line of text for item 10.
             Second line of text for item 10.
    Item 20 information
    Item 30 information
    Item 40 information
             Only line of text for item 40.
    Item 50 information
    In the above, I don't want the gaps where the empty rows are.
    Please advise?
    Thanks and kind regards
    Casper

  • I am trying to update Adobe Extension Manager CS5 and I keep getting "There was an error downloading this update. Please quite and try again later."  I have tried again and this keeps coming up?

    I am trying to update Adobe Extension Manager CS5 and I keep getting "There was an error downloading this update. Please quite and try again later."  I have tried again and this keeps coming up?

    Please do a forum search.  I and others have repeatedly answered this question a whole bunch of times recently.
    Bottom line:  the Adobe auto updater is utterly useless in CS5 and prior versions.  You need to download the updates and apply them manually yourself.
    I and others have even supplied the links for Mac and Win, which you haven't even bothered to specify.

  • HT201210 i`m trying to update my new iphon with itune. i got a worning no.14 .then i updated apple and tried again but got a massege "iphone not found".all the time there is a serial no. but it says that there is no iphone no.  what am i doing wrong?

    I am trying to update my new iphon 4.at first i got a massege no.14. then i updated apple &tried again but this time got a massege no iphon found. serial no.appears but not a phone no.what should i do?

    Sounds like it's hardware issue. The iPhone warranty is based in the original country of purchase. Since it was bought in Korea you will need to ship the phone to someone you know in Korea to be taken in and then they will have to ship it back to you. The cost of shipping will be at your expense.

  • HT1212 hey i have forgotten iphone screen lock passcode and i have tried again and again so my iphone gets disabled . 1 and 23 hrs gone but it is still disabled . So please tell me what to do???  plzzz.

    hey i have forgotten iphone screen lock passcode and i have tried again and again so my iphone gets disabled . 1 and 23 hrs gone but it is still disabled . So please tell me what to do???  plzzz

    recovery mode
    open itunes on computer
    plug cable into computer not phone
    turn phone off
    hold home button and plug cable into phone.  do not release home button until an itunes graphic appears on device.
    look to computer should have message about recovery mode click ok and restore
    Peace, Clyde
    if u need an article see
    http://support.apple.com/kb/HT1808

Maybe you are looking for