Solve one bug already solved?

Hi all,
Two days ago asked about one problem parsing html files with css. Now I found the bug on the bug database, but don�t know how to solve it. I think thata have to modify the CSS.java file, but I�m not sure.
This is the bug id: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5087905
What can I do? Thanks, Simon!

Can you help me???? I am getting desperate!!!!
This program tells me the error is on line 11 but I don't know where it is.
// This program prompts user to enter a number grade
// and outputs the corresponding letter grade.
// Janet S. Ward
// 12/03/04
import java.io.*;
public class Grades {
public static void main(String[] args) {
KeyboardReader reader = new KeyboardReader();
String grade
grade = reader.readInt("Enter a number grade: ");
if (grade >= 96 && grade <= 100)
System.out.println("A+");
else
if (grade >= 92 && grade <= 95)
System.out.println("A");
else
if (grade >= 90 && grade <= 91)
System.out.println("A-");
else
if (grade >= 86 && grade <= 89)
System.out.println("B+");
else
if (grade >= 82 && grade <= 85)
System.out.println("B");
else
if (grade >= 80 && grade <= 81)
System.out.println("B-");
else
if (grade >= 76 && grade <= 79)
System.out.println("C+");
else
if (grade >= 72 && grade <= 75)
System.out.println("C");
else
if (grade >= 70 && grade <= 71)
System.out.println("C-");
else
if (grade >= 66 && grade <= 69)
System.out.println("D+");
else
if (grade >= 62 && grade <= 65)
System.out.println("D");
else
if (grade >= 60 && grade <= 61)
System.out.println("D-");
else
if (grade = 0 && grade <= 59)
System.out.println("F");
}

Similar Messages

  • Getting this error while opening a folder : This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel

    Hi,
    While trying to open a folder on my Windows 7 Home Premium, an error comes "This file does not have a program associated with it for performing this
    action.  Please install a program or, if one is already installed, create an association in the Default Programs control panel." I tried searching on the net but did not get great support for the issue when it happens with folder opening.

    Hi Nikunj Shah,
    First, I suggest you download
    Microsoft Safety Scanner or
    Malicious Software Removal Tool to run a full scan.
    The error messages here seems to be caused by the corrupted registries, which related with the folder association.
    You may take a try to merge the following registry settings to reset the folder association, before that, remember to backup your registry settings first:
    How to back up and restore the registry in Windows
    Copy and paste the following commands into Notepad, and save it to a .reg file:
    =================
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Folder]
    "ContentViewModeLayoutPatternForBrowse"="delta"
    "ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;System.DateModified"
    "ContentViewModeLayoutPatternForSearch"="alpha"
    "ContentViewModeForSearch"="prop:~System.ItemNameDisplay;System.DateModified;~System.ItemFolderPathDisplay"
    @="Folder"
    "EditFlags"=hex:d2,03,00,00
    "FullDetails"="prop:System.PropGroup.Description;System.ItemNameDisplay;System.ItemTypeText;System.Size"
    "NoRecentDocs"=""
    "ThumbnailCutoff"=dword:00000000
    "TileInfo"="prop:System.Title;System.ItemTypeText"
    [HKEY_CLASSES_ROOT\Folder\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
      65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\explore]
    "MultiSelectModel"="Document"
    "ProgrammaticAccessOnly"=""
    "LaunchExplorerFlags"=dword:00000018
    [HKEY_CLASSES_ROOT\Folder\shell\explore\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\open]
    "MultiSelectModel"="Document"
    [HKEY_CLASSES_ROOT\Folder\shell\open\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess]
    "MUIVerb"="@shell32.dll,-8518"
    "MultiSelectModel"="Document"
    "Extended"=""
    "LaunchExplorerFlags"=dword:00000003
    "ExplorerHost"="{ceff45ee-c862-41de-aee2-a022c81eda92}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
    "MUIVerb"="@shell32.dll,-8517"
    "MultiSelectModel"="Document"
    "OnlyInBrowserWindow"=""
    "LaunchExplorerFlags"=dword:00000001
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Library Location]
    @="{3dad6c5d-2167-4cae-9914-f99e41c12cfa}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
    @="{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\{BD472F60-27FA-11cf-B8B4-444553540000}]
    @=""
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\BriefcasePage]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\Offline Files]
    @="{7EFA68C6-086B-43e1-A2D2-55A113531240}"
    [-HKEY_CLASSES_ROOT\Folder\ShellNew]
    [HKEY_CLASSES_ROOT\Folder\ShellNew]
    "Directory"=""
    "IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
      00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,\
      00,00
    "ItemName"="@shell32.dll,-30396"
    "MenuText"="@shell32.dll,-30317"
    "NonLFNFileSpec"="@shell32.dll,-30319"
    [HKEY_CLASSES_ROOT\Folder\ShellNew\Config]
    "AllDrives"=""
    "IsFolder"=""
    "NoExtension"=""
    ==================
    Once done, right-click the REG file and choose Merge. Alternately, you can open the Registry Editor and then using the
    Import option from the File menu, to merge the REG file contents.
    Let me know if you need any further help.
    Best regards
    Michael Shao
    TechNet Community Support

  • Tying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel.  Help

    am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?

    Hi,
    Here is a similar thread for your reference:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
    http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • HT204053 how do i change my icloud email address from the one i already have input?

    how do i change my icloud email address from the one i already have input?

    Hi sparkie,
    You cannot change your iCloud email address. It is an @me.com address, and is associated specifically with that iCloud account. If you want a different @me address assigned, you have to delete the current iCloud account and set up a new one.
    Here is a link with all the support information for iCloud:
    http://www.apple.com/support/icloud/
    Hope this helps!
    Cheers,
    GB

  • TS3989 Mssage when opening Photo Stream on-"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel" Help!!!

    Mssage when opening Photo Stream on-"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel" Help!!!

    You are posting in the "icloud on my mac" forum, but your profile mentions Windows.  If using a mac, you need to have iphoto or aperture installed in order to receive new photos via photo stream.  If using windows, try posting in the iCloud on a PC forum.  You'll get better help there.
    https://discussions.apple.com/community/icloud/icloud_on_my_pc

  • There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel

    I just installed Window 7 professional in place of Windows 7 Ultimate RC to which I subscribed. I was not pleased to do a clean install as opposed to an upgrade and was not informed about it.
    When I reinstalled Office 2007, my outlook does not work, although exchange on the web works. I get the following error message:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel 

    Louis,
    This issue may occur if the Outlook registry key is corrupted. When other programs try to use the Outlook Simple MAPI interface, they cannot retrieve the required information from the registry.
    You must first remove the corrupted Outlook registry key, and then perform a Detect and Repair operation to have Outlook rebuild the key. To do this, follow these steps:
    Click Start, and then click Run.
    In the Open box, type regedit, and then press ENTER.
    In Registry Editor, locate the following subkey in the registry: HKEY_LOCAL_MACHINE\Software\Clients\Mail\Microsoft Outlook
    Select the subkey, and then press DELETE.
    Click Yes.
    Quit Registry Editor.
    Start Outlook.
    On the Help menu, click Office Diagnostics.
    Follow the instructions on the screen to complete the repair.
    Important: Above section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
    322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows.
    Hope above information helps.
    Pooja Katiyar

  • When running setup, I get"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

    whe I try to install Firefox 4.0.1, I get a Red X message. ""This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel. Is there a fix?

    I Did that. When I try to install, I get the same message. I have come to believe this is a windows 7 or IE 9 problem. I also have active X problems that I can not resolve. I can not open Gmail also

  • Is there any way to add a digital copy movie to an iPhone without syncing with my iTunes library? I use iCloud to sync, not iTunes. So when I go to sync movies, it deletes the other ones I already have loaded on the iPhone. Thanks.

    Is there any way to add a digital copy movie to an iPhone without syncing with my iTunes library? I use iCloud to sync, not iTunes. So when I go to sync movies, it deletes the other ones I already have loaded on the iPhone. Thanks.

    or is there a way to upload the digital copy to store in my iCloud account?

  • How to setup a new apple ID when one is already connected to ipod

    how to setup a new apple ID when one is already connected to ipod

    See:
    Frequently Asked Questions About Apple ID
    Just what do you want to do?

  • Is it possible to load more dictionaries to ibooks? French, german ando so on? I have books in severl languages and it would be easire to use a built in dictionary like the one it already has.

    is it possible to load more dictionaries to ibooks? French, german and so on? I have books in severl languages and it would be easirer to use a built in dictionary like the one it already has.

    At the moment no - http://support.apple.com/kb/HT4059 says :
    iBooks allows you to look up the definition of words using a built-in English or Japanese language dictionary
    So it looks like just the two languages are currently supported

  • Insert blank disc...when one is already in?

    After sucessfully burning a disc. Then attempting to burn another iTunes says to "insert a blank disc". Ejecting the blank disc I have already put in the PC. Then inserting another fresh disc it says "checking media", then nothing happens. I click burn disc againg and it ejects the disc saying again "insert blank disc". AAARRG! Please help! The only solution I have found is to reboot the PC....every time!!
    Thanks for any help,
    Kelly

    i made a burn folder that has files lower then the
    700MB max, and then I insert a blank CD-R and then I
    click the burn button in the folder and it says that
    I need to insert a blank disc, when one is already in
    there. I've tried my whole spindle of CDs, a
    different kind of brand of CD, and a CD-RW. I had
    already burned 2 before, but I don't understand why
    it isn't working anymore. Can anyone help?
    Try clicking the burn button first then insert the CD when prompted. OSX should then verify the CD and if it's good start writing your data. I've had the same problem with itunes and found it ofter fails if I put the CD in first so now I always wait till prompted to insert the CD. When I wait till prompted it always works.
    Macbook, 2.0 duo, black   Mac OS X (10.4.7)   80 gb hd, 2 gb ram, 5g ipod, 2g ipod

  • Updated to iOS7 on my iPad mini and now anything i type there is a 30 second lag on the letter appearing? Bug already? or does it need a full reset?

    Updated to iOS7 on my iPad mini and now anything i type there is a 30 second lag on the letter appearing? Bug already? or does it need a full reset?

    I have read that if you go to Settings, iCloud, and turn off documents and data that this will help with typing.

  • TS3376 I need to shut off Find My iPhone to restore it.  The email associated with find my iphone is no longer in use and I cancelled that apple is.  How do I change the Apple ID to my new one?  My new one is already working everywhere else on my phone an

    I need to shut off Find My iPhone to restore it.  The email associated with find my iphone is no longer in use and I cancelled that apple is.  How do I change the Apple ID to my new one?  My new one is already working everywhere else on my phone and iTune

    Are you trying to change the Apple ID associated with your iCloud account?  If so, go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
    To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.

  • FCB (File Control Block) - bug already solved?

    Hi Microsoft Team!
    Is the bug with the FCB - handels already solved in Windows Server 10 Tech Preview?
    Applications may crash or become unresponsive if another user logs off Remote Desktop session in Windows Server 2008 or Windows Server 2008 R2 (http://support2.microsoft.com/kb/2536487/)
    In Windows Server 2012 R2 its the same as in 2008 R2.
    We have different applications, that need a mapped drive, and we could NOT start it from a local remote desktop server.
    This bug prevents us from migrating these applications from our 2003 R2 terminalservers!
    i would be happy, if this can be finally fixed!
    Thanks you very much!
    Thomas

    Hi,
    Still no such announcement for latest version, but will forward your concern to the product group.
    Thanks for your feedback!
    Regards.
    Dharmesh Solanki
    TechNet Community Support

  • This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

    I watched 3 or 4 online movies and downloaded a mpvie from megaupload.com and I have picked up a virus.
    Every time I attempt to run a program's .exe file the message in the title of this thread appears. I can't run a system restore because the message appears. I think every .exe command has been disabled by the virus. I can only access Internet Explorer because
    I thought to create a hyperlink in word and click on it.
    Any help would be appreciated, thanks.

    I'm having the same problem. It started today. I can't open any .exe file, cant open the comand prompt, cant open regedit. I can't download anything including trendmicro housecall or mircrosoft security essentials, because once downloaded i still have to
    open a .exe file to get them to run, which won't work. I booted to safe mode with cmnd prompt (the only way (could get it to show up) and did the assoc .exe=exefile and the response was that it repeated the command back to me. BTW command prompted booted to
    c:/something something. I knew enough to cd\ back to c:/, but do I need to go one step farther?
    Similar to the original poster, I can get around the .exe problem and get IE to open and then surf by going to the control panel and clicking around help menues until one of them launches IE. This is what tipped me off that it must be a virus because only
    the normal interface icons and explorer file locations are blocked, but some "backdoor" command is able to open IE. I do have Trendmicro installed already and it reported that two malicious things were successfully blocked, but I didnt see the names and it
    was too late as soon as I started poking around and found that everything was disabled.
    Lastly, I found on some other forums a solution that seemed to work for some people and that was going to control panel-folder options-files, but that option doesn't seem to exist on WIN7 so that was a dead end for me.
    If I must, and can find the necessary discs I will reinstall windows if that will solve the problem. What repurcussions should I expect? I have a SSD that runs my OS and a few critical programs but all my data is on a separate d:/ data drive. Will all that
    stuff be safe?

Maybe you are looking for

  • Error In Starting Jboss after installing OIM server

    Hi All, I have Installed OIM_Server(OIM 9.1.0.1) ON Jboss server(4.2.3) , I have 1 GB RAM m/c so have JVM setting as -XMS512m -XMX768 m. While installation of OIM Server, it showed the success message. But When I am starting the server , to perform p

  • How to create an ods after creating info objects?

    Hi, Please Explain me How to create an ods after creating info objects with all screenshots in BW 7.0? Thanks, Jini

  • I cant find the healing brush tools. what should i do?

    i cant find the healing brush tool. what should i do? can anyone please help me?

  • Stock transport order issue

    Hi My bussiness process is i have created stock transport order purchase order in me21n t.code doc type UB,item category 'U'then i do mb11 t.code 351 movement type Transfer posting to stock in transit from unrestricted-use.then i do the goods receipt

  • Using new DJ function in iTunes with Apple TV

    Ideally, wouldn't it be great to be able to stream the new DJ function in iTunes to an Apple TV which is wired into my home stereo systems? Then I would be able to control an entire house from my kitchen iMac. Now THAT would be a party! I am successf