Making program smaller

sorry for making another post, but no one was responding to my last one, i think because my question was answered, and then later i added to it.
but yeah this is my code
public class Time4 {
     private int hour = 9;
     private int minute = 59;
     private int second = 55;
     private String twoDigits;
     private String twoDigits1;
     private String twoDigits2;
     private String am_pm = "AM";
     public int getHour() {
          return hour;
     public int getMinuite() {
          return minute;
     public int getSecond() {
          return second;
     public String getAM_PM() {
          return am_pm;
     public String getTwoDigits() {
               return twoDigits;
     public String getTwoDigits1() {
                    return twoDigits1;
     public String getTwoDigits2() {
                    return twoDigits2;
     public void setHour(int hour) {
          this.hour = hour;
     public void setMinute(int minute) {
          this.minute = minute;
     public void setSecond(int second) {
          this.second = second;
     public void setAM_PM(int am_pm) {
          this.am_pm = String.valueOf(am_pm); //the first problem was here
     }               //your need parse to String
     public void setTwoDigits(int twoDigits) {
               this.twoDigits = String.valueOf(twoDigits); //the first problem was here
          }               //your need parse to String
          public void setTwoDigits1(int twoDigits1) {
                         this.twoDigits1 = String.valueOf(twoDigits1); //the first problem was here
          public void setTwoDigits2(int twoDigits2) {
                         this.twoDigits2 = String.valueOf(twoDigits2); //the first problem was here
     public void tick() //the second problem was here
          this.second++;
          if (this.second == 60) {
               this.second = 0;
               this.minute++;
          if (this.minute == 60) {
               this.minute = 0;
               this.hour++;
          if (this.hour > 12) {
               this.hour = 1;
               this.minute = 0;
               this.second = 0;
               if (this.am_pm == "AM") {
                    this.am_pm = "PM";
               } else if (this.am_pm == "PM") {
                    this.am_pm = "AM";
     public void displayTime() // *********************************
     // public void showTime() // Accessor
          do {
               try {
                    Thread.sleep(1000);
               } catch (InterruptedException e) {
                    System.out.println("Sleep Interruption:" + e);
               for (int i = 0; i < 80; i++) {
                    System.out.println();
               tick();
               if (this.hour <10)
                    twoDigits = "0" + this.hour;
               else
                    twoDigits = "" + this.hour;
               if (this.minute <10)
                    twoDigits1 = "0" + this.minute;
               else
                    twoDigits1 = "" + this.minute;
               if (this.second <10)
                    twoDigits2 = "0" + this.second;
               else
                    twoDigits2 = "" + this.second;
               // string to display the time
               System.out.printf( "                                "
                         + twoDigits + ": " + twoDigits1 + ": "
                         + twoDigits2 + " " + this.am_pm );
               // System.out.println(Hour + ":" + Minute + ":" + Second);
          } while (this.second > -100);
}what i want to do is make the twodigit part to be a general if statement that will do the same to hour, minute and second.
i know that i would have to create another method, but i do not know what to put in it.
if anyone has any ideas on how i could do this it would be great
thanks,
stoneman

You create a DecimalFormat object, and then you use it to format a number into a String. I think the method name is "format", if you can believe that! If you read the API it should all become clear.
But then again, a SimpleDateFormat can format the whole damn date for you.

Similar Messages

  • Can Adobe make a music making program?

    Hello, I love Adobe and all of their products. However, there isn't a music making program. Can Adobe please make a program like GarageBand or Mixcraft? If Adobe makes a program like that, then it would be awesome. Thank you

    This is an open forum with "some" Adobe staff participation
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for feature requests

  • [svn:fx-trunk] 11448: Making a small ItemRenderer change so that we don' t dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.

    Revision: 11448
    Author:   [email protected]
    Date:     2009-11-04 17:06:22 -0800 (Wed, 04 Nov 2009)
    Log Message:
    Making a small ItemRenderer change so that we don't dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as

    Revision: 11448
    Author:   [email protected]
    Date:     2009-11-04 17:06:22 -0800 (Wed, 04 Nov 2009)
    Log Message:
    Making a small ItemRenderer change so that we don't dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as

  • I played the a video game that has a rim tats black that goes around the screen making it smaller and normally when i quit the game the screen goes back to normal but now when i quit the game the ring of black stays plz help it makes my screen small

    Ok so i played the sims a game that make your screens smaller by adding to black bares at the side that kind of zoom it in but now no matter what the black bars stay and it makes mi screen smaller and stuff doesnt fit on it please help i need the whole screen it is like when a movie doesnt fit the tv screen there is like black on the side making it so that it fits please help

    go to System Preferences > Displays and select the highest resolution (1280x820) or something like that. the screen should turn blue for a sec then go back to normal resolution.

  • Error message in making program in SE38

    Dear Sir ,
    When I making a Z program in Tcode SE38, system through following messge
    You are not registred as a developer , please enter in the OSS (online service system),In the OSS you will recieve an access key .
    How can I solve this problem , plese provide some suggestion to me.
    thanks & Regards
    Shailendra

    Hi Shailendra,
    You are not authorized to work in transaction SE38, generally developer will have the access for this transaction to work on coding part.
    Consult Basis person, who are authorized to give u developer access.
    Regards,
    Nani.

  • Intro to Programming Small Basic Lab

    Hello All,
    I am currently working on a lab for my intro to programming class that I am having some difficulty with.  The assignment is to create a program in Small Basic where a teacher can enter a Students name, enter multiple grades for that student, then when
    the teacher does not have another grade for that student, to have the program return an average of all the grades entered.  The program should then prompt the teacher if they have another student's grade to enter.  It's supposed to help us understand
    "while" loops, however, our teacher did not explain much about how to begin this process or how to calculate averages for something such as this... It's all very confusing and several of us (those of us who are GENUINELY beginners to programming...)
    are having issues with the assignment.  Any assistance would be greatly appreciated! Here is one of my many attempts at creating this program:
    Continue = "no"
    If Continue <> "no" Then
      Grade=""
      While(Grade<>"")
        TextWindow.Write("Enter the name of the student: ")
        Name=TextWindow.Read()   
        TextWindow.Write("Enter a grade: ")
        Grade=TextWindow.ReadNumber()
        x=array.getitemcount("Grade")
        y=array.getvalue("Name" , "Grade")
        Textwindow.WriteLine(Name + "'s total grade is: " + y/x)
      EndWhile
      TextWindow.Write("Do you have another student?: [yes] [no]")
      Continue=TextWindow.Read()
    EndIf
    I know I am doing something very wrong with this program, I just don't know what... I don't want the answer just GIVEN to me, but any hints or tips would be great.
    Regards,
    James

    Not sure you will get much response here - this is a VB.Net forum.
    Here's a hint: is continue = 'no' at start of if? Look at the previous line. Also look at the test in the while. For the if branch to be taken the test must be true, for the while to repeat the test must be true.
    Regards David R
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
    Object-oriented programming offers a sustainable way to write spaghetti code. - Paul Graham.
    Every program eventually becomes rococo, and then rubble. - Alan Perlis
    The only valid measurement of code quality: WTFs/minute.

  • Making executables smaller in general

    Some of you might have caught wind of this project I'm working on. For those who haven't, its goal is to, above all else, be as small as possible. That doesn't mean I'll make myself go mad by using assembly or incomplete libraries.
    I was just wondering if there was any way I could possibly get the small binaries I'm producing any smaller, without drastically rethinking the code.
    At the moment, gcc is on my fail list: it seems to produce considerably sizable binaries for the small amount of code in each program, compared to tcc, which generates some of the smallest code I've seen yet.
    In one test, after running gcc -Os -O3 -s on one program, then stripping it, then hacking away at what was left with objcopy -R (and accidentally rendering it unusable), I was left with a 6.7K binary, while running tcc on the same source produced a 6.6K binary. Without stripping or removing any sections.
    That might sound small, but after running tcc, strip and objcopy -R (and removing .comment and .note.GNU-stack) on the same code, I was left with a 5.9K binary.
    That's one of my better examples though (my best is 4.2K for another app). I was just wondering... I have some programs I've done this with and they won't go below, say, around 12K. Since gcc isn't in my good books and tcc won't accept -O3 et al., do you have any ideas I might apply to my binaries to make them smaller? Or perhaps a preprocessor I can apply to my sourcecode to pre-optimize it?
    -dav7

    I've made a test with gcc 4.3.2, tcc 0.9.24 and llvm-gcc 2.4. Here's the result: (_s indicates stripped, _ns not stripped)
    gcc_Os_ns 9.7K
    gcc_Os_s 6.2K
    gcc_ns 11K
    gcc_s 7.1K
    getfile.c 5.1K
    llvm-Os_ns 11K
    llvm-Os_s 6.7K
    llvm-ns 11K
    llvm-s 7.3K
    tcc_Os_ns 7.4K
    tcc_Os_s 6.8K
    tcc_ns 7.4K
    tcc_s 6.8K
    Tested file:
    /* getfile.c (c) Johannes Krampf */
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <arpa/inet.h>
    #include <netdb.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    int main(int argc, char** argv) {
    int rv;
    int match = 0;
    int sockfd = 0;
    int status = 0;
    size_t reqsize = 45;
    char* url = NULL;
    char* posSlash = NULL;
    char* posSearch = NULL;
    char* dynBuffer = NULL;
    FILE* outfile = NULL;
    struct addrinfo hints;
    struct addrinfo *servinfo = NULL;
    struct addrinfo *p = NULL;
    if (3 != argc) {
    puts("FEHLER: Falsche Zahl Argumente.");
    puts("\nBenutzung: getfile [url][datei]");
    return -1;
    url = argv[1];
    if (NULL == url) {
    return 0;
    if ( (7 < strlen(url)) &&
    (0 == strncmp("http://", url, 7)) ) {
    url += 7;
    posSlash = strchr(url, '/');
    if (NULL == posSlash) {
    dynBuffer = url;
    dynBuffer = (char *)calloc(strlen(url)+1, sizeof(char));
    if (NULL == dynBuffer) {
    return -1;
    strncpy(dynBuffer, url, strlen(url));
    }else {
    dynBuffer = (char *)calloc((size_t)(posSlash-url+1), sizeof(char));
    if (NULL == dynBuffer) {
    return -1;
    strncpy(dynBuffer, url, (size_t)(posSlash-url));
    dynBuffer[posSlash-url] = '\0';
    memset(&hints, 0, sizeof hints);
    hints.ai_family = AF_UNSPEC;
    hints.ai_socktype = SOCK_STREAM;
    hints.ai_flags = AI_CANONNAME;
    if ((rv = getaddrinfo(dynBuffer, "http", &hints, &servinfo)) != 0) {
    free(dynBuffer);
    fprintf(stderr, "getaddrinfo: %s\n", gai_strerror(rv));
    return -1;
    free(dynBuffer);
    dynBuffer = NULL;
    for(p = servinfo; p != NULL; p = p->ai_next) {
    if (AF_INET == p->ai_addr->sa_family) {
    dynBuffer = (char *)calloc(INET_ADDRSTRLEN+1, sizeof(char));
    if (NULL == dynBuffer) {
    freeaddrinfo(servinfo);
    return -1;
    inet_ntop(AF_INET, &(((struct sockaddr_in *)p->ai_addr)->sin_addr), dynBuffer, INET_ADDRSTRLEN);
    }else if (AF_INET6 == p->ai_addr->sa_family) {
    dynBuffer = (char *)calloc(INET6_ADDRSTRLEN+1, sizeof(char));
    if (NULL == dynBuffer) {
    freeaddrinfo(servinfo);
    return -1;
    inet_ntop(AF_INET6, &(((struct sockaddr_in6 *)p->ai_addr)->sin6_addr), dynBuffer, INET6_ADDRSTRLEN);
    }else {
    fprintf(stderr, "Fehler nach getaddrinfo: Ungueltiger Protokolltyp '%x', breche ab.\n", p->ai_addr->sa_family);
    free(dynBuffer);
    freeaddrinfo(servinfo);
    return -1;
    printf("Verbinde zu %s (%s)...", servinfo->ai_canonname, dynBuffer);
    fflush(stdout);
    free(dynBuffer);
    dynBuffer = NULL;
    if ((sockfd = socket(p->ai_family, p->ai_socktype,
    p->ai_protocol)) == -1) {
    continue;
    if (connect(sockfd, p->ai_addr, p->ai_addrlen) == -1) {
    close(sockfd);
    puts("fehlgeschlagen.");
    continue;
    break;
    freeaddrinfo(servinfo);
    if (p == NULL) {
    return -1;
    }else {
    puts("erfolgreich verbunden.");
    if (NULL == posSlash) {
    reqsize += strlen(url) + 1;
    } else {
    reqsize += (posSlash - url) + strlen(posSlash);
    dynBuffer = (char *)calloc(reqsize, sizeof(char));
    if (NULL == dynBuffer) {
    close(sockfd);
    return -1;
    strcpy(dynBuffer, "GET /");
    if (NULL != posSlash) {
    strcat(dynBuffer, posSlash+1);
    strncat(dynBuffer, " HTTP/1.1\r\nHost: ", 17);
    if (NULL == posSlash) {
    strncat(dynBuffer, url, strlen(url));
    }else {
    strncat(dynBuffer, url, (size_t)(posSlash - url));
    strncat(dynBuffer, "\r\nConnection: close", 19);
    strncat(dynBuffer, "\r\n\r\n", 4);
    if (-1 == send(sockfd, dynBuffer, reqsize, 0)) {
    free(dynBuffer);
    puts("Fehler beim Senden der Anfrage, breche ab.");
    return -1;
    free(dynBuffer);
    dynBuffer = NULL;
    dynBuffer = (void *)calloc(1025, sizeof(char));
    if (NULL == dynBuffer) {
    close(sockfd);
    return -1;
    printf("Anfrage gesendet, warte auf Antwort...");
    fflush(stdout);
    while (0 < (rv = recv(sockfd, dynBuffer, 1024, MSG_WAITALL))) {
    dynBuffer[rv] = '\0';
    if (0 == status) {
    if ((0 == strncmp("HTTP/1.", dynBuffer, 7)) &&
    (12 < rv) &&
    (0 == strncmp("200", dynBuffer + 9, 3))) {
    status = 200;
    }else {
    close(sockfd);
    posSlash = strchr(dynBuffer, '\r');
    if (NULL == posSlash) {
    fprintf(stderr, "\nUngueltige Antwort, breche ab.\n");
    }else {
    *posSlash = '\0';
    fprintf(stderr, "\nAntwort: '%s', breche ab.\n", dynBuffer);
    free(dynBuffer);
    return -1;
    if (4 == match) {
    fwrite(dynBuffer, 1, rv, outfile);
    }else {
    posSearch = dynBuffer;
    while('\0' != *posSearch) {
    if ( (((0 == match) || (2 == match)) && ((char)13 == *posSearch)) ||
    (((1 == match) || (3 == match)) && ((char)10 == *posSearch)) ) {
    match++;
    }else {
    match = 0;
    if (4 == match) {
    outfile = fopen (argv[2],"wb");
    if (NULL == outfile) {
    close(sockfd);
    free(dynBuffer);
    fprintf(stderr, "Konnte Datei '%s' nicht oeffnen!", argv[2]);
    return -1;
    fwrite(posSearch + 1, 1, rv-(posSearch-dynBuffer+1), outfile);
    break;
    posSearch++;
    close(sockfd);
    fclose(outfile);
    free(dynBuffer);
    dynBuffer = NULL;
    puts("erhalten.");
    * GET /index.html HTTP/1.1
    * Host: www.example.com
    return 0;

  • Making programs in Mac OS 9

    How might I go about making a program in OS 9? I want a MUD program for my iMac so I can host it off of it. But the only one I have found isn't the kind I want or need.

    Hi,
    One option for F77 and F90 FORTRAN and C/C++ is Absoft . I have Absoft Pro FORTRAN 8.0 which was available 4 years ago. I don't see an Absoft available now for Mac OS 9.x. eBay may have one though.
    Another option is Think C. Again, used to be made by Symantec, but now discontinued. May be available on eBay.
    Finally, check out GNU freeware such as GCC . Here's some history on ports to OS9.
    You'll probably also need an IDE. Search the GNU site. Google is also useful here.
    Good luck!
    Ed
    PB G4 Mac OS X (10.2.x)

  • Pictures blurry from making them smaller

    I am trying to use photoshop elements 10 to make an invitation! When I drag the picture over to my background it comes over as 200x200 when I make it smaller to the size I need the picture to be,the picture is blurry! How can I fix this?

    Often a shutdown and restart will fix a multitude of problems. Glad it's back to normal.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Making Pics smaller in size?  HELP?

    Hey guys,
    I have been trying to figure out how to take a jpeg and scale it down to any size that i need...?
    For example, I am trying to make an avatar out of a jpeg I have, but it needs to be no larger than 100 wide and 100 high ......
    This used to be easy in windows with PAINT, but have not figured out how to do it on a MAC yet?
    Please Help
    Thanks
    JW

    There are some very low-tech ways to scale an image; the screenshot
    method is fairly good since you already have that, built-in to the system.
    With Leopard and Tiger OSX, there are differences in how some things
    work; and for users moving up from Panther or Tiger, the tools in Preview
    are different, too. This affects how you'd use Preview with your images.
    More often (given the OSX version in use on my Macs) I choose to use
    a freeware called ToyViewer to do some image edits since I do not put
    all my images into iPhoto; and I prefer to manually pre-edit them with
    several ideas in mind, and download into the computer from camera in
    a very manual means whereby the batch is saved in folders by date.
    This is helpful when using several digital cameras and do not want the
    iPhoto to dump them together. But Preview's ability to do some good
    image edits disappeared in Tiger, and some actions do not stay saved.
    You can drop any image into a empty browser window and drag the
    window into a different size by mouse clicking on the corner, then do
    a screenshot. Or if using Preview, many images will automatically
    resize to fit the Preview window, and you can also drag it smaller, too.
    Since I do not use Leopard in my old G4 computers, there are some
    features I am unfamiliar with; but if you find some editing hard to get
    to stay saved in an image, ToyViewer could be a good answer, and
    it does a fair job. And it is free. The results are good to go, anywhere.
    {ToyViewer Version 4.92 (Nov. 2007) by Takeshi OGIHARA}
    For some of my size-reduced images destined for hosting online at
    a site, I've reduced them in Preview, screenshot them including the
    border of the Preview window, and the title is in the upper margin.
    Another good editing program is Color It® though I am not sure of
    its compatibility with Leopard OSX 10.5.x. It is more than an editor.

  • Tips on making  movies smaller

    We are created a Flash banner for a client that has a maximum
    size of 20k. And of course, the client wants War & Peace on the
    banner along with about 10 images which maxes out at 120k (don't
    ask, we've already told them it won't work).
    We've imported the images we need to use as PNGs
    We set all they type inside of Flash.
    Are there any techniques to keep the file as small as
    possible? I know were going to need to trim the animation down but
    if there are any tricks & techniques you can pass along, I'd
    appreciate it.
    -K

    Have you generated a size report to see where all the bits
    and bytes are coming from? Certain fonts can contribute a lot to
    file size. Other tips that sometimes work: make sure everything
    that moves is a movie clip, not a Group or a Graphic. And if you
    can use ActionScript for as much of the animation as possible that
    will keep things down.
    Speaking as someone who has created over 300 banners for
    Yahoo and hundreds of e-cards for major e-card sites who also
    impose file size limits, the ultimate solution is:
    Tell the client "No. You can't do that." Some people are
    afraid to confront or even scold clients. Consider it educating
    them. Often they really appreciate it, because they end up
    understanding a bit more about the process and can make more
    informed suggestions in the future. You wouldn't believe how many
    times I've done so. They might sulk a little bit, but them they
    usually come back after a pause and ask: "So...what do YOU think
    the solution is?"

  • Making two small hard drives into one big partition, so i can install jsdk

    I want to install jsdk but my hard drive isnt big enough. I connected a second hard drive to the same cable as my 1st hard drive, i want to make one partition. Is that possible? How can i do it so to harddrives look like one hard drive when i open "My Computer" I have fdisk, but what do i choose to partition it correctly?
    thanks,
    N

    i explain what i know but if i am wrong maybe some others will correct me:
    From what i know, there is no way to auto fill the second when the first is filled. BTW the first will not be filled because if it does, there wont be enough space to run your other program.
    Master and slave is like a primary harddisk and a secondary hardisk
    Master is where your OS resites and is commoly known as C drive whileas secondary can be your D, E , F( i am refering to harddisk not your CD-Rom or floppy drive)
    Logic partitioning is where u separate your one hard disk into several parts... Like u can separate your C into several shelves to store things. No conflict will arise if same filename is found in the C drive.
    Extended is where u separate the separated portions of the hard disk... like separating one shelf into two: one to keep your books and the other to keep your pencil etc.

  • Looking For A "Beat Making" Program

    I'm looking for a program that makes beats and runs on the Mac os x. I've seen some but none of them have been pretty good. Like iDrum erc. I need professional stuff.

    You will like this application:
    http://www.apple.com/downloads/macosx/audio/traktordjstudio.html
    It is probably the best option for OSX!
    Hopefully this is helpfull or solved your problem. Consider rewarding some points!
    Please see the "helpfull" and "solved" button's on top off this message! Apple: Why reward points?

  • Pop up, UAC warning me of Firefox making program changes

    I am running Windows 7 Professional (64 bit) and every time I launch Firefox 4 I receive a pop up which asks me "Do you want to allow the following program to make changes to this computer?" I realize this is a part of the UAC, which "I'm not going to disable" but why does Firefox constantly do this and is there a way (without disabling the UAC) to stop this from happening?

    Had the same problem and found that the only way to solve it was to delete all shortcuts and then go back to where the .exe is located and create a new shortcut and then ensure Uncheck "Run As Adminstrator" as above.

  • Making Programs "not there" for other account/users...

    I'm not even sure if I'm in the right place for posting this question. If not, my apologies. There are many programs installed on my computer that no one else uses or even knows what it is (I'm the computer savy person) and shows up in their account, like in applications or where ever it may be. So my question is, can I make it so that it's not there for that person to use, and only on my account for me to use (I am the administrator of the computer). Also, will it save any space on my HD if I made the programs "not there" on other accounts? Thanks.

    1. If you dragged the application onto your hard disk, create a new Finder window and click on the item in the sidebar with the house icon. Create a new folder and move the applications in here. Some application updaters may expect the application to be located in a specific place; this isn't an issue for updates you apply by dragging files into folders.
    2. No.
    (16972)

Maybe you are looking for

  • Form Submission Problem

    Hi, I've setup a form with 2 items (username,password), both being text fields, with a submit button which will resubmit to the same page. When I try and pass these variable through using the submit button fields, it will NOT pass the values within t

  • How to get the CanGoBack property and GoBack() method for windows 8 store app

    Hi Everybody,         I m working windows 8 store app with webview. Here I have two buttons for go back and go forward. But i didn't have default  property for goback and goforward. How can i achieve this? 

  • Update has taken over 2 hours...what do I do?!

    The update for blackberry is taking forever! One hour will go by, then I get an error message and then the update starts again, then it stays where it is for another hour, and then I get another error message. It's been 2+ hours!! what do i do? just

  • No tabs are showing up in my creative cloud

    the Home, Assets, Apps, Community tabs are not showing up in creative cloud. I have uninstalled and reinstalled many times to get it to work but it hasn't. I am on windows 8 and i recenlty had it before but deleted it and now i want it back. Any help

  • IPad wifi greyed out

    My iPad (model A1460) cannot connect to WiFi - this happened yesterday, before then the wireless was working fine Now in settings, choosing WiFi does not allow me to switch wireless on or off - the selection is greyed out, and the button will not mov