ALERT ALL PEOPLE !!!! There is a bug ...

yesterday i posted a quest...the situation was..
I was unable to remove a element from DefaultListModel.....But I have found its answer myself..
You all are hereby advised that if u r using jdk1.4 beta 3..then u will not be able to remove the element from DefaultListModel ..I donot know why...but it is sure..You can do the same thing with jdk1.4beta3 if u hardcoded the value of selectedIndex..
but if u r writing like this...
int index = JList.getSelectedIndex()
DefaultListModel model = (DefaultListModel)JList.getmodel();
model.removeElementAt(index);
then it will throw an error "ArrayIndexOutOfBoundException".....
(Assuming model was set to list and elements were added.)
BUT if u do the same thing with jdk1.2.2 then every thing will be OKAY..
However It is bug and I will submit this to SUN also..
But All of u r requested and of course to check it out first.
All the best !!!
Sanjeev Dhiman

OOPS !! u r a lady...it was not known to me..well sorry but really i compiled my code by any compiler either 1.2.2 or 1.4 beta3 ..hardly matters..but when i run my code with 1.4, it throws an exception..but not with 1.2.2.....
let me clear it about what i am doing..
I want to remove an element from list from DefaultListModel . so I select a item from list by getselectedindex ..suppose it return 0..OKAY....and i have written ..
DefaultListModel model = (DefaultListModel)Jlist.getModel()
model.removeElementAt(Jlist.getSelectedIndex)..
IS IT OKAY ?
now, running my code with 1.2.2., every thing is okay
but, running my code with 1.4 ...it is throwing an excep. ArrayIndexOutofBoundException -1 < 0
and when I minimise my JFrame and again resize ..I found that corrosponding element has been deleted...
Now if I do the same thing with my selectedIndex as 0 (I mean hardcoded ..no error occurs..
plz. give me some suitable guidence about my fault..if u think that there is some problem in my code...then i can send my code to u..
However I am very careful about my TONE
Waiting !

Similar Messages

  • Is There a Public "Bug and Issue Management System" for Strobe Media Playback?

    HI all,
    Is there a public "Bug and Issue Management System" for Strobe Media Playback?  Or is this forum the only officially supported public mechanism for SMP bug reporting and feature requests?
    (fyi, I ask in part because SMP is built on top of OSMF, and both projects are led by development teams at Adobe.  The OSMF project, however, has fuller level of support including "Bug and Issue Management System" here:
    https://bugs.adobe.com/jira/browse/FM   )
    Thank you to all of the SMP team for this great player!
    Best regards,
    g

    Hi Greg,
    Here is our public bug and issue management page:
    http://bugs.adobe.com/jira/browse/ST
    Thanks for your interest in Strobe Media Playback and for your great articles!
    -Andrian

  • There is a bug in FF 14,15,16 (I believe all 3) regarding mousedown x/y in an SVG canvas area. Please advise how to report this and have someone fix it.

    I am a web developer. The bug is in latest versions of FF however works fine in previous versions 6-9 (I believe), IE,Chrome. Please go to http://partybannerman.com/svg2/svg-editor.php?id=108&catid=35&wch=MXx5
    Select the number 7 with the arrow tool. Observe the location of the cursor
    Click-drag the selection and closely watch the cursor.
    The cursor no longer is in the same relative position. relative to the object selected.
    This is particularly annoying when zoomed into the "7".
    The precision is necessary for commands that we are implementing that require the cursor position relative to the object selected to be exact.
    Please advise, and thanks for your help

    Not entirely sure I follow your instructions. One thing I do note is the initial starting position of the "7" differs when I compare Firefox (17 or 10) with Chrome. Is that relevant ?
    I wonder if part of the difference may be in how differing browsers cope with the code. I am not a developer and do not know how relevant this is but I note if I try the validator http://validator.w3.org/unicorn/ it is returning some errors.
    If you do think there is a bug try to make a simple test-case that demonstrates this and post in [https://bugzilla.mozilla.org/ bugzilla]. If this appears to be a regression it would be handy to pin it down at least to a particular Firefox version, although users should not now be using Firefox 6-9. (Drill down from [https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ here] if you need an old version of Firefox to run tests with)
    Someone more knowledgeable may provide further information, or if you need advice on troubleshooting coding issues you may find this forum useful http://forums.mozillazine.org/viewforum.php?f=25

  • Lost all of my outlook groups, music and photos from my PC and iphone and Ipad2 when snycing up...Had to mannually reconfigure Outlook contacts - then deleted Iclound from everything - from other comments there are some bugs here and would warn others wh

    Lost email groups from outlook, photos and music from Iphone four and Ipad2 when snycing to Icloud.  Had to reconfgure Outlook Manually and then deleted Icloud. A warning to others that there are some bugs here or else it is not being exdplained properly to end users

    or... put your photos in "My Pictures" in My Documents, and viola, itunes syncs it to the iphone. only one sentence needed =/
    maybe im missing your point here, the long paragraph is mindboggling

  • [svn:fx-trunk] 11810: Fixing up some logic around pauseWhenHidden ( there were some bugs) and also changing some logic around enabling/ disabling.

    Revision: 11810
    Revision: 11810
    Author:   [email protected]
    Date:     2009-11-13 17:07:56 -0800 (Fri, 13 Nov 2009)
    Log Message:
    Fixing up some logic around pauseWhenHidden (there were some bugs) and also changing some logic around enabling/disabling.  Also fixing a small documentation bug on VideoPlayer2.scaleMode.
    When a video component (or one of its ancestors) becomes disabled, the video pauses.  When it becomes re-enabled, we do not play the video.  This behavior is baked in to VideoDisplay and does not depend on the pauseWhenHidden flag.
    QE notes: -
    Doc notes: -
    Bugs: SDK-24182, SDK-24181, SDK-24193
    Reviewer: Kevin
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24182
        http://bugs.adobe.com/jira/browse/SDK-24181
        http://bugs.adobe.com/jira/browse/SDK-24193
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as

    Thanks Erik,
    If nothing else, this huge list of updates and fixes, shows clearly that the Logic Dev team is working hard on fixing and improving LPX to a major degree.... and from the list of fixes done.. show they do read the bug reports submitted!
    As an aside....
    I recall how all the 'naysayers' prior to LPX (and in some cases, since...)  were proclaiming how Logic was dead, the team was being disbanded, we won't see any further development, the Dev team doesn't listen or care... and so on....... I wonder where those people are now?

  • HT1665 There is a bug in the spellchecking functionality when typing in the web view or while using Blogsy App. Why? Why my IPad crashes so often?

    There is a bug in the spellchecking functionality when typing in the web view or while using Blogsy App. Why? Why my IPad crashes so often?

    I have always found spell check to be "buggy" in every version of all of the iOS's that I have run on my original model iPad and my new iPad - especially when replying and typing posts in these forums. It works perfectly in every other application on my iPad but it has never worked perfectly in any web browser that I have used on my iPad - no matter what I have done to try to correct it. That is what MY experience has been with spell check on my iPads.
    As for the crashes on your iPad try these basic troubleshooting steps.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    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 - let go of the buttons.
    Quit all apps and restart. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • HT1933 Good all, is there anyone with problem on the whatsapp 2.11.6 version. It's was crashing on my iPhone. I thought these software was first tested before uploading.

    Good all, is there anyone with problem on the whatsapp 2.11.6 version. It's was crashing on my iPhone. I thought these software was first tested before uploading.

    Looking at the reviews for the current version of the app in the app store it looks like other people are also having problems with it - you could try contacting the developers of the app : http://www.whatsapp.com/contact/

  • I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browse

    I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browser/content/browser.xul Line Number 1, column 8702:....................."
    I did evrey thing, but the same problem
    reinstall SpeedBit, reinstall Mozilla Firefox.
    So what can I do!
    == This happened ==
    Every time Firefox opened
    == 4 days ago

    look people, i may have a solution for this. This happened to me a few times before and resolved alone, but last time it happened was when i turned off my router and back on while my comp was running and appeared when i tried opening firefox after that. so wat i did was i shutdown the computer and the router and tried turning both on again, and it resolved.
    Therefore, Summary: Shutdown computer then turnoff router then turn both back on
    Hope this helps anyone.

  • HUGE VIDEO PROBLEM!  The colors are all wrong!  Quicktime Gamma Bug!

    I'm on a Mac, and there is a huge problem with video.  When you view or playback videos, the color is all wrong!  It's desaturated and faded.  If you import your videos into premiere or playback through vlc, then everything looks correct. If you play them back or edit them in lightroom, the colors are all wrong. 
    Nice try Adobe, but you failed.         

    Ok, but we'll need more details.
    Your OS version, how you calibrate your monitor, whether you see the same playing through Quicktime standalone on your Mac, what camera the videos came from, whether they've been edited in other software, etc. 
    This is a beta so there will be bugs - that information could help narrow down and fix issues such as these.

  • Allow email alerts from people that are on the DND bypass list

    Is there any way to Allow email alerts from people that are on the DND bypass list, so that those notificvations still come through as expected?  I can get calls and SMS, but not emails.
    Thanks,
    Andrew

    No. Sorry.  So far as I know, SMS messages should be silenced as well. Only calls from those you've opted to allow are permitted through. SMS messages will not sound a notification.

  • How do I get Alert Tone to sound for Weather Bug Alerts?

    I'm not able to get the Alert Tones to sound for Weather Bug weather Alerts and FOX News news Alerts.
    I have the sounds turn on in the notification section, but when alerts come in there's no sound.

    Hello DenWD
    If the notification sound is not working, then I would recommend removing the App to get it out of Notification Center and then download it again and change the settings to see if that resolves the issue.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Regards,
    -Norm G.  

  • I downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    i downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    hi philly, thanks for getting back to me, especially on such a busy day.
    I don't think that's quite the issue though. I bought an album and it appears in 'my purchases' within the itunes app. Yet, in order to listen to the music, i must use the 'music' app and in this application, there are only three tracks displayed at any one time from my downloaded album.
    I can 'download all' from the 'my purchases' section but that still doesn't help, it just keeps the last three tracks downloaded in the music app.
    I have the 'icloud' enabled and wondered if it had anything to do with that.
    i have successfully downloaded another full album totally into the music app, but this first album is causing me problems.

  • I have had a reinstall nightmare getting my loops back they are in the apple library, I can access them through the media browser but I only have a few available through the loop browser, how do I get them all back there again? please help

    I have had a reinstall nightmare getting my loops back they are in the apple library, I can access them through the media browser but I only have a few available through the loop browser, how do I get them all back there again? please help

    "Where do I find my hundreds of dollars of downloads I have done since 2005?"
    They will only be where you put them  If you are doing the very basics, then they will be on your computer and they will be in your backup copy of your computer.
    The itunes store is not global at all, never has been. You cannot redownload your content from another country.  You can only use the countrys itunes store for the country that you are physically located.

  • I have an iPhone 4 that i was trying to fix and now it will not turn on at all is there anyway that i can access all my pictures and contacts from my new phone or pc? It is also on the same apple id, but i dont know if that would help with anything.

    I have an iPhone 4 thats i was trying to fix and now it will not turn on at all is there anyway that i can access my pictures and contacts from my new phone or pc? Aslo the are both on the same apple id but i dont know if that would help or not.

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them.

    I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them. How do I completely clear my ipod music, and how can I solve the syncing problem?

    Sync works the same way it always has, connect the device, select the content desired to sync and sync.
    All the media should be in iTunes already, iDevices are not and have never been backup devices.
    If this is a new computer, move the content from the old computer to the new computer.

Maybe you are looking for