Same problem for 3 days

public void updateBookCB()
bookList.removeAllItems();
for (int i =0; i < aBook.getBookArray().length;i++)
          BookList.addItem(aBookList.getBook(i).getTitleOfBook());
I utilise the above emthod whenever i wish to add or delete a product from my combo box and it works by moving all the times out of the array then putting the new one back in and then adding back the old array items. However when I delete the entire array disappears from the combo box. Any Ideas?

You have a typo mistake here:
BookList.addItem(aBookList.getBook(i).getTitleOfBook());
should be:
bookList.addItem(aBookList.getBook(i).getTitleOfBook());
Is this mistake on your source code?

Similar Messages

  • TS1811 Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows

    Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above  "
    iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    "....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows 4 same

    Archived - iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    Products Affected
    iTunes 7 for Mac, iTunes 8 for Mac, iTunes 9 for Mac
    This article has been archived and is no longer updated by Apple. 
    Symptoms
    After installing the Mac OS X 10.4.9 Update, iTunes may be unable to properly authorize your computer to play your iTunes Store purchases.
    Resolution
    The following steps will delete your network preferences. Most broadband connections do not require any special settings to connect, but if your connection does or if you are not sure, please contact your ISP or network administrator for further assistance.
    Important: You must be logged in as an Administrator.
    Click the Finder icon in the Dock.
    Choose Go to Folder from the Go menu.
    Type /Library/Preferences/SystemConfiguration
    Click Go.
    In the Finder window, locate the file named NetworkInterfaces.plist.
    Drag this file to the Trash.
    Restart the computer.
    Once your computer has restarted. You will not be able to connect to the Internet. Now you will need to refresh your network settings to be able to connect again.
    Choose System Preferences from the Apple menu.
    Choose Network from the View menu.
    To refresh your network settings, from the Location pop-up menu, choose New Location.
    Type a name for your location and click OK.
    Click the Apply Now at the bottom right to accept the changes.
    If your network connection requires any special settings, you will need to put them back in at this point. Once you have made these changes you should be able to connect to the Internet again and authorize your computer to play your iTunes Store purchases.

  • I have been on the same problem for 2 days now.... it has become URGENT

    ==================
    CLIENT SIDE
    ==================
    try
    srvIntrface = (MyServerInterface) Naming.lookup("rmi://"+server+":1099/Interface");
    }catch(Exception e){System.out.println("clientForm, lookup: Error getting the remote service");}
    byte[] fileData = srvIntrface.getFile();
    This is how i connect to the interface on the client side... AND then get the file
    server variable - is the ip of the remote machine
    ==================
    SERVER SIDE
    ==================
    MyServer mySrvr = new MyServer();
    Naming.rebind("//localhost:1099/Interface",mySrvr);
    this is how i bind the interface to the server
    ================
    PROBLEM
    ================
    i am working on a LAN.... when i run the above codes on one of the machines e.g. machine1.... the machine1 works fine and can get the file from machine 2. but when i run it on machine 2 and try to get the file from machine 1 following exception occurs
    Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect
    Please help

    Thank you for your responses....
    i do run the registry on both machines...
    as such
    "start rmiregistry 1099"
    plus i system.out the variable "server" with your suggestion.... it gives out the correct ip of the machines to be looked up!
    e.g.
    if i want to connect to 192.168.1.2.... the server variable is gives out the correct ip...
    i have been trying to solve this problem for a very long time... but can't seem to find a way around it...
    this is how i run my server and client
    java -Djava.rmi.server.codebase=file:/C:j2sdk1.4.2_04\bin/ -Djava.rmi.server.hostname=localhost
    -Djava.security.policy=java.policy MyServer
    java -Djava.rmi.server.codebase=file:/C:j2sdk1.4.2_04\bin/ -Djava.security.policy=java.policy MyClient
    my policy file is: just wanted to be very relaxed
    grant {
    permission java.net.SocketPermission "*:*","connect,accept,resolve";
    permission java.net.SocketPermission.AllPermission;
    permission java.security.AllPermission;
    permission java.io.FilePermission "c:\\j2sdk1.4.2_04/bin\\-","read,write,delete";
    Plz help

  • ITunes Store is not loading at all - same problem for Safari

    Dear all,
    Got the a.m. problem. iTunes Store is not loading at all. Safari in the same way. It stops while loading any site. After "www." the developement bar stops and is giving up as well. Guess for malfunction of Safari also the problem for the iTunes Store occurs.
    What can I do? I do not remember having changed anything. All version are on the newest version and should be ready to go.
    Thanks for all your comments and help which are much appreciated.
    Benjamin

    i think i could say they're only saving grace is being able to swap music from different computers. Had to go on my old mac g5 to access the store as it still has the old version of itunes and then transfer them with the shared library feature. But still it shouldn't have been that hard. Very disappointed with the lack of support from one of the biggest companies in the world. such an inconvenience, especially when it's then that's losing the money with the lack of access to the store.

  • Please Help Me - I am stuck with this problem for days

    O.k I have posted couple of problems here. But the latest one is as follows
    I trying to pass a Stiring Array from Java function to my native method. the native function in turn invokkes another function that takes a char [][] as its parameter. My native function basically converts teh jobjectarray into char [][] and then invoke the other function.
    JNIEXPORT jboolean JNICALL
    Java_copilotplus_DataTransferTab_GetStatus
    (JNIEnv *env, jobject o, jobjectArray fn, jlongArray size)
    char szStr[8][33];
    int len = env->GetArrayLength( fn );
    int i=0;
    for( i=0; i < len; i++ )
    jobject obj = env->GetObjectArrayElement(fn, i);
    jstring str = (jstring)obj;
    szStr[33] = (char)env->GetStringUTFChars( str, 0 );
         //*file = szStr[i];
    BOOL status = Upload(szStr);
    return status;
    BOOL Upload(char pFileName [][33])
         return TRUE;
    Now this compiles fine and makes a dll
    But when I run my java program it gives me this error
    HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Error ID: 4F533F57494E13120E43505002D4
    What am I doing wrong
    Please Help
    Vaishali

    The problem was that I did not ahve any actual values in the String Array. I was doing like this initially
    String []file = new String[8]
    and then when i pass file to the dll it was trying to read something which was not there. That's why it was crashing.
    But now I put some values in it and then it works fine.

  • Is this the same problem for all n81's?

    i have an n81(non-8 Gb one).everytime i start the phone,the music player starts up by default,runing in the background.now i want to know whether this is a phone feature of is there a problem with mine.If it is a problem,then what should i do to stop it from auto-starting?
    Make the most of now - tommorow is ANOTHER day
    Please click KUDOS if you like my reply !!
    N82 v31 hckd
    N81 v21 hckd
    Solved!
    Go to Solution.

    Thanks a lot.
    Make the most of now - tommorow is ANOTHER day
    Please click KUDOS if you like my reply !!
    N82 v31 hckd
    N81 v21 hckd

  • Export Issue - QT Interactive Slideshow - Same Problem for Years

    Come Apple... give us some real tech support for your software... like Keynote (Live support is equipment centric).
    I had this same issue over a year ago, reported it... and latest upgrade doesn't fix.
    Issue:
    - Export Keynote file as QuickTime Interactive Slideshow
    - Works perfectly on desktop
    - When played in browser... it loops at start, no matter if [first slide] is set to Manual ("On Click") or "Automatically After Transition". No matter if "local", or from my web host.
    - Happens SPORADICALLY... Yes... some files work, most don't. Also, different behavior in different browsers (Safari, Firefox). Who knows what's going on with 92% of the rest of the world (i.e., Explorer).
    Anyone here have any suggestions... Steve Jobs email address?

    Follow the below mentioned settings and check.
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    Now observe the connection.

  • ITunes states that my credit card security codes are invalid, but they are correct! I know for a fact that the information I've put in is correct, and I have tried three different credit cards; two visa, and one Amex. Same problem for others in 2008-now.

    How can I fix this problem? I've tried signing out and back in.
    I owe them $1.29 too, from a song, so I cannot select "none" as a payment.
    I'm not buying an iTunes giftcard, either.... HELP!
    I can't even download any free apps, or update my apps.
    Any ideas?

    Look, I understand I still need a card attached to the account. The problem is, it won't accept my card because I only have 87 cents in my bank account right now.
    If I had known there would be so much trouble with the iTunes card, I would have just put the cash in my bank account in the morning instead of buying an iTunes card (I didn't expect the banks to be open on Thanksgiving of course).
    Apple will only accept cards that have a balance. The balance is so small in my account that it won't accept it as a valid card.
    I'm going to have to contact Apple anyway to reset the security questions. That's obvious. Your answers were not exactly helpful. You didn't tell me anything I don't already know, but thanks for trying to be helpful.

  • My yahoo e-mail not pushing to iPhone4, again.  Had this same problem in October for several weeks.  My kids and husband have 3 other types of smart phones, and none of them are experiencing this problems.  This has been going on for 2 weeks so far.

    My yahoo e-mail is not pushing to my iPhone4, again.  Had this same problem for several weeks in October/November 2011.  It's been a problem again for two weeks now.  My kids and husband have three other types of smart phones, and none of them have had this problem.  I'm NOT impressed.  I've seen that others in the iPhone community have also been having this problem.  Is Apple doing anything about it?

    Read this: https://discussions.apple.com/message/17333604#17333604
    It's a yahoo issue. Nothing you can do on your phone to fix it.

  • Publishing problems for CS4 on Leopard

    I upgraded to Contribute CS4 on Mac OSX Leopard.  I seem to be stuck in a loop that prevents me from publishing.  I can pull the page up and edit it, but then when I try to publish, I get this message - "You can’t perform this action on this draft.  The draft is invalid because a lock has been broken and another instance might have already acted on the draft.  Contribute will remove this invalid draft from your machine."  So, if I hit "OK" for this, then it brings the unedited page back up, and there is a note at the top stating that I have an unpublished draft.  If I then click on the "unpublished draft" part of this message, it brings up a blank page, which I can get rid of by clicking "Discard draft".  This takes me back to the page I started with (unedited), where I can click "Edit page" and start the whole loop over again. 

    I have the same problem for my client's MacBook Pro (running a French Mac OS X version of Leopard). My own laptop (running US Mac OS X Leopard) does not seem to have any problems (tested on two other machines running US-based OS, which seemed fine).
    Has anyone an idea of how to swipe clean a Contribute CS 4 Installation (Preferences, Application Support, etc.) using a software or script other than Clean Script for Contribute CS 4? (I tried it out already, but did not seem to help). I think it may be linked to hidden files that are kept in some preference-like folders and when I proceed to reinstall the software, the 'bug' remains. Strangely, relaunching Contribute after a clean reinstall, I realized that my connection is already configured, which shouldn't be the case if I started from scratch again, correct?
    Any help is greatly appreciated!!!
    Thanks,
    Arnaud

  • Here.  Hi I buy pack but the problem is you already purchased in-app purchased but it hasn't been downloaded pls fix it for me and I buy before 15 days pack 19,99 and 4,99 and the same problem  in game world strike

    Hi I buy pack but the problem is you already purchased in-app purchased but it hasn't been downloaded pls fix it for me and I buy before 15 days pack 19,99 and 4,99 and the same problem want or were can I fit it pls

    The e-mail for World Strike support is: [email protected]
    You need to contact them with your questions.

  • 3 year old iMac 24 running OS10.7.4.  After it has been on for a day or so, it stops going to sleep and becomes very slow.  This only happens when Safari is running. Quitting Safari solves the problem.  Has anyone else have the same problem?

    3 year old iMac 24 running OS 10.7.4.  After it has been on for a day or so, it stops going to sleep and becomes very slow.  This only happens when Safari is running. Quitting Safari solves the problem.  Has anyone else have the same problem?  Does not happen on MacBookpro only on iMac.

    Hello Albert, see how many of these you can answer...
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab, are there a lot of Pageouts?

  • We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problems happens to a lot fo friends after the upgrade! Is it possible to remove the problem?? Thanks. Mauro, Italy.

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

  • I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired

    I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired and i also reset network setting but nothing gonna be worked

    Sounds like the device was dropped at some point and damaged as a result.
    Take it to Apple for evaluation and a replacement.

  • My iPad won't open itunes. I have software update iOS 7.1.1 trying to download for days. Is this the problem or something else?

    My iPad  won't open itunes. Wifi ok safari working. Software update trying to download for days 7.1.1. Is this the problem? How to fix?

    If Safari is working otherwise and you can log onto other websites, try clearing Safari and reset your iPad. That might help with the Twitter app as well.
    Settings>Safari>Clear Cookies and Data.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for

  • EPMA 11.1.2 Essbase Hangs at status waiting for Update

    I know that in 11.1.1.3 there were issues deploying an essbase cube from EPMA, 11.1.2 however claims to be able to do this, but I am having a problem getting the cube deployed. I am on 64-Bit Windows 2008, all hyperion products are version 11.1.2 wit

  • How to get Vendor Text in BBP_POC in SRM for Smartforms?

    Hi Guys, I kept looking for ways on how to get the Vendor Text in BBP_POC transaction to be used in our Zsmartforms; unfortunately, I was not able to identify how. In ECC system, I could get the long text through double-clicking on the text area and

  • Importing MS word files with footnotes

    Laying out a textbook. Client provided formatted text. The footnotes travel with the text as I edit which is great. However, I do not want the rule that separates the footnote from the text. I've searche ID and MS Word high and low to see how to get

  • Hyperion Workspace issue - Scrollbar Missing on Workspace 11.1.2.0.00

    Hi EPM Experts, I am having problems with the Workspaces scrollbars. They are vanishing without no reason. Only temporary resolution is to restart the services, but it is recurring issue. Any hints to FIX this issue will be highly appreciated. Thanks

  • IE 11 and Adobe Reader 9 print Error - HELP

    Hello, At the company I work for we are trying to see if upgrading to IE 11 will work for us. Currently the ERP system we use requires a certain version of Adobe Reader, which is 9. I have done testing with XI, but no avail. Also this ERP system requ