E52 Battery Strange problem

I have strange battery problem with my E52 since purchase of set. After few minutes of usage it drops from full charge to low battery indicator, nothing in between. If I use same battery in other phone it works normally for 3-4days.
If phone is switched off for few second, battery returns to full but againt this works for few minutes of talk time and again back to no charge. There is frequent shutdowns with no charge.
Nokia Service centre has no idea on this. They formatted it and reloaded software but problem remains. I have updated sofware myself. I have hard resetted few times using key combination but nothing has solved this problem.
I purchased this E52 for battery life and it is virtually unusable due to this strange problem.
Anyone has got any idea on solving this. Please help.

I have tried different battery and charger but to no effect and used energy profiler also.no exceptional usage of battery and chance of short circuit is unlikely as actually battery is not discharged. I just switch it off and turn it on and it is back to normal. And after little use it is again low battery or no charge.
Nokia Service center just formatted and reloaded software and it worked fine for a month or so. They do not seem to acknowledge this problem at all. 
Now i just put it on charge after every few hours to use it but thoroughly disappointed with Nokia. I swear this it is my last Nokia and will advice everyone to just dump Nokia.

Similar Messages

  • Strange problem with new iBook G3 battery

    Hi everyone!
    I'm facing a strange problem with the new battery I've bought for my 12" iBook G3 800MHz (full specs PowerPC G3 800MHz CPU, 640MB SDRAM 133MHz, DVD-ROM, 20GB HDD, running OSX 10.4.11)..So I've got this laptop two months ago from a friend who wasn't using it anymore, and the original battery was almost dead: 141mAh of maximum charge was giving me about 6 minutes of work. I've recived the new battery yesterday (it was completely charge-less: the indicator lights weren't working), but it has this curious problem: when the iBook is off, it won't charge. I gave it a full charge with the laptop on, up to 100% (4414mAh), and was working fine. But this morning it started going crazy: osx gets bad charge readings, since the percentage jumps randomly from the correct value (and there stays about 2-3 minutes) to 3-4% or 100%. The battery itself is working: only readings are really bad. And there's still the odd "I'm not charging while iBook's off" problem..I'm currently trying to calibrate the battery: could that be the problem? I've already made PRAM, NVRAM and PMU resets..ideas? Thanks

    Before sending it back try a PMU and PRAM reset.
    http://support.apple.com/kb/ht1379
    http://support.apple.com/kb/HT1431

  • Computer slower and a few other strange problems since upgrading to SL

    Hi all,
    About a month ago, I upgraded my mid-2009 MBP to SL. I'm now on 10.6.1. Ever since the upgrade, my computer's been somewhat slower than it was when I ran Leopard (although many people I know say their machines are faster). I did restart several times at one point, and that seemed to speed it up, although it still experiences delays I didn't have before. I've also had a bunch of strange issues:
    1) Safari is most noticeably slow, especially when using something like Top Sites on Safari 4. I alleviated this problem somewhat by setting new tabs to open a blank window rather than Top Sites, but even so, Safari is generally slower, gives me 'pinwheels' often, and also is less stable.
    2) The other day, I restarted to find that all fonts except system fonts had been mysteriously deactivated. As a designer, I rely heavily on my many fonts, which I manage using Linotype FontExplorer.
    3) Today, I opened my computer up after having it sleeping in a backpack, and it had turned off. It was not out of battery; it had just turned off for no apparent reason.
    4) Judging by Activity Monitor, RAM is being used somewhat more heavily by the system, contrary to the advertisements of a 'lighter' footprint for SL as compared to Leopard. However, according to Activity Monitor (which I check frequently), the processor does not appear to be getting taxed any more heavily than under Leopard, which makes the sluggishness more inexplicable.
    5) Yesterday, I could not get my computer to recognize my Time Machine backup disc. After restarting, it worked, but this is a pain.
    I appreciate any advice I can get. Does anyone else have similar problems or solutions? Or is the general consensus that these are SL bugs that Apple will work out by about 10.6.4 or so?
    Thanks,
    Nathan
    Message was edited by: nateeanes

    I began this thread awhile ago, but the essence of it is that I had a number of strange problems, although mostly my computer was just slower, when upgrading from Leo to SL.
    I've now wiped my HD and re-installed SL. It seems faster, although there are still a few issues:
    1) iWork (Pages, Numbers) has very weird coloring. All the text looks light blue and/or cyan, and I can't fix it.
    2) Although initially Safari worked great, lately it's been going back to its habits of being slow and showing strange things like chopping up the 'Top Sites' view, i.e. rendering it in an off way.
    3) Adobe CS3 will not install properly. I get them loaded up, but when I try to launch a program, I get an error that says "licensing for this product has stopped working". I cannot get to the 'activate' page, even though I uninstalled and deactivated CS3.
    In the interest of full disclosure, I did restore my home account after clean installing SL-- maybe I should have brought the files over folder by folder rather than bringing back my whole home folder with its settings? I wonder if I accidentally brought over Adobe's FLEXnet folder too.
    Also, does anyone know if Adobe CS3 can cause these problems with Safari and other programs? It just seems that the whole machine was slower after installing CS3, even though I wasn't running the programs.
    Any help is appreciated.
    Nate

  • Strange problems on Macbook Pro over past year...

    I'm about to do an erase and install after having numerous strange problems on my mid 2009 17" Macbook Pro (Leopard) over the past year, some of which I have opened threads for on these forums.
    They are listed bellow to see if anyone wants to give their final two cents as to what is causing them. They may or might not be related.
    1) I recently found the "Unknown" user classifications at second from top in the user priveleges for the main Macintosh HD folder and "Local Work" – which is my main folder for work.
    http://discussions.apple.com/thread.jspa?threadID=2741617&tstart=0
    2) Last Summer I had some very strange login problems which were well documented in this very long winding thread here:
    http://discussions.apple.com/thread.jspa?threadID=2485199&tstart=0
    3) Can't access iTunes store due to this error code -54. Thread opened here:
    http://discussions.apple.com/thread.jspa?threadID=2653733&tstart=0
    4) Some proceses I've seen in the activity monitor that are possibly a little sketchy are as follows:
    - "netsessionmac1" ... Akamai playing about?
    - "TaskManagerDaemo" ... with "Root" user, ... sounds a bit vague and possible malware according to google?
    5) In Skype I get constant warnings of other computers trying to connect from Little Snitch and Virus Barrier. I get so many of them one after they other pausing skype that I can only use Skype with Little Snitch off. I can only use it late at night also as there seems to be more attempts being blocked in virus barrier during the day that I can't even get past the login:
    Some examples in screen grabs:
    http://oi56.tinypic.com/xkwwtf.jpg
    http://oi55.tinypic.com/2v2w941.jpg
    And other examples of the hundreds of different IP addresses I've had asking to access computer on some obscure 4 digit port:
    http://whatismyipaddress.com/ip/86.178.52.58
    http://whatismyipaddress.com/ip/94.168.76.16
    http://whatismyipaddress.com/ip/94.171.116.123
    http://whatismyipaddress.com/ip/92.235.196.125
    http://whatismyipaddress.com/ip/92.239.25.70
    http://whatismyipaddress.com/ip/192.168.0.1
    http://whatismyipaddress.com/ip/92.235.208.101
    http://whatismyipaddress.com/ip/92.236.252.132
    http://whatismyipaddress.com/ip/85.15.190.49
    ... etc
    6) I have to constantly open and close Mail after it hangs on sending. Says there is a connection problem on port 110 or whatever, but words fine as soon as I open again. This problem happens particularly when I want to send from my 2nd or 3rd POP or IMAP other than my normal one.
    7) Slow Safari/Firefox and internet.
    8) I got this strange warning about my IP changing recently when downloading a file:
    http://oi53.tinypic.com/2z4b77o.jpg
    9) My internet cuts out for large periods of time while the other PC desktop in my house works perfectly fine.
    Well, any last suggestions much appreciated. Many thanks.
    Message was edited by: Scottishengineer

    I suppose your expanding battery problem could have caused some or all of these problems, but most of them sound like software issues.
    If I were you I'd try a few things:
    1. boot from your snow leopard install disk and repair your startup disk with disk utility.
    2. repeat the repairs until no repairs are reported (the toilet paper principle).
    3. repair permissions again.
    4. if the problems persist, trash the preferences files for the misbehaving apps.
    5. if the problems persist, delete the misbehaving apps and reinstall them.
    6. it the shutoffs persist, try a PMU reset.
    7. a PRAM reset would probably be a good idea too.
    8. if none of that works, archive and reinstall.
    there is a freeware utility called applejack that will also do most of this.
    Details on all of these will be readily available with a google search.

  • Creative zen : vision M 30gb strange problem

    ,Creative zen : vision M 30gb strange problem. Hi people,
    My mp3 player is 2 and a half years old. A few months ago he didn't charge anymore. ?I thought i could repair it by buying a new battery and install him in my mp3.
    Afther a few ours of ?assembling it was ready for charging a thought..
    I used the usb charger and de sync adapter...
    the morning after, my mp3 is not charged and only showing me a little red stripe in de battery (right top) i can listen music but only for a few minutes...
    Also my PC does noet see my MP3
    tested on :
    windows xp service pack 3?
    vista?
    windows 7?
    please help me
    Stijn van Vilsteren?
    DUTCH?
    i am sorry for my pore english !

    Squipy wrote:
    Hi, I stopped using this MP3 for about 2 or so years because I bought a new one. I decided to start using it again and downloaded all the required software but as soon as I unplugged the MP3 from the power outlet, the player died. I can't get it to start up without plugging it into a power outlet. I think it has rechargable battery? Why didn't it recharge itself?
    My second enquiry is about the capacity of the player. When my player was empty, I went into "Information" and it said Total Space: 28GB and Free Space: 2GB. Why is free space only 2GB? Shouldn't it be 28 as well?
    Thanks in advance!
    The battery will only last about 3yrs regardless of use.You will need to change it. Did you scroll down to see the album,picture,track counts? Did you partition part of the dri've for removable storage. You can find instructions to open here ? http://www.youtube.com/watch?v=_Drkr...e=channel_page & ? the battery here(very easy to do) http://cgi.ebay.com/Original-Creative-ZEN-Vision-M-30gb-Battery-LPCS285385_W0QQitemZ400028645679QQcmdZViewItemQQpt ZOther_MP3_Player_Accessories?hash=item40002864567 9&_trksid=p39.c0.m4&_trkparms=72%3A205|66%3A4|65%3 A2|39%3A|240%3A38|30%3A0|293%3A|294%3A200

  • Strange Problem with P67A-GD65

    Hi just got this board along with a 2500k and 8gb corsair xms3. Im getting a strange problem with the board as it when its supposed to be rebooting it just shuts down.
    Ive flashed it to the latest 1.6 bios before anything just to be safe which went ok, it boots and i select boot from dvd, i get to the part where windows 7 install wants to reboots and it just shuts down, then when i power up it starts win7 install and says there was an error and i must restart installation
    Any ideas?
    Ive tried clearing the cmos, removed power leads and cmos battery for a good while, even reflashed the bios to no avail so far

    Quote
    By the way, 1.7 bios is not available for download on european site, only us.
      I just saw it at the Global MSI site.

  • 10.4.4 Strange Problem – Menu Bar Icons

    I installed the OS X 10.4.4 update through Software Update this morning, repairing permissions before and afterwards. Although the installation seemed to work fine, there is now a strange problem which has happened since I first re-started the Mac.
    The left side of the menu bar is working normally, with the curved corner and apple/application menus, but all the icons, the clock, and even Spotlight have disappeared from the right.
    Even stranger, the top-right corner is not curved, but is square and extends right to the corner of the monitor.
    I did use ShapeShifter, but I doubt this has caused the error as I disabled it before the update, and have not re-enabled it since.
    Does anyone have any idea what's happened, or what I should do about it?

    I had the same problem.
    I updated to 10.4.4 a few days ago. After restarting, the entire top right of the menu bar disappeared, went missing.
    The corner of the screen became square rather than the usual rounded effect. the clock disappeared, as well as all the items up there .. battery, airport, bluetooth, etc. It all just disappeared.
    It made no difference at all if you went to the control panel and turned on the items again ... the whole top-right area of the menu bar was messed up.
    Based on the info in the previous - THANKS - here is how I fixed the problem.
    I got my other laptop (I guess if you're an OSX user, it's good to have two laptops!) which still had a working menu bar. I copied the folder
    /System/Library/CoreServices/Search.bundle
    from my working powerbook to the powerbook with the missing menu bar. You will have to be able to log in as root on the target machine to do this.
    I simply restarted and then everythying was fine. I did NOT have to resinstall 10.4.4 or anything.
    Why does it happen?
    I too had got rid of the spotlight search field at the top right of the menu bar by dsoing the usual hack to get rid of it. It appears this interacts badly with the updates.
    Since a large percentage of users want to get rid of the spotlight search field in the menu bar, this will probably be an ongoing problem with each new upgrade...

  • Strange problem with P35 Neo

    Hi there.
    Got a strange problem with a computer that got a P35 Neo system board.
    The problem I got, is that the computer don't boot. If I reset the CMOS,
    I can get the computer to boot, but then it hungs on loading Vista.
    Then I try to repair my Vista. Then the computer hungs while loading the DVD.
    I have tried to boot with only one RAM in the computer, but the problem still
    there...
    I have tried to reset the CMOS by changing the JPBAT (I think it called so) jumper
    and to pull out the battery.
    I have tried to disconnect all, but one HDD and but I can't say that it worked any
    better...
    Any ideas how to find out the error?
    2 x 2 GB Corsair RAM
    Intel dual Core CPU
    Radeon 1950 PCI-E
    1 Samsung SATA HDD
    2 Seagate SATA HDD

    Quote from: BOSSKILLER on 25-August-08, 20:31:15
    What PSU you have? Corsair Powersupply 550W Black, ATX/EPS
    Provide better details about memory sticks used. Corsair TWIN2X 6400C4DHX DDR2
    What CPU? Intel Core 2 Quad Q6600 2.4 GHz
    BIOS version onboard? Note sure, since I'm not right at the computer for the moment. But I think it's 1.0 since it is brand new from store.
    Do memory check with >>Memtest86<< Well, it's kind of difficult, since the computer dont boot.

  • Emac battery / startup problems

    Hi everyone I am having a strange problem with my emac,
    Basically when I turn it on it either:
    Turns on the straight back off again with no image on the screen
    or
    Turns on "bongs" displays nothing on the screen then turns off after a few seconds
    or
    Turns on "bongs" displays nothing on the screen then just stays powered on till i hold down the power button for 5 secs
    or
    Turns on "bongs" goes to the white screen with the apple then hangs untill I hold down the power button for 5 secs.
    or
    sometimes it boots up ok.
    If I unplug it for half an hour and can get into the OS it resets the clock to 1970.
    This would suggest a PRAM battery problem? However I have changed the battey and also tested the voltage of the old battery and the new one both in the mac and in my hand both read 3.8v
    I have also reset the PRAM and PMU.
    Also tried swapping the RAM chips for some others.
    I'm stumped any one got any ideas?
    Cheers
    Shayne

    if none of those things worked then it's my guess it's probably a power supply problem. do you have anything hooked up to the emac at this time? you sound pretty savvy and i'm sure you've disconnected everything. at this point i would simply take the emac for repair. [ 8 ) ]

  • I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. Please help

    I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.

    zapgrap wrote:
    there is no information of locations.
    Then no information exists.  Use the Report a Problem button within the app to report it.

  • Yoga 3 Pro Battery Charging Problems

    I've combined several discussions into one because there are multiple cross-overs of symptoms.
    After reviewing all the posts, I see there are two types of problems discussed:
    Battery charging but only to a certain percentage
    Battery intermittently charging
    Several people have reported success with their limited battery percentage problem by following the solutions suggested by MarinM and Vladtech.
    For the intermittent charging, several people have reported that sometimes the battery charges, sometimes it doesn't. I'd like to dig into these reports. I have a few questions I'd like to ask.
    When does it charge, when does it not?
    Are there any patterns to this?
    Does swapping electrical outlets make a difference?
    Does the USB 2.0 charging port appear loose?
    Does the cable show any signs of damage?
    Does the AC adapter show any signs of damage?
    When a second device is plugged into the extra USB port on the AC Adapter, does this impact Y3P charging?
    Are there any battery error messages?
    Thank you for your help,
    4/6/15 EDIT: Moved message for escalation purposes. Amy_Lenovo
    Amy Tupper
    Technical Resolution Lead, Pervasive Issues
    Lenovo US
    ThinkPad T431s, S3 Yoga 14, Helix, Edge 11 & 14, E431, IdeaTab A1107, IdeaPad A1-07, IdeaCentre Horizon, Yoga Tablet 2 10 1051
    First computer was a 1980 Commodore 64 from Radio Shack/ GEnie SFRT member from 1993-1996

    I'd like to hear more about what happened to your Yoga 3 Pro not charging.
    Did you call Lenovo Service or find another solution?
    Thank you,
    Amy Tupper
    Technical Resolution Lead, Pervasive Issues
    Lenovo US
    ThinkPad T431s, S3 Yoga 14, Helix, Edge 11 & 14, E431, IdeaTab A1107, IdeaPad A1-07, IdeaCentre Horizon, Yoga Tablet 2 10 1051
    First computer was a 1980 Commodore 64 from Radio Shack/ GEnie SFRT member from 1993-1996

  • My iphone 4s wifi on/off appear grayed out or dim i can not use and battery got problem with retain charge even not in use. and i am in india here no taking my product for repair . how i sort out this issue

    Hi,
    i bought iphone 4s in london but now return to india . right now i can not access wifi option because wifi on/off grayed out or dim . and also battery got problem to retain power it automatically loose power even not in use. i went to local apple service centre they said could not repair in india.they said talk to uk apple centre. so what i do now please any one give guidence .

    You posted in the iPad forum instead of the iPhone forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

  • I am having a strange problems on the Data entry Forms

    A form that has been used since 2005 in an old version of HFM 3.51 was migrated to SYstem 11.1.2.1 in January of 2012 and has been working since then. Suddenly we start having some strange problems. Our response time has been very slow and I am wondering if there were some problems in any of the services. Maybe a service did not start properly related to the WEB forms.
    We entered a number in one of the cell to be: 348336349 as soon as we hit enter, the number was formatted to 348,336,349 but when I submit the number it came back as 3. I tried it several times and it did not work, I checked the scaling and that was set blank. One of my user tried it and it did not work. I tried looking into the Preferences and my screen froze. In the meantime one of my user was able to enter the number and was able to refresh it as well. Then she enter another number on a different cell and the same problem occurred it seemed as if it truncated all the digits except for the left most digit, we are unable to figure out how to resolve this issue. The number entereed in the cell is 826,251,218 it stores 8 and loses the rest of the 8 digits. I right click and checlk the properties and it says that it has stored 8 instead of 826,251,218.
    Following is the DEF script. Does anyone has any ideas, I am wondering if I have to restart the services..
    ReportType=WebForm
    ReportLabel=Aging_Receivables
    ReportDescription=Aging Receivables
    Instructions=Please make sure you set up your point of view (POV) appropriately. Business Unit (BU): AG, CE and Other_BU. Brand: Case, NH and Other_Brand.
    BackgroundPOV=S#Actual.Y#2011.P#Jan.w#YTD.V#<Entity Currency>.I#[ICP None].C2#SERVICED.C3#GL_INPUT.C4#Input
    SelectablePOVList=S{[Hierarchy]}.Y{[Hierarchy]}.P{[Third Generation]}.E{[Hierarchy]}.C1{[Base]}.C2{[Hierarchy]}.C3{[Base]}.C4{GL.[Hierarchy]}
    C1=A#Current
    C2=A#0_To_30
    C3=A#Total_Current
    C4=A#31_To_60
    C5=A#61_To_90
    C6=A#91_To_120
    C7=A#121 Plus
    C8=A#Total_Past_Due
    C9=A#Total_Aging_Rec
    C10=A#Current_OffBook
    C11=A#Past_Due_OffBook
    C12=A#T_Aging_Rec_OffBook
    C13=A#Total_MP_Aging_Rec
    C14=A#Aging_Rec_Diff
    R1=C1#_Retail
    R2=C1#_Wholesale_Tot
    R3=C1#_Wholesale
    R4=C1#_Wholesale_Natl
    R5=C1#_Wholesale_Othr
    R6=C1#_Credit_Card
    R7=C1#_Specialized_Lending
    R8=C1#_Marine
    R9=C1#_Soris
    R10=C1#_Other
    R11=C1#_Material
    R12=C1#Sup_Product
    FormInputBoxLength=23
    PrintNumRowsPerPage=33
    PrintNumDataColsPerPage=8
    ShowLabels=False
    ShowDescriptions=True
    SuppressColHeaderRepeats=False
    Edited by: user8267293 on Aug 8, 2012 12:41 PM
    Edited by: user8267293 on Aug 8, 2012 12:43 PM

    Hi,
    Did you find a way to solve your problem ? We have exactly the same for one application and we are using the same version of HFM : 11.1.2.1.
    This problem is only about webforms. We can correctly input data through Data Grids or Client 32.
    Thank you in advance for your answer.

  • Submitting a form with enter key causing strange problems

    I am having a very strange problem with a webapp I am currently developing. I am using JSF 1.2 along with Facelets and RichFaces. I have coded a workflow/wizard 4-step process, and on some pages I have 4 submit buttons that all call different actions on the page. The users thought it would be useful to have the enter key submit the form, so I followed some online resources to trap a keypress using javascript, looking for the enter keycode and calling document.getElementById("elementName").click(). This works fine most of the time. Sometimes, though, it seems as if an entire new session is being created, and odd behavior starts happening. For example, my page will only include 2 of the 4 facelets on the screen -or- I will get NullPointerExceptions for objects that I know have been created in the session bean I am currently using -or- I will get a duplicate form Id after trying to re-submit the page. Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"? I'm really at my wit's end here (plus it's nearly 3 AM, that never helps things). All of the buttons being clicked are standard h:commandButtons. There is some setTimeout logic included to disable the buttons on the page to prevent double clicks (I cannot disable them onsubmit because disabled buttons don't pass the right values, perhaps that's causing it, but if so, clicking the buttons with the mouse would cause that issue too, right?)
    I am not posting the code (yet), but if anyone wants to take a look see and see if I am doing something really abhorrently wrong, I'm more than willing to, I'm just curious if anyone has had problems regarding javascript submission of forms via the click() method. Clicking the button does not exhibit this type of behavior. Just as a side note: I am doing different things with the enter key depending if a modal window is open (the enter key closes the modal if it's up, and if not, it submits the form via a button click).
    Any help is much appreciated, if anyone has any inkling about where I should start looking for answers it would be really helpful.
    Thank you.

    edfrost wrote:
    Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"?My guess is the second of these. You need to suppress the event handling after programmatically clicking the button.

  • Short code causes a strange problem - About the list again -- please read!

    Hi again people. Maybe you remember my project - has a list, that you can search thru using a text field. During the work I got stuck on a strange problem ( Again :-( ) My app has one text field, one combo box, one list and a text field once more. The code should do the following ->
    *1. Load the list, no problem with that.*
    *2. Show the elements of the list, that match the selected group in the combo box,no problem.*
    *3. Search thru the list using the text field,no problem.*
    4. When the user selects an element from the list, it should display its info in the second text field. This also works fine, but when after looking at info of one of the elements the things on numbers 2 and 3 ( look up! ) stop working. I must say that everything works fine until user selects an element from the list. I couldnt understand this kind of behavior so I am asking you to help me please.
    The code is very simple:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class the_window extends JFrame implements DocumentListener, ItemListener, ListSelectionListener {
        FileReader reader;
        String data_base[][];
        String first_pass[];
        int number_of_elements;
        DefaultListModel dflm = new DefaultListModel();
        JList list;
        JTextField text_field = new JTextField();
        JTextField info_field = new JTextField();
        String groups[] = {"1. group" , "2. group"};
        JComboBox groups_cmbx = new JComboBox(groups);
        the_window(){
            super("the Window!");
            JPanel panel = new JPanel(null);
            Container c = this.getContentPane();
            c.add(panel);
            text_field.setBounds(10,10,170,25);
            text_field.getDocument().addDocumentListener(this);
            panel.add(text_field);
            groups_cmbx.setBounds(10,45,170,25);
            groups_cmbx.addItemListener(this);
            panel.add(groups_cmbx);
            list = new JList(dflm);
            list.setBounds(10,90,170,190);
            list.setFixedCellHeight(20);
            list.addListSelectionListener(this);
            panel.add(list);
            info_field.setBounds(10,280,170,25);
            panel.add(info_field);
            load_the_base();
            refresh();
            this.setSize(190,350);
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setResizable(false);
            this.setVisible(true);
        public void itemStateChanged(ItemEvent e){
            refresh();
        public void valueChanged(ListSelectionEvent e){
            String str = (String) dflm.getElementAt(list.getSelectedIndex());
            int index = 0;
            for(int i = 0; i < number_of_elements; i++){
                if(str.equals(data_base[0])){
    index = i;
    break;
    info_field.setText(data_base[index][1]);
    private void load_the_base(){
    String data = "";
    try{
    reader = new FileReader("data.txt";);
    int r = 0;
    while((r = reader.read()) != -1){
    char c = (char) r;
    data += c;
    reader.close();
    }catch(IOException e){}
    first_pass = data.split(";");
    number_of_elements = first_pass.length;
    data_base = new String[number_of_elements][];
    for(int i = 0; i<number_of_elements; i++){
    data_base[i] = first_pass[i].split("#");
    private void refresh(){
    String search_str = text_field.getText();
    int selektovano = groups_cmbx.getSelectedIndex();
    dflm.clear();
    for(int i = 0; i < number_of_elements; i++){
    int grupa = Integer.parseInt(data_base[i][2]);
    if(grupa == selektovano){
    String at_the_moment = data_base[i][0]; // if you change this to String at_the_moment = data_base[i][1]; it works perfectly
    if(at_the_moment.startsWith(search_str)){
    dflm.addElement(at_the_moment);
    public void changedUpdate(DocumentEvent e){
    refresh();
    public void removeUpdate(DocumentEvent e){
    refresh();
    public void insertUpdate(DocumentEvent e){
    refresh();
    public class Main {
    public static void main(String[] args) {
    JFrame f = new the_window();
    Now, can you please tell me whats wrong with this?
    For the "data.txt" make a new text file using *notepad* and copy the following line into the document:
    _1. element#1. info#0;2. element#2. info#0;3. element#3. info#1;4. element#4. info#1;5. element#5. info#1;_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Darryl.Burke wrote:
    Keith, thanks for making that readable. So here's the diagnosis -
    In the refresh() method, calling defaultListModel.clear() results in a valueChanged(...) event in which this method calldefaultListModel.getElementAt(list.getSelectedIndex())results in the exception noted, as getSelectedIndex returns -1, the list being empty... you can't getElementAt(-1).
    I haven't analyzed all the code nor checked whether is now works as desired, but this small change to valueChanged counters the exception being thrown.   public void valueChanged(ListSelectionEvent e) {
    infoField.setText(""); // do this unconditionally
    if (list.getSelectedIndex() != -1) {
    String value = (String)defaultListModel.getElementAt(list.getSelectedIndex());
    for(int i = 0; i < numFields; i++){
    if(value.equals(matrix[0])){
    infoField.setText(matrix[i][1]);
    break;
    db
    Yea! You were right! I didnt think that calling *list_model.clear();* will result in calling *valueChanged()* ........
    That was some *clear()* thinking :-) Thank you!
    corlettk wrote:
    I cleaned up some variable & method names (tut tut), imports (very naighty), and some thread stuff... but it remains fundamentally the same codeIs it so important to "clean" the imports? How much does it slow down the loading time? Should I do this on all my projects, because they are all "very naighty"?
    ps. Thanks to all that gave some help to answering this strange question :-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How do you use homeshare?

    I turned on homeshare and I put the ID of the account I wanted to share with, but I now I don't know where to find the songs. Can anyone help me? I would be helpful if theres some kind of vitsual aid.

  • RPD Patching ISSUES in OBIEE 11G

    Hi all, when i am doing the RPD patching in OBIEE 11G i ll be missing one subject area in the process of merging can some one provide the solution for this. i have two rpds one rpd contains the two subject areas and another rpd contains the single su

  • Transfer posting of tax in a cross company code transaction thru' RFBUST10

    Hi, I have a doubt regarding using the program RFBUST10 transferring the tax in a cross company transaction. I have posted an invoice entry as below and I want to transfer the tax posting of 7.00 from company code 1 to company code 2 using the progra

  • "Display PDF in Browser" setting - $500 reward for the solution

    The corporate policy requires the "Display PDF in Browser" setting to be unchecked for all applications, this is to open the PDF document in new reader instance but our specific application needs the reader to be opened in the same browser even if th

  • Issue with getting task:acquiredBy in a BPEL Composite.

    Hi, We are facing an issue with an XPath query: <assign name="RescanHumanTask_1_readTask"> <copy> <from variable="taskAssignedMessage" part="payload" query="/taskservice:taskAssignedMessage/task:task"/> <to variable="RescanHumanTask_1_globalVariable"