Some more help needed.

Hi,
I'm back again.
This time I need help with just one part of the code for my program.
right now in part of my code I have it ask for a name, but now I want to put in an if statement and see if soemone writes a number instead of a letter. I can't find that code anywhere, so can anyone help with this?
Thanks.

Even though I'm 11 I am trying to obtain madcore Java skillz.
I don't understand what you said in that program. I have this:
class majorAssignment {
  public static void main (String[] args) {
    //Introduction to Pinkerton
    System.out.println("Welcome to the Christopher Walken paycheck calculator, aka: 'The Walken Experience'.");
    System.out.println("Please make sure that what you input into The Walken Experience is exactly what he asks for... Or else you'll find a pile of your own organs knocking at your door.");
    System.out.println("The Walken Experience: Hello, \n Now scootch over and tell me your first name. Please. Do not make me tell you again. About the scootching.");
       //Lets be greedy and grab someone's personal information
       String familyName = In.getString();
         if (familyName
             //run
         else
            //runHow can I fit it in like that?

Similar Messages

  • Some urgent help needed with MobileMe suddenly saying my password is wrong

    Hi
    First of all I want to say sorry if this is in the wrong forum, but I needed some urgent help and I couldn't find a forum other than this that might relate to this issue.
    The issue that I am having is with my MobileMe Account. I was on my Mac, when when my MobileMe Account suddenly dropped its connection and told me that I had entered the wrong username or password (I know I hadn't) I tried to re-enter them but every time I try I just get a message that says I have entered the wrong username or password. I no longer have access to my Mail, I can not sing-in to MobileMe to access my online account and it wont let me change the password because it keeps saying that safari can not open the page.
    I can not sign-in to my MobileMe folders on my Mac and it wont sync. I was signed in perfectly fine before this happened so I know its nothing to-do with my password or user name.
    I am now locked out of MobileMe and need some help as to what might have went wrong
    Can someone please give me some quick help as this is really worrying me as I am afraid my MobileMe account might of been hacked (that is the kind of behaviour that I am seeing - saying that my username and password are wrong, when they are not, and not letting me sign in to change them)
    Huge thanks

    Ughhh,
    it seems my panic was for nothing. I just ran apple 24 hour support and they put it right for me it cost me but I'd rather be safe and pay then loose all the information I have on MobileMe. This has taught me a lesson anyway, I need to keep a backup of everything and not just rely on time machine

  • I need some more help....

    umm....how do you convert songs to mp3 format in itunes? i went into advanced tab and the only option was to convert them to AAC. and i think i posted this in the wrong section-sorry.

    Yes there is. Once you have changed your importing preference to MP3. Go into the Library in iTunes, highlight the music you want to convert, right click and select "Convert to MP3".
    After you've finished if you change the import preference back to what you had before (say AAC), re-highlight the changed the music, right click again and then select "Convert to AAC (or whatever you selected)"

  • Adobe Lightroom 4 - Some Questions / Help Needed

    Hi everyone.
    After advice from several experts, I've just purchased Adobe Lightroom 4. I've already got Photoshop CS5, but I was looking for something proper to organise my photos, plus I found Lightroom easier to do the sort of editing I am wanting to do. Now, I only really use photoshop for things like colour pops, or really in-depth editing. Anyway, I'm loving Lightroom so far, but there is some stuff I'm not very sure of, so I'd appreciate some help
    1. Organising
    Firstly, I'm not really sure how to organise. At the moment, I've just got lots of folders with random events in My Pictures on W7, so I might have a folder called April 11, which contains photos from that month but that might have been a wedding or an easter holiday or both. So it doesn't really work. \
    I understand in Lightroom what catalogs are. But I know enough to know that I don't want to group mine into those, its getting too complicated. What I don't know though is the difference between a collection and a folder. Basically, I'm wanting to reimport and reorganise all my photos, so I want to put them into "events" as such like you can do on iPhoto on a mac, so I would have "France Summer Holiday 11" for example, or "Mia's Wedding". I'm not really sure on the best way to do this ...?
    2. Editing
    I've played around quite a bit so far, and I really like what I've seen. On a lot of photos, I've made a lot of changes. But from what I can see, these changes are stored merely in Lightroom itself. For example, at the moment I'm importing photos from my external disk into Lightroom, which then saves them in C://My Pictures/Lightroom/Pictures . When I go look at these photos in windows explorer which I know I have edited, it doesn't show any of the changes or editing I've done on them. Now I realise this is me being stupid, but why doesn't it? Supposing I then want to email that photo to a friend that I have edited? How would I do that? I don't want to have to open lightroom and export every single photo I edit? There must be a simpler way?
    Likewise for backing up, because all my files are in subfolders within C:// My pictures / Lightroom / Pictures, to back up I was simply going to set up windows to copy that latter folder onto my external HDD everytime I plugged it in. This would be pointless however if it isn't physically overwriting the original photo with my edited version?
    3. Editing 2
    Something else I like to do is make lots of different edits to the same photo. For example, at the moment I'm editing a photo of a pier at night. I spent ages adjusting colours and lighting and so on, and now it looks great. But I would also like to save a copy of that photo with the "old age photo" effect preset on. Is this possible? and how do I do it? Other than obviously importing a duplicate?
    4. & 5. & 6 - Misc:
    4. Simple question - how do I add tags, keywords or comments if I haven't done it on import?
    5. My camera doesn't have built in GPS. Is it possible for me to manually geotag photos (in a batch, say for a Summer Holiday to NY), could I manually add a geotag for all these photos?
    6. I also forgot to add copyright information on import for some, is it possible to do this after import and how?
    7. I normally shoot in JPEG. I probably shoot shoot in RAW as everyone tells me to do so. Are there any significant advantages in terms of quality, and for editing with?
    Thanks for any help given. I appreciate this is a lot of questions, but I could really use the advice.

    Hi William,
    1. Organising
    Firstly, I'm not really sure how to organise. At the moment, I've just got lots of folders with random events in My Pictures on W7, so I might have a folder called April 11, which contains photos from that month but that might have been a wedding or an easter holiday or both. So it doesn't really work. \
    I understand in Lightroom what catalogs are. But I know enough to know that I don't want to group mine into those, its getting too complicated. What I don't know though is the difference between a collection and a folder. Basically, I'm wanting to reimport and reorganise all my photos, so I want to put them into "events" as such like you can do on iPhoto on a mac, so I would have "France Summer Holiday 11" for example, or "Mia's Wedding". I'm not really sure on the best way to do this ...?
    I am not so sure if you understand *catalogs*.
    You need a catalog, exactly 1 in my opinion. A catalog is a database. The Lightroom database, where records about your images are stored, including the pointers to your images, which are not inside a catalog! LR backups just does the backup of the catalog (i.e. a file ending .lrcat). You need to take care separately that your real images are backed up !
    Inside your LR database the best way to organize is via collections - this will give you what you want with "France summer holiday 11" etc.
    Folders are relatively unimportant, just storage buckets. They should be *handy portions*, I would prefer them with below 3000 images each, as there currently some bugs to those bigger ones.
    Before you start with LR, you can organize your pictures in Mac Finder / WindowsExplorer.
    Or you could do it with the help of LR, by copying your images over during import into the destination folders (and deleting today's folders afterwards after having verified that everything is fine).
    A simple date-based structure will do, I'd recommend  a root parent folder like "LR images", underneath one folder per year (\2010\, \2011\, \2012\...) and underneath them either
    just one folder per month (LR can auto-create them for you)
    or you create the folders in import dialog as e.g. "YYYY-MM-DD description of shoot", to have a mini-diary overview also in your OS.
    Apart from that you create collections, either *dumb ones*, where you drag images into, or smart ones, where you specify criteria according to which they get auto-filled.
    2. Editing
    I've played around quite a bit so far, and I really like what I've seen. On a lot of photos, I've made a lot of changes. But from what I can see, these changes are stored merely in Lightroom itself. For example, at the moment I'm importing photos from my external disk into Lightroom, which then saves them in C://My Pictures/Lightroom/Pictures . When I go look at these photos in windows explorer which I know I have edited, it doesn't show any of the changes or editing I've done on them. Now I realise this is me being stupid, but why doesn't it? Supposing I then want to email that photo to a friend that I have edited? How would I do that? I don't want to have to open lightroom and export every single photo I edit? There must be a simpler way?
    Likewise for backing up, because all my files are in subfolders within C:// My pictures / Lightroom / Pictures, to back up I was simply going to set up windows to copy that latter folder onto my external HDD everytime I plugged it in. This would be pointless however if it isn't physically overwriting the original photo with my edited version?
    LR will never overwrite your original photos.
    You can save most of the catalog content into the xmp-part of the original photo, which is either a sidecar-file (.xmp) or part of the file format, like for DNG, TIFF, PSD, JPG. To do so you select the image in LR and hit <ctrl> s. Or you set it up for continuous update, which creates a lot of operations while you play back and forth in develop.
    I do that on my own, typically twice per file: once I am done with develop, once I am done with keywording and other metadata update.
    LR contains records about your images, i.e. a set of instructions how they are to be interpreted. That is all.
    So of course you need LR to export the result of these instructions, which is actually pretty quick.
    To backup your images you need to do that just once, plus you backup your LR catalog. Or if you save xmp to the files, you can do another backup once xmp is ready.
    I would not consider this pointless. You just have to think that there are 2 places with data for your images: the images themselves and a database with interpretation instructions.
    3. Editing 2
    Something else I like to do is make lots of different edits to the same photo. For example, at the moment I'm editing a photo of a pier at night. I spent ages adjusting colours and lighting and so on, and now it looks great. But I would also like to save a copy of that photo with the "old age photo" effect preset on. Is this possible? and how do I do it? Other than obviously importing a duplicate?
    Yes, this is one of LR's beauties: you create a so-called *virtual copy*, which is just a 2nd record for the same original image file with different interpretation settings, like black-and-white, a different crop size, different development etc. You can have as many virtual copies as you like, and you'll see them as additional thumbnails.
    Virtual copies are not saveable into xmp, though. There is another concept which is saveable into xmp: snapshots. but these are different states in develop history, and you do not see outside develop module that you have several.
    If you export virtual copies e.g. to jpg one file per virutal copy will be created.
    4. & 5. & 6 - Misc:
    4. Simple question - how do I add tags, keywords or comments if I haven't done it on import?
    5. My camera doesn't have built in GPS. Is it possible for me to manually geotag photos (in a batch, say for a Summer Holiday to NY), could I manually add a geotag for all these photos?
    6. I also forgot to add copyright information on import for some, is it possible to do this after import and how?
    7. I normally shoot in JPEG. I probably shoot shoot in RAW as everyone tells me to do so. Are there any significant advantages in terms of quality, and for editing with?
    Thanks for any help given. I appreciate this is a lot of questions, but I could really use the advice.
    ad 4: you use the library module, metadata panel to enter.
    ad 5: you use the map module. Either you manually drop your images on a map, or you have a separate GPS track to load and have LR assign via matching time-stamps.
    ad 6: like 4
    ad 7: You don't need JPG from your camera, you can achieve better results viy LR from RAW. Yes, there are significant advantages as to editing headroom.
    Overall, may I suggest my favorite learning material for LR? First watch Julieanne's Tutorial Videos.
    Then go play and use Victoria Bampton's eBook or paper copy of her "Missing FAQs to LR4": http://www.lightroomqueen.com/books/adobe-lightroom-4-missing-faq/
    Have fun,
    Cornelia

  • SOme more help on JSP-Servlets-Beans plz...!!

    Thanx a lot for your help !
    But I could not understand some things ...
    Suppose, I create 5 bean instances in my servlet, & "set" them with data from 5 tuples.
    Now, I need to pass these 5 bean objects to a JSP .
    HOW exactly can I pass them via a List object thru request attribute ?
    And, after doing that, HOW will I be able to access the individual Bean objects in the JSP ?
    Plz., see if you can send me some Code Snippets that illustrate the same.
    Once again, Thanks a lot for bearing with me !!
    Awaiting your response...
    Truly yours,
    Raghu

    Servlet:
    request.setAttribute ("someUniqueName", yourBeanList);
    JSP:
    Either <jsp:useBean> or insert a scriplet like <% List beanList = (List) request.getAttribute("someUniqueName"); %>

  • A little assistance and some big help needed

    I seem to be running into a problem migrating an MSAccess 2000 database to XE.
    I open the omwb2000.mde, select the database and define the location for the schema and data export.
    The DAO msi opens and I get error 1706. No Valid Source could be found for product DAO. the windows installer cannot continue.
    If I cancel the DAO and if I add forms and reports from the .mde I get error #5 - XML Exporter. Invalid procedure or call argument (the database location) Database Schema Export did not complete successfully.
    Any help is very appreciated.
    My local environment is:
    Win XP SP2
    Office 03 SP2
    Oracle XE
    OMWB 10.1.0.4.0

    Hi,
    Have you tried re-registering the DAO dao360.dll? If, for some reason, your MDAC install has gotten corrupt, you'll need to re-register. Try executing the following from the Start | Run command:
    regsvr32 "c:\program files\common files\microsoft shared\dao\dao360.dll"
    I would also recommend using the omwb2003.mde, and converting your MS Access 2000 database to 2003, seeing as you have MS Access 2003 installed on your machine. We recommend using the version of the Exporter Tool that corresponds with the version of MS Access installed on your machine.
    I hope this helps.
    Regards,
    Hilary

  • CSS11506 - Some basic help needed

    Alright, I have a CSS11506 in the lab and I am trying to configure it into a reverse proxy config. So I would like to have all inbound http requests hit the CSS and then have it redirect to our web server on correct DMZ. Having never setup a CSS before I need some help.
    - Is my service type proxy-cache, type redirect or type transparent cache ?
    I know this should be fairly easy to do with the 11506. Can you also provide some docs explaining the config walkthru.
    Any help would be appreciated.
    Cheers
    Dave

    Thanks, that explains a few things.
    So assuming the following, DMZ web server ip is 192.168.20.50 and VIP for CSS is 192.168.20.100, basically I would want to redirect all inbound http requests from 192.168.20.100 to the 192.168.20.50 using the following CSS config ?
    service rprox1
    ip address 192.168.20.50
    protocol tcp
    port 8080
    active
    owner clee
    content redirect_rule
    add service rprox1
    vip address 192.168.20.100
    protocol tcp
    port 8080
    url "/*"
    Like I said, never configured one yet so this is my first attemtp.
    Thanks again for the help
    Cheers
    Dave

  • Some programming help needed

    I'm trying to make an alarm clock... I've done all the code but I don't know how to play sounds... I've seen that there is some sort of class for sounds with applets, but I didn't make an applet. It's just normal AWT... can anybody help me out? .....also, is there a more efficient way of 'updating' the clock-label? I used a while loop, but I don't think it's the way it's supposed to be done.
    thanks

    I am not sure what you mean by using a while loop to update the clock-label. I would have used a Timer class to change the time at the given intervals (say every second).

  • More help needed on m2v problems!

    I have also been having problems when I try to import compressed (using Compressor) video files in SP 4. I have repaired file permissions and shortened the name of the file (as recommended in previous posts), but every time I try to import the file into SP, it closes the program and gives me an error report. When I try to open the file by itself, if opens Droplet. When I hit "submit," it freezes the program. Also, other compressed video files (that I have burned DVD's with in the recent past) don't work. They all do the same thing. It was all working fine last week (about two months after I upgraded Production Suite), and all of a sudden it's making me loose hair.
    Another thing I should mention: I have very little space left (1.89 GB) on my internal hard drive. This filled up very quickly, and I'm not quite sure how. When I started my computer yesterday, I had 5.5 GB. Before that, I had even more, though I'm hazy on the details. Anyway, I would GREATLY appreciate any help that's out there! Thanks!

    One thing (which may or may not help) is clearing off you hard drive, 1.89 Gigs on 80 Gigs will lead to the computer slowing down considerably, anything over 80% seems to be the number of more problems creeping up, and you should clear out as much as possible. With temp files, virtual memoory etc, it causes issues

  • Some quick help needed with certificates and split brain dns.

    I run exch 2010 and have one cas server(srv03).  I have split brain dns configured and working in my system.  I got a new certificate this year because of the new regulations that won't allow .internal names in the san portion of an ssl cert.
     I have followed several tids on the internet and still when I tried to implement it today the outlook clients started getting a popup that says [the name on the certificate is invalid or does not match the name of the site]  At the top of this popup
    is srv03.abccorp.internal which is what it was before.
    The certificate is for mail.abccorp.com and also includes autodiscover.abccorp.com and srv03.abccorp.com.  
    When I run [Get-clientAccessServer | fl Name,AutoDiscoverServiceInternalUri] the name and the Url is correct and has the .com value.
    When I run the test email autoconfiguration from my Outlook icon, and look at the log, Autodiscover URL found through SCP, is correct and it says Succeeded at the end.  In the results tab however the Server, Availability Service, OOF URL are still showing
    the .internal instead of .com.  The Internal OWA, External OWA and the OAB are correctly displaying the .com.  What commands do I need to run to change these as they seem to be the problem.
    I wasted a lot of time chasing the autodiscover before I found out about this test in outlook and realized the autodiscover url was correct. :-)
    I have two days left on my old cert that has both .com and .internal SANs so I rolled that back into service so the users stop getting messages.  Any help would be appreciated.

    Hi OTS,
    You can run the following command to Change the InternalUrl attribute of the EWS:
    Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl https://mail.abccorp.com/ews/exchange.asmx
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Niko Cheng
    TechNet Community Support

  • MAC OS-X Lion and Error 51 - More help needed

    There has been a great thread on this that was previously marked answered and closed.  It refers to the a great article written by Anders Brownworth and includes a link to a tool to decrypt the "shared key" embedded in the PCF file sent by my company.
    The decoder that Anders refers to will not properly decrypt the code from my PCF file and the client on my MAC responds with "The VPN Shared Secret is incorrect."
    It looks like I am really close to making a connection, but I can't get past this error. 
    Is there no way to just import the PCF file into the MAC client? 

    Hello Robert,
    In Windows 7 you would need to use the Cisco IPsec client which operates the same way as it does in XP with regards to the pcf.  So I am not sure why you are having trouble with Win7, if you are still having trouble with Win7 using the Cisco IPsec client please start a new thread for that specific issue as it is separate and distinct from Mac OS X and using the Mac OS X built in client.
    Did you follow this guide:
    http://anders.com/guides/native-cisco-vpn-on-mac-os-x/
    Thanks tomas.truchly.
    I have not heard of an issue with the Mac OS X Built-in client when properly configured and when the head-end has the security levels necessary.
    Also, since this thread has been Answered, to help ensure you get the help you need it might be best to open a new thread.
    -Craig

  • Some design help needed

    Hi all. First up, thanks for reading. The problem:
    Im currently doing a project to reflect the the difficulties involved in a large communications network (IE a mobile phone one)
    For the UI, I have a canvas class to reflect the world that the agents (users) and Base Stations (Nodes) are in. The agents and Nodes both have seperate classes Essentially, each base station needs to pick up any agents with in a certain distance (radar)
    Just wondering what would the easiest way for the nodes to pick up the agents on the canvas?
    Here is a screen shot (you'll have to expand it to get the best resoulution
    http://www.cs.ucc.ie/~ood1/project.bmp
    if People need to see the code, just ask, and i'll put it up.
    Thanks in advance

    so basically your saying that have each tower
    get the distance to each agent and then ifs
    its in the radius of that tower, pick it up?
    would this be considered cheating? Consider the real
    world (which I have to accuratly reflect....:( ) If
    you have a mobile 10 miles away from a Tower who has
    a radius of 5 miles, it wont pick you up, its not
    even aware of you.
    m thinking that I'll have to use some setBounds on
    the towers, and iterate through each xy position in
    the bounds and if another component is found, it is
    in range....
    ah hell, im just gonna cheat..Thanks guys
    Message was edited by: User
    ChopsCheating? this sin't cheating at all. it's a program, not the real world. It would be "cheating" if you didn't do this.

  • Some CLOB help needed

    Hello,
    I have a CLOB that needs to be scanned for a certain string. I was just putting the CLOB as a parameter to the instr function but some of the CLOBs are too large for the string buffer. The error I get is:
    "ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 9422, maximum: 4000)"
    Does anyone know an efficient workaround for this?
    Thanks!

    I was just putting the CLOB as a parameter to the instr function
    dbms_lob.instr is your friend ;-)

  • More help needed  re: playlists and restoring ipods

    we have our songs on two ipods, and we need them tobe in better order re: dance music, country, rock, etc..
    i know we can create a playlist in itunes...whats the best way to get them on the ipod this way.
    delete all on the ipod, and then add the playlists the way we want them?
    Or can we move them around without deleting stuff? Need the easiest (fastest way)

    ok...we had someone at the apple store check out our ipods, and they said "they're a mess...better off restoring them"
    so, when I plug the ipod into the pc, there will be an option to restore to default...then once I create my playlists, they'll go into the ipod the new way.

  • Some serious help needed

    guys
    i have a "class" student needs eight subjects "class" as well
    how can i do that thanks.

    is that array field will be in display class or subjects one or student one
    thanks.

Maybe you are looking for

  • JSP session getting destroyed when second user logs in

    Hi, I am facing a session related problem in a small login program in jsp. I am using three jsp pages, login.jsp (user logs in), page1.jsp (creates a session and stores username) and page2.jsp (accesses session). Login.jsp: No jsp actually. Just a si

  • Cannot open Dictionary from Oracle SOA Composer.

    Hi, I am trying to edit a previously defined ruleset from the SOA Composer console. While trying to open the same, from the pop up, I am getting an error : Error opening the document /deployed-composites/default/InvoiceProcessing_rev1.0/oracle/rules/

  • Hsodbc

    Hi I followe these url and step to connect from Oracle to sqlserver http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm SERVER X -- SYBASE SERVER Z -- ORACLE DATABASE Below is a series of steps that are needed to set up the

  • Question about java.util.date

    hello all. could anyone please help me or give me some input about a small problem i have run in to. okay, im writing a program that will read in 3 different text files and have them sorted into array lists. well i am working on the 3 main class defi

  • Very bad interlaced effect on Chroma Key filter

    Hallo everyone, Does anybody know why when I try to apply a croma key filter on Motion the image I get is like this ? while when I use FC I get best result? Like this: Is there any option to set in Motion Prefs? Thank you iMac G5, CD, C2D, MB Mac OS