Need Help:  Website MisDirects / Hijacks.  Possible

I posted the following problem over on Mozilla Camino Website. After much discussion they believe it is an Apple problem, not a Camino problem since it appears with Safari as well as Camino:
I have been using mostly Camino several years now on my MacPro Laptop, but I have a very annoying problem that started about 6 mos ago and keeps cropping up more and more. After using Camino for a few hours or so, and open up a half a dozen tabs or more, when I open a new tab, I am being misdirected to: http:// hus.parkingspa. com/handcrafted2.asp,
which shows up as passport.com website. This misdirect sometimes will take another form, but the handcrafted2/asp will always show up as an add-on to the correct URL. (This website link was broken here to protect viewers).
This happens most often with my homepage, which is my.yahoo.com, but I have also tried setting up other home pages, and it happens there too. If I ignore the problem, the problem will slowly migrate to other website tabs, most notably google. After that happens, they only way I can get camino to behave properly is to restart my computer, then everything operates normally for several hours to a day or so, then it happens all over again.
The experts over at Camino had me do a number of things including confirming it happens on Safari as well as Camino, reset / delete my java files, look at my console logs, go to OpenDNS, run anti DNSChanger software (at http://www.dnschanger.com/ which found nothing), and the MacScan tool, which found three tracking cookies, which I promptly deleted. I also installed the most recent Apple Feb security updates.
There conclusion, after all of this, is that I must somehow be infected with a DNSChanger Trojan, and suggested I come over here to get your advice. FWIW, my ISP is cable, and I am running direct from a motorola modem, not router, I have parallels installed, have some shared windows / apple files, but I have not run any windows programs in over a year.
They also told me not to be sending any credit card / bank info over the net until I get this problem resolved for fear that a psuedo website will hijack my login / password info. I thank you all in advance for any help you can give me. -- LJ

AZ,
Go to terminal and type the following:
sudo crontab -l
Enter your password when prompted.
You should probably get something like this as the reply -
crontab: no crontab for root
If instead the reply is something like -
/Library/Internet Plug-Ins/plugins.settings">/dev/null 2>&1
then you are infected with a variant of the ZLOB DNSChanger
To remove it do the following-
Check in your Library folder (not the System/Library or your user Library) for a file called plugins.settings. The path to the file is:
/Library/Internet Plug-Ins/plugins.settings
Removing that file by itself won't fix the trojan. You need to do a little work in Terminal.
1. First delete the plugins.settings file if you haven't already - In the Finder, navigate to /Library -> Internet Plug-Ins, and delete the file named plugins.settings. Empty the trash. This deletes the tool that sets the rogue DNS Server information.
2. In Terminal, type sudo crontab -r and provide your admin password when asked. This deletes the root cron job that checks the DNS Server settings. You can prove it worked by typing sudo crontab -l; you should see the message crontab: no crontab for root.
3. Open your Network System Preferences panel, go to the DNS Server box, and copy the entries you can see to a Stickies note, TextEdit document, or memorize them. Now retype those same values in the box, then click Apply. Or use the OpenDNS servers as suggested earlier in this thread.
You might also post here what DNS entries you are using so we can make sure they are legit and not the ones changed by ZLOB.
4. Reboot your Mac.

Similar Messages

  • HT5622 Hey Hi ! I brought iPhone 5 in Kuwait and now I'm in India now.I noticed my FaceTime option is missing. No option no settings and no data related to FaceTime . I'm very much worried about it. Need help as soon as possible.

    Hey Hi ! I brought iPhone 5 in Kuwait and now I'm in India now.I noticed my FaceTime option is missing. No option no settings and no data related to FaceTime . I'm very much worried about it. Need help as soon as possible.

    Someone could have stolen it in Kuwait...happens all the time .
    Seriously...FaceTime is banned there...there is no way to add it back to your phone...if you wanted FaceTime, you should not have purchased your phone there.
    BTW: You don't have any warranty or support for this phone in India.
    You live & you learn

  • BW Archiving- Need help as soon as possible

    Hi,
    Can Archiving on ODS be implemented using an ABAP program? If the data is loaded on to flat files and if it is required to reload it back to ODS is ABAP a better choice. If any one has worked on this issue earlier please provide me the information as soon as possible. Any input on this issue will be of great help.
    Thanks,
    SP

    Hi sudheer,
    I have gone through few of your requests to SDN network . and found out thta you have worked on  "sap bw archiving ". So, I need a small help from you . need to clear out some of my doubts with sap bw archiving issues . So could you please send me your e-mail id . so that i can be in contact with you . As i am new to SDN .
    Thanking you in advance . I would appreciate your help .
    or Anyone who have experience with "SAP  BW archiving " could you please send me your mail id . Thanks for your help .
    Cheers,
    shailu.

  • NEED HELP. IS THIS POSSIBLE? IF SO HOW?

    Hi. I am on a real big budget here and i am planning ways around this so here goes.
    I need to set up a network which will being 100% network based. So users login with accounts being held on the Main server etc.
    This is what i want to do. Get a Mac Pro and put OSX SERVER ON IT. This will be my main server. On this server all the admin work such as PA's accounts and accountants etc. I no this can be done and the home directory is on the main server (what i call the control server)
    I then want to get aload of Dell PowerEdge SC440 servers and shove aload of 750GB HDS in them at hardware raid 1.
    Is it possible to set these up by installing CENTOS on them and via samba or any other protoal call, can there account home directories be on this these servers. EG. the graphics artists would say have an account which there home directory would be on one of the dells servers. We really cant afford a Xserve raid and also if my way is possible it is some much cheaper and its more reduntant. EG If one server fails, the entire network doesn't go down.
    Thanks,

    (Please note that my tone here is friendly, lest anyone (sadly) think otherwise)
    Look, no offense, but how bass-ackwards it is, to buy a bunch of Desktop towers and try to use them as storage... :P
    I'm talking about the Dell PowerEdge SC440's. That makes no sense whatsoever.
    Why deal with the bloat of an entire OS, just to try to use the PowerEdge SC440's onboard RAID controller ? o.O
    There is very very probably NO way to present any drives in those Dell's to another machine, via fibre-channel. Seriously. They must be hosted by an OS, and that OS will need to be configured for services, fqdn & dns entries, sharepoints, users & groups & priveleges, etc.
    If you really do want to do that (so far I'm seeing zero reasons for it), and essentially re-share NFS or CIFS shares for home folders for users on your OS X Server, then let me say this:
    Hire a consultant to help you save yourself endless amounts of wasted money (time is money when you start losing lots of time, no matter your budget), and countless numbers of administrative headaches. I don't think you've thought this through from start to finish, no offense intended.
    Here's the last of my free advice:
    Instead of what you're proposing, consider an Xserve (unless you have no proper dedicated server space and/or no server rack) - but you DO still need a proper climate-controlled space (heat & humidity) for whatever box you choose.
    Then, for data storage, consider:
    http://www.sonnettech.com/product/fusion500p.html
    or better yet
    http://www.caldigit.com/S2VRHD.asp
    (hba is included - also look at their other models)
    or
    http://www.jetstor.com/0201_jetstor_sata516f.html
    fnd out if they provide the fibre-host card (probably not) and if not get an Apple-one, one of the new 4GB ones:
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=6C0 4E099&nplm=MA462G/A
    or perhaps
    http://www.fibrenetix.com/products/
    http://www.electronix.com/catalog/productinfo.php/cPath/248_249_321/productsid/13703
    I believe this company is European which you may or may not be a plus for you in your considerations, based on your location.

  • Need help, this configuration is possible or not?

    Hi All,
    We have Server A, on which Oracle 11g Database is running, and Server B, on which we have TimesTen IMDB installed.
    Now the requirement is, on server A, we have two different tables in different schemas, lets say schemaA.TableA had 100 columns, and schemaB.TableB had 50 columns. Now from table A we wanted to take 10 columns and from table B we wanted to take 8 columns, combining these 18 columns, is it possible to cache and store into IMDB?
    What will be the approach to have this, any ideas help me out?
    Thanks,
    Sreenivas.

    Thank you for your update Chris. I am little bit elaborating my requirement, we have two big tables in our database, and the external application is hitting those two tables data (only specific columns data, not all columns in each table), to simplify the data required for that application, and to reduce the traffic to the Database server we wanted to create this cache table.
    Database Server: Schema A.Table A (100 Columns) Schema B.Table B (50 Columns)
    TimesTen Server: I need a table C (20 columns, combination of Table A and Table B). The external application also will access Table C instead of go and hit two tables in Database Server.
    So now please help me the possibilities how we can achieve this? Will it be possible or not?
    - Sreenivas.

  • I need help as soon as possible please hs to with arrays.

    import java.util.Random;
    public class AviarySimulator
        // Instance variables
        private Aviary aviary;
        private int numberOfDays = 0;
        private Random r;
    public void simulateDay(int amtFeed)
            //a new Day
            numberOfDays++;
            System.out.println("**************************");
            System.out.println ("Day : " + numberOfDays);
            if(!aviary.isEmpty())
                    // Ask the cage to supply its budgie object
                    Budgie theBudgie = aviary.getBudgie();
                    /* Check there really is a Bird in the cage. null means that there is no
                     * bird object assigned to the myBudgie variable in class cage.
                    if(theBudgie != null)
                       // Code moved from below.  PR
                       // Budgie gets older because a day has gone by.                     
                       theBudgie.incAge();
                       // Budgie exercises every day PR
                       theBudgie.exercise(DAILY_EXERCISE);
                        // Feed the budgie
                        // To avoid feeding nothing, check that food is given PR
                        // Also rejects negative feed!
                        if(amtFeed > 0)
                            theBudgie.eat(amtFeed);
                            System.out.println("Just been fed " + amtFeed + " grams of bird seed");
                        // Check if the budgie is still alive
                       if(theBudgie.isDead())
                            System.out.println(theBudgie.getName() + " just died...sob");
                            System.out.println("Here lies " + theBudgie.getName() + " this budgie was much loved by its " +
                                                   theBudgie.getNumEggsLaid() + " eggy ofspring");
                            aviary.removeBudgie();
                        // If alive is it overweight?
                        else if(theBudgie.isObese())
                            System.out.println(theBudgie.getName() + " is obese it needs some exercise");
                            theBudgie.exercise(10);
                        else // Budgie is alive and not overweight
                            System.out.println(theBudgie.toString());
                           // The budgie gets a day older
                           // theBudgie.incAge(); // Moved to above PR
                            // The budgie may lay an egg                   
                            if(theBudgie.layEgg(r))
                                System.out.println(theBudgie.getName() + " has just laid an egg ");
                                System.out.println("The egg has been removed from the cage for artificial incubation \n"
                                                      + "and will be adopted out after hatching");
                else  // No budgie in the cage
                   System.out.println("The cage is empty");
         * Simulate several days without food.
         * @param numDays, the length of the simulation
        public void simulateDays(int numDays)
            for(int i = 0; i < numDays; i++)
                simulateDay(0); // PR
         * Simulate several days with food.
         * @param numDays, the length of the simulation
         * @param amtFeed, the amount of budgie food in grammes
        public void simulateDays(int numDays, int gmsSeed)
            for(int i = 0; i < numDays; i++)
                simulateDay(gmsSeed);
    }This code is supposed to be compatible with this code:
    public Budgie(String name, boolean female) // Added gender PR
            // Initialise instance variables
            age = 0;
            colour = "green"; // Default colour
            canTalk = false;  // Cannot talk yet, can only go "cheep"
                              // Quotes removed PR
            budgiesWords = "cheep";
            weight = 25; // In healthy weight range
            bIsFemale = female; // PR
            water = 10;
            // Record supplied name       
            this.name = name;
         * Teaches a budgie to talk
         * @param phrase - what the budgie can say
        public void teachToTalk(String phrase)
            // Ignore an empty string
            if(phrase != "")
                // Budgie can now talk
                canTalk = true;
                budgiesWords = phrase;
         * Increments a budgie's age by a day
        public void incAge()
            age++;
         * The budgie is dead if it is too old or too fat or starved or too thirsty.
        public boolean isDead()
            return (diedOfOldAge() || diedFromOverFeeding() || isStarved() || diedOfThirst());
         * The budgie is too old if it is older than the budgie's maximum age.
        public boolean diedOfOldAge()
            return (age > MAX_AGE);
         * The budgie is too thirsty if it is has less than 10mls of water.
        public boolean diedOfThirst()
            return (water < MIN_DRINK);
         * The budgie is too heavy to live if it is more than double a
         * budgie's sensible weight limit.
        public boolean diedFromOverFeeding()
            return (weight >= TOO_FAT*2);
         * The budgie is obese if it is more than a budgie's sensible
         *  weight limit.
        public boolean isObese()
            return (weight >= TOO_FAT);
         * The budgie is starved if it is less than a budgie's sensible
         *  minimum weight.
        public boolean isStarved()
            return (weight <= TOO_THIN);
         *  The budgie has been fed.  It will put on weight.
         *  @param gmsOfBirdFeed, the amount of food eaten in grammes
        public void eat(int gmsOfBirdFeed)
            // Convert to gms fat
            double fat = gmsOfBirdFeed/10.0;
            weight = weight + fat;
         *  The budgie has drunk.
         *  @param mlsofwater, the amount of water drunk in mls
        public void drink(int mlsOfWater)
            water = mlsOfWater;
         *  The budgie has done some exercise.  It will lose weight.
         *  @param minutesOfExercise, the time of the exercise
        public void exercise(int minutesOfExercise)
            double weightLoss = minutesOfExercise * 0.1; // For each minute lose 0.1 gms fat      
            weight -= weightLoss;
            System.out.println("Budgie exercising for " + minutesOfExercise + " minutes, has lost " + weightLoss + " grammes in weight." );
        *  The budgie may lay an egg.  Only adults can lay eggs.
        *  @param rnd, a random object
        public boolean layEgg(Random rnd)
           boolean bLaying = false; // default
           // Only hens can lay eggs // PR
           if(bIsFemale)
               int probability = rnd.nextInt(10);
               // Random chance that it will lay
               // Added that cannot lay if last egg laid yesterday PR
               if((probability >= 5) && (age > ADULT_AGE ) && (age - lastEgg != 1))
                    // Can only lay eggs if a grown-up
                    numEggsLaid++;
                    bLaying = true;
                    lastEgg = age; // Laid an egg today PR
           return bLaying;      
         *  The budgie talks - display its words.
        public void talk()
            System.out.println(budgiesWords);
         *  Change the colour of the budgie.
         *  @param newColour, new value of budgie's colour
        public void setColor(String newColour)
            colour = newColour;
         *  Return the colour of the budgie.
         *  @return budgie's colour
        public String getColour()
            return colour;
         *  Output the budgie's details.
         *  @return A string containing all details of the budgie
        public String toString()
            String msg = "Budgie " + name + " ";
            if(canTalk)
                msg += "can talk it says ";
            else
                msg += "can not talk it just makes the sound ";
            msg += "'" + budgiesWords + "'";
            msg += "\n";
            msg += " Its colour is : " + colour;
            msg += "\n Its age is : " + age + " days.";
           return msg;
         *  Return the number of eggs the budgie has laid.
         *  @return eggs laid by budgie
        public int getNumEggsLaid()
            return numEggsLaid;
         *  Return the budgie's age.
         *  @return age of budgie
        public int getAge()
            return age;
         *  Return the budgie's name.
         *  @return name of budgie
        public String getName()
            return name;
         *  Return the budgie's gender.
         *  @return true if budgie is female
        public boolean isFemale()
            return bIsFemale;
    But everytime I try to compile it highlight this bit in the simulator:Budgie theBudgie = aviary.getBudgie();With an error message:
    getBudgie in Aviary cannot be applied to ()
    Im sorry for the long post please help would be most apreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    NO prob man thank for such a quick response
    import java.util.ArrayList;
    * A Aviary for budgies to live in.
    * A maximum of one budgie can live in aviary
    * @author (Jacqui Whalley)
    *  Modified by Phil Robbins
    * @version (v0.2)
    *  9-3-2006 Fixed bugs from stage 1.
    *           Added stage 2 code
    public class Aviary
        // Instance variables
        private ArrayList budgies; // The budgies that live in the aviary
       // private boolean empty;   // Removed PR
         * Constructor for objects of class aviary.
        public Aviary()
            //empty = true; // removed PR
            budgies = new ArrayList(); // Semi colon added PR 
         *  Add a budgie to the aviary.
         *  @param bird, the budgie to add to the aviary.
        public void addBudgie(Budgie bird)
            // Can only have one budgie
            budgies.add(bird);
         * Remove the budgie - eg if it has died.
        public void removeBudgie(int index)
            if (index <= budgies.size() && index > 0)
                // Can only remove if there is a budgie there
                budgies.remove(index);
            else
                System.out.println("Error");
         * Returns the Aviary's budgie (which my be null).
         * @return The budgie that lives in the Aviary
        public void getBudgie(int index)
            if (index <= budgies.size() && index > 0)
                // Can only remove if there is a budgie there
                System.out.println(budgies.get(index));
            else
                System.out.println("Error");
         * Returns true if the cage is Aviary.
         * @return the emptiness of the Aviary
        public boolean isEmpty()
            //return empty; // Removed PR
            return budgies.size() == 0;
         * List budgies and there details
        public void listBudgieDetails()
            for(int i = 0;i < budgies.size();i++)
                System.out.println(budgies.get(i));
    }

  • Wanted Main window only on Task bar ...Need help as soon as possible

    Hello All,
    We are creating one application.
    We have main window(JFrame) with four subwindows.
    By clicking buttons on main window the subwindows will be opened.
    By using Iconified method we are able to minimise all the subwindows when main window is minimised.
    But on the task bar all the windows are showed.
    But we want to show main window only on the task bar while minimising
    That means all the sub windows should come under main window.
    Will Deiconified satifies this condition while maximisation.
    Need some ones help.
    Thank You All.
    Rajiv.V

    Use show() and hide() on your subwindows instead of iconifying and deiconifying them. Minimizing a window should produce exactly the behavior you're seeing. Using the right tool will get you the right result.

  • I need help as soon as possible

    Can anyone please help me and explain how can I do this white effect on dark background? Can I do this in Illustrator or I must use Photoshop?
    Thank you.

    1.     Use a black rectangle to make your black background.
    2.     Create your mountain shape using the pen tool.
    3.     Make a ellipse in the shape of your white glow. Set its stacking order to be behind your mountain, but in front of your background (or use different layers).
    4     Set the fill of your ellipse to be a radial gradient from white to black.
    5.    Select your ellipse and go to Effect > Texture > Grain. Play with the sliders until you achieve the desired effect. You may need to bounce back and forth between your gradient settings and the texture settings to get it right.
    Tip* You can access the settings of the texture effect again after you apply them by going to your appearance palette and selecting it.

  • I need help as quickly as possible

    I have updated my Nokia C3-00 software to v 8.63 and now I can't use ovi Chat. Can someone help me with my problem please.
    Sorry for my bad English.

    1. Do a tour of the software. http://www.apple.com/finalcutstudio/quicktours/?quicktours/editing/qtfcp_1_dynamicrt
    2. The only version that works w/ the MBP is Final Cut 5.1 and FCE 3.5
    3. This question makes no sense. One would originally assume you're asking this question so that you can edit a 30+ min. project but your statement is conflicting in regards to your intentions and the fact that you mention the MBP's limitations. Isn't that the reason you're asking about external drives in the first place??? But FWIW one hour of DV-NTSC material is equal to approx. 13 gigs. - you want to set the scratch disk to a disk other than your start-up disk - and I would go w/ the fastest conncetion you can (FW 800/400)
    Also search/research are your two best friends with Final Cut.
    Good luck!

  • Need help solving problem if possible

    Will a1096 display connect to 2008 macbook. Without a firewire slot to plug into will this not work? I have the vga to mini dvi converter but still no image.

    cmykdms75 wrote:
    Will a1096 display connect to 2008 macbook. Without a firewire slot to plug into will this not work? I have the vga to mini dvi converter but still no image.
    The 2008 MacBook uses Mini DVI, and has no FireWire.
    <http://support.apple.com/kb/SP5>
    It should work with a Mini-DVI to DVI adspter.
    The 2008 MacBook Pro has DVI and FireWire.
    <http://support.apple.com/kb/SP4>
    It shouldn't need any adapter.
    Neither use Mini DisplayPort.

  • I need help as soon as possible. statement wont execute the if statement

    I can not seen to make my "if statement work" can someone guide me in the right direction.
    import java.util.Scanner;
    import java.lang.Math;
    public class bm
    * main
    public static void main(String[] args) throws Exception
    Scanner scanner1,scanner2,scanner3;
    String sGradeType,sGrade="",sUGrade;
    char cGrade;
    double dGrade;
    long drGrade;
    int iGrade=0;
    System.out.println("Type of Entry (Chars(C)/Digits(D)");
    scanner1 = new Scanner(System.in);
    scanner2 = new Scanner(System.in);
    sGradeType = scanner1.next();
    sGradeType = "D";
    if (sGradeType == "D")
    System.out.println("Enter Grade number");
    scanner2 = new Scanner(System.in);
    dGrade = scanner2.nextDouble();
    drGrade = Math.round(dGrade);
    iGrade = (int)dGrade;
    switch (iGrade)
    case 75 :
    sGrade = "A" ;
    break ;
    case 60 :
    sGrade = "B";
    break ;
    case 50 :
    sGrade = "C";
    break ;
    case 40 :
    sGrade = "D";
    break ;
    default :
    System.out.print("illegal Grade !") ;
    System.out.printf("Grade Value, %8.3f. Grade %s", dGrade, sGrade);
    } else if (sGradeType == "C")
    System.out.println("Enter Grade Letter");
    scanner3 = new Scanner(System.in);
    sGrade = scanner3.next();
    sUGrade = sGrade.toUpperCase();
    cGrade = sUGrade.charAt(0);
    switch (cGrade)
    case 'A' :
    iGrade = 75 ;
    break ;
    case 'B' :
    iGrade = 60;
    break ;
    case 'C' :
    iGrade = 50;
    break ;
    case 'D' :
    iGrade = 40;
    break ;
    default :
    System.out.print("illegal Grade !") ;
    System.out.printf("Grade Value, %d, Grade %s", iGrade, sGrade);
    } // end of method main
    }

    Oops! Hit the wrong button.
    OK.
    First up - welcome to the Sun forums.
    A few points.
    >
    I can not seen to make my "if statement work" can someone guide me in the right direction.>1) Maybe the if statement is just a little tired. Give it a good night's rest and it will probably do twice the work tomorrow.
    Or to put that a less funny way..
    Please describe what it was supposed to do, why you thought it would do that, and what it actually did.
    2) Which 'if' statement? There are two if statements in that code.
    3) String comparison should not be done using '==', instead use string1.equals(string2)
    4) Please use the code formatting tags when posting code, and indent code using the common conventions.
    This is what I mean..
    import java.util.Scanner;
    import java.lang.Math;
    public class bm
    * main
         public static void main(String[] args) throws Exception
              Scanner scanner1,scanner2,scanner3;
              String sGradeType,sGrade="",sUGrade;
              char cGrade;
              double dGrade;
              long drGrade;
              int iGrade=0;
              System.out.println("Type of Entry (Chars(C)/Digits(D)");
              scanner1 = new Scanner(System.in);
              scanner2 = new Scanner(System.in);
              sGradeType = scanner1.next();
              sGradeType = "D";
              if (sGradeType == "D")
                   System.out.println("Enter Grade number");
                   scanner2 = new Scanner(System.in);
                   dGrade = scanner2.nextDouble();
                   drGrade = Math.round(dGrade);
                   iGrade = (int)dGrade;
                   switch (iGrade)
                        case 75 :
                             sGrade = "A" ;
                             break ;
                        case 60 :
                             sGrade = "B";
                             break ;
                        case 50 :
                             sGrade = "C";
                             break ;
                        case 40 :
                             sGrade = "D";
                             break ;
                        default :
                             System.out.print("illegal Grade !") ;
                   System.out.printf("Grade Value, %8.3f. Grade %s", dGrade, sGrade);
              } else if (sGradeType == "C")
                   System.out.println("Enter Grade Letter");
                   scanner3 = new Scanner(System.in);
                   sGrade = scanner3.next();
                   sUGrade = sGrade.toUpperCase();
                   cGrade = sUGrade.charAt(0);
                   switch (cGrade)
                        case 'A' :
                             iGrade = 75 ;
                             break ;
                        case 'B' :
                             iGrade = 60;
                             break ;
                        case 'C' :
                             iGrade = 50;
                             break ;
                        case 'D' :
                             iGrade = 40;
                             break ;
                        default :
                             System.out.print("illegal Grade !") ;
                   System.out.printf("Grade Value, %d, Grade %s", iGrade, sGrade);
         } // end of method main
    } Edited by: AndrewThompson64 on Apr 12, 2009 10:47 PM

  • NEED HELP AS SOON AS POSSIBLE!

    my computer crashed just recently and i got my account back for itunes, but my library is empty. so i plugged my ipod in to put my songs from my ipod to my library, but it wont work. i went to my account page and it says "one machine is authorized to play music purchased with this account". how do i authorize another computer to play music?

    With iTunes open, look at the very top of the screen, just a bit to the left of center.

  • Rendering a composition with bicubic interpolation (I NEED HELP AS SOON AS POSSIBLE!!!!!) thanks!

    So I have this composition that I want to render. Some of the layers in that composition has bicubic interpolation enabled. When I rendered that composition, the layers with bicubic interpolation enabled went back to default, seen in the image file attached.
    For more information, I'm importing this into a premiere which I will then render again for YouTube. Would this happen again when I render from adobe premiere?

    The layers highlighted are the ones with bicubic interpolation enabled. It looks fine in the preview window and in premiere, since this whole after effects comp is a dynamicly linked comp between AE and Premiere. The problem is, when I render this comp in After Effects, those highlighted layers become blurry. Also, if you're wondering why I'm rendering this comp even though it's dynamically linked with premiere, it's because I do it to reduce time in rendering when I color correct/grade in premiere.

  • .save problem, need help as soon as possible !

    function dataGrabbed(event:Event):void
    var dataText = input_txt.text
    saver.addEventListener(Event.COMPLETE, dataSaved);
    saver.save("saver.php","data.xml",dataText);
    the above code is a code I am trying to use, but dataText as you can se is just a var, how do I tell ActionScript3 to put dataText into dataXML.options.info.uid ?
    saver.php content:
    <?php
    $content = $_POST['content'];
    $file = $_POST['fileName'];
    $content = stripslashes($content);
    $writeFile = fopen($file, "w");
    if(fwrite($writeFile, $content))
      echo $content;
    else
      echo "Error writing to file";
    fclose($writeFile);
    ?>

    use:
    var urlR:URLRequest = new URLRequest("saver.php");
    var ldr:URLLoader= new URLLoader();
    ldr.dataFormat = URLLoaderDataFormat.VARIABLES;
    var urlV:URLVariables = new URLVariables();
    urlV.content = input_txt.text;
    urlV.fileName = "data.xml";
    urlR.data = urlV;
    urlR.method = URLRequestMethod.POST;
    ldr.addEventListener(Event.COMPLETE, completeF);
    ldr.addEventListener(IOErrorEvent.IO_ERROR, IOErrorF);
    ldr.load(urlR);
    function completeF(e:Event):void {
    function IOErrorF(e:IOErrorEvent):void {

  • Bought Gems from CoC never received it. Need help from Mod if possible!

    I bought some gems from Clash of Clans, but unfortunately i never received it.
    I mailed Supercell (CoC) and they told me to mail Apple and ask a refund.
    And i did that and its 4 days passed and i still don't got  an answer from Apple, even though they told me they answer you back in less than 48 hours.
    So can you guys give me some advice or a mod can check this out for me.

    The Hosts (moderators) of these forums aren't involved in your sort of query: their function is to run these forums - they are not technical or sales support staff. You should contact iTunes Support: go to https://getsupport.apple.com ; click 'See all products and services', then ' 'iTunes', and then 'iTunes Store', then 'Purchases, Billing & Redemption'.

Maybe you are looking for

  • How to print double sided on Mac?

    The enable icon is shadowed and I can't click it to enable it.  using a HP Deskjet printer connected to USB

  • RAM(?) Error when launching iTunes, OS 0.7.2

    I get the error log below on launching iTunes. Already used AppleJack to get my RAM based on the EXC_BAD_ACCESS (SIGBUS) exception type, but my RAM is fine by that metric. Any ideas? Process:         iTunes [330] Path:            /Applications/iTunes

  • Advice on managing library with iTunes Match

    Hi All I am running out of hard drive space on my mac for my music and need advice on how to manage my vast libary of music. I have itunes match + timecapsule but can't put trust in a cloud backup + don't know how have a media backup on my timecapsul

  • Is there a fix for the incompatibility issue between iphone 5c running ios 7 and sentra bluetooth?

    So i can pair my iphone 5c running ios 7 successfully with my 2012 sentra, bluetooth, however when placing and receiving calls, I hear a clicking, constant and unnverving.  My wife's LG Cosmos works without a hitch. I can use it to make calls, etc th

  • Microsoft Lifecam HD 5000 Not Working With Skype

    Welp, this is a new one for me. In the past, this webcam has always worked "out of the box" for me. All I had to do was plug it in, and nothing else had to be done. Now, Skype is having issues using it. I've tested it with cheese, and it works fine.