What is Wrong with My html-el:reset Tag?

In my JSP, I used <html-el:form ...>, <htim-el:checkbox ...>, <html-el:hidden ... >, <html-el:submit ... > without any problem.
But, I got Error 500:(class: org/apache/strutsel?taglib/html/ELResetTag, method: release signature: ?V) Illegal use of nonvirtual method call
when I used:
<html-el:reset accesskey="C">Clear</html-el:reset>And the reset button does not get displayed when I
<html-el:reset>Clear</html-el:reset>Would anybody point out what is wrong with the way I used the reset tag? Thank you.

In my JSP, I used <html-el:form ...>, <htim-el:checkbox ...>, <html-el:hidden ... >, <html-el:submit ... > without any problem.
But, I got Error 500:(class: org/apache/strutsel?taglib/html/ELResetTag, method: release signature: ?V) Illegal use of nonvirtual method call
when I used:
<html-el:reset accesskey="C">Clear</html-el:reset>And the reset button does not get displayed when I
<html-el:reset>Clear</html-el:reset>Would anybody point out what is wrong with the way I used the reset tag? Thank you.

Similar Messages

  • What's wrong with this html and css code? ref: Create your first  website tut.

    In reply to David Powers re: design view doesn't translate to browser.  I hope this is the approved way to send copies of code and images.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>cable cars</title>
    <link href="main.css" rel="stylesheet" type="text/css">
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->
    <script>var __adobewebfontsappname__="dreamweaver"</script>
    <script src="http://use.edgefonts.net/source-sans-pro:n6:default.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="#wrapper">
      <header id="top">
        <h1>Bayside Beat</h1>
        <nav id="mainnav">
          <ul>
            <li><a href="index.html" class="thispage">Home</a></li>
            <li><a href="sightseeing.html">Sightseeing</a></li>
            <li><a href="eating_out.html">Eating Out</a></li>
            <li><a href="whats_on.html">Whats On</a></li>
            <li><a href="where_to_stay.html">Where to Stay</a></li>
          </ul>
        </nav>
      </header>
      <div id="hero">
        <article>
          <h2>Be  Where It&rsquo;s At</h2>
          <p> </p>
          <p>San Francisco is one of the most exciting and vibrant cities on  the planet. Bayside Beat is here to keep you informed of the best  places to see, where to eat, what to do, and where to lay down your  weary head after an action-packed day—or night—on the town.</p>
        </article>
      <img src="golden_gate.jpg" width="1214" height="547" alt=""/>  </div>
      <article id="main">
        <h2>Riding  the Cable Cars</h2>
        <p> </p>
        <p>No visit to San Francisco is complete without a ride on the iconic  cable cars that climb up the vertiginous hills of the city. Of the  twenty-three lines established between 1873 and 1890, three remain:  two routes from downtown near Union Square to <a href="http://www.fishermanswharf.org/">Fisherman's Wharf</a>, and  a third route along California Street.</p>
        <p> </p>
        <p>The cable cars rely on cables running constantly beneath the  road&rsquo;s surface. The driver—or gripman—uses a lever to grip the  cable to pull the car and its passengers up the hill. The gripman  requires not only great strength, but also great skill. He needs to  know where to release the cable to coast over crossing cables and  points. The conductor works in close cooperation with the gripman,  operating the brake at the rear of the car to prevent it from running  out of control on the downward slopes.</p>
        <img src="cable_car1.jpg" width="400" height="266" alt=""/>
        <figure>
          <p>The cable car terminus near Union Square</p>
    </figure>
        <p> </p>
        <p>Although the cable cars are now mainly a tourist attraction,  they&rsquo;re still used by local commuters to get to and from work. The  California Street line is particularly popular among commuters on  weekdays.</p>
      </article>
      <article id="sidebar">
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <HTML>
        <!--          @page { margin: 2cm }          A:link { so-language: zxx }      -->
        <BODY DIR="LTR">
        <h2>Cable  Car Tips</h2>
        <p> </p>
        <p>A single ride on a cable car costs $6. If you plan to travel  around the city, it&rsquo;s often cheaper to buy a Muni Passport, which  gives you unlimited rides on San Francisco&rsquo;s extensive public  transport system, including the cable cars (but not the <a href="http://www.bart.gov/">BART</a> subway  system). Even a single-day passport ($14) will save you money if you  make a return trip, and stop off to visit Chinatown one way.</p>
        <p> </p>
        <p>There are often long lines at the cable car terminus, particularly  on the Powell-Mason and Powell-Hyde routes. If you don&rsquo;t want to  wait, try walking a few stops along the route. The conductor usually  leaves a small number of places to pick up passengers on the way. The  California Street route is generally less crowded (but not as  spectacular).</p>
      </article>
      <div id="footer">&copy; Copyright Bayside Beat 2013</div>
    </div>
    </body>
    </html>

    Some very strange code that doesn't belong. 
    <article id="sidebar">
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <HTML>
        <!--          @page { margin: 2cm }          A:link { so-language: zxx }      -->
        <BODY DIR="LTR">
    Not sure how that got in there but it is definitely not valid.  Looks like a bad copy & paste from some other document.
    Have you reviewed the fundamentals of HTML5 docs yet?  Knowing the basic structure  will help you more than anything else you can learn at this point. 
    Each page has:
    one DOCTYPE,
    one set of <html> tags,
    one set of <head> tags,
    one set of <body> tags. 
    http://www.w3schools.com/html/html5_intro.asp
      <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Title of the document</title>
    </head>
    <body>
    Content of the document......
    </body>
    </html>   
    Nancy O.

  • What's wrong with the HTML Editor?

    When editing the HTML of my project, when I put the cursor into position the text at that point partially disappears - notice the 'd' in 'bold' above. It's also slow and generally just difficult to use because the text gets so messed up when you edit it, that you can't see what you're doing!!
    Trying to insert javascript is an absolute nightmare.
    Is it just me or do other people have this issue too?

    Thanks - it works much better now.
    There is still a slight delay when moving the cursor around so it's not perfect but a definite improvement. Now i just need to work on improving my eyesight so I can see properly without zooming in.
    I'm using RoboHelp 9.
    Cheers!

  • My screen won't work the only time it does is when i enter in my passcode. what is wrong with it?

    my screen won't work the only time it does is when i enter in my passcode. what is wrong with it?

    Try resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next try connecting the iPod to your computer and restoring the iPod from backup via iTunes.
    - If itunes does not see the iPod, see if placing the iPod in recovery mode will make it visible so you can restire it.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • I was just using my iPod this morning. I turned it off after using it, but when i opened it in the afternoon, i couldn't connect to my wifi anymore. I tried resetting the network but it still didn't work. I wonder what is wrong with it?

    My ipod 4th generation can't connect to my wifi. I was just using it this morning. I turned it off for awhile but when i opened it in the afternoon, it just won't connect to my wifi. My wifi is ok 'cause i am able to use my mac. I wonder what is wrong with it?

    - Do other devices successfully connect using your network?
    - Does the iPod successfully connect to other networks?
    - Reset the iPod . Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points

  • I have just deleted an app call Wattpad and I want to download it again but it always says that I need to retry downloading it. I have tried restart a few times but nothing seems to happen. What's wrong with my phone? If I reset my phone will my pictures

    I have just deleted an app call Wattpad and I want to download it again but it always says that I need to retry downloading it. I have tried restart a few times but nothing seems to happen. What's wrong with my phone? If I reset my phone will my pictures

    Hello there, SamanthaYikwai.
    The following Knowledge Base article offers up some basic steps to try for reinstalling an app:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open.
    http://support.apple.com/kb/ts1702
    Reinstall the app
    Remove the app from your device and reinstall it. Remember that deleting an app also deletes its data.
    Delete the app.
    Press the Home button.
    Go to the App Store and download the app again.
    Wait for the app to download, then open it from the Home screen.
    If the download stops, you can resume it.
    If the issue persists, then you may want to try and sync the application to your iOS device using  your computer by following the information in this article, under the section "Download previous purchases on Mac or PC":
    Download past purchases
    http://support.apple.com/kb/HT2519
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My ipod just shows the grey reset screen but it won't play music it shuts off what's wrong with it?

    I recently scanned my ipod because my computer wasn't recognizing it and so I let it scan for awhile after about an hour or so I decided to cancel the scan bc it was taking an unusual amount of time. I didn't eject first without shutting down the norton program, but soon after my ipod stopped playing music and it freezes and shuts down now when I want it to play. What's wrong with it, can anyone help me?

    I am experiencing the same thing on log out, not all the time but too often. I can get going again by shutting down with the power button, waiting 10 sec. then pressing the power button to boot up again. I have run Disk Utilities, Techtool Deluxe and Disk Warrior which all indicate everything is OK. So I am hoping someone will be able to help us with this issue.

  • What's wrong with networking since Leopard?

    Hi,
    I'm with Mac since years. I was a PC User once and spent hours with all kinds of network troubles. What convinced me with Mac right in the beginning was easy networking: It just worked!
    But since Leopard things got worse: I have several MBP's, iMacs, Airport Extreme's and Airport Express's at different places which I installed, and I face the same problems at EVERY place:
    - I can't connect to AExtreme for several reasons: timeout, security incompatibility, ...
    - Sometimes only two Macs are allowed to connect to one AExtreme
    - Airport doesn't find Aiport or any other networks for minutes
    - After connecting to the router, can't get an IP (self-assigned IP only) - other PCs get an IP.
    - Aiport Extreme crashes (yellow blinking)
    - connection loss (even when AExtreme is very close)
    Now I know about networking, about configuration, I've done this for years. Whatever I do, problems disappear and appear again, at different times, at different places with different hardware.
    What is wrong with Leopard? Such problems remind me of times with Windows98 and stuff like that.

    What's wrong with networking since Leopard?
    on my network and many i have setup there have been no problems with leopard. However there are always teething problems with new operating systems. Thankfully with leopard only a tiny percentage of users experience technical difficulties.
    can't connect to AExtreme for several reasons: timeout, security incompatibility,
    is it set to use WPA/WPA2
    Airport doesn't find Aiport or any other networks for minutes
    sometimes my macbook pro takes a while to show up any networks if there are lots in the area this is because it is scanning them all.
    After connecting to the router, can't get an IP (self-assigned IP only) - other PCs get an IP.
    What kind of router are you using? What happens if you powercycle the router?
    # Aiport Extreme crashes (yellow blinking)
    # connection loss (even when AExtreme is very close)
    Have you tried resetting your AE to default. reinstalling its firmware or checking for a firmware update?
    Have you tried changing hte wireless channel your networ is broadcasting on?
    What is wrong with Leopard? Such problems remind me of times with Windows98 and stuff like that.
    Did you upgrade install your leopard installation or did you do clean (erase) installations?
    Have you tried created new network locations?

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • I cant download apps throgh wifi on my iphone however when i connect to cellular data it starts downloading. then what is wrong over wifi , i tried reset network setting but i didnt help

    i cant download apps throgh wifi on my iphone however when i connect to cellular data it starts downloading. then what is wrong over wifi , i tried reset network setting but i didnt help

    Definitely sounds like an issue with your Wi-Fi network. Do any other devices on the network have similar issues? Is it an issue only with downloading apps? You can check by trying to load a website in Safari.
    I would try turning your Wi-Fi router off for 1 minute, and back on again.
    After doing that, disconnect and re-join the Wi-Fi network on your iPhone and try downloading an app again.

  • I can't figure out what's wrong with this code

    First i want this program to allow me to enter a number with the EasyReader class and depending on the number entered it will show that specific line of this peom:
    One two buckle your shoe
    Three four shut the door
    Five six pick up sticks
    Seven eight lay them straight
    Nine ten this is the end.
    The error message i got was an illegal start of expression. I can't figure out why it is giving me this error because i have if (n = 1) || (n = 2) statements. My code is:
    public class PoemSeventeen
    public static void main(String[] args)
    EasyReader console = new EasyReader();
    System.out.println("Enter a number for the poem (0 to quit): ");
    int n = console.readInt();
    if (n = 1) || (n = 2)
    System.out.println("One, two, buckle your shoe");
    else if (n = 3) || (n = 4)
    System.out.println("Three, four, shut the door");
    else if (n = 5) || (n = 6)
    System.out.println("Five, six, pick up sticks");
    else if (n = 7) || (n = 8)
    System.out.println("Seven, eight, lay them straight");
    else if (n = 9) || (n = 10)
    System.out.println("Nine, ten, this is the end");
    else if (n = 0)
    System.out.println("You may exit now");
    else
    System.out.println("Put in a number between 0 and 10");
    I messed around with a few other thing because i had some weird errors before but now i have narrowed it down to just this 1 error.
    The EasyReader class code:
    // package com.skylit.io;
    import java.io.*;
    * @author Gary Litvin
    * @version 1.2, 5/30/02
    * Written as part of
    * <i>Java Methods: An Introduction to Object-Oriented Programming</i>
    * (Skylight Publishing 2001, ISBN 0-9654853-7-4)
    * and
    * <i>Java Methods AB: Data Structures</i>
    * (Skylight Publishing 2003, ISBN 0-9654853-1-5)
    * EasyReader provides simple methods for reading the console and
    * for opening and reading text files. All exceptions are handled
    * inside the class and are hidden from the user.
    * <xmp>
    * Example:
    * =======
    * EasyReader console = new EasyReader();
    * System.out.print("Enter input file name: ");
    * String fileName = console.readLine();
    * EasyReader inFile = new EasyReader(fileName);
    * if (inFile.bad())
    * System.err.println("Can't open " + fileName);
    * System.exit(1);
    * String firstLine = inFile.readLine();
    * if (!inFile.eof()) // or: if (firstLine != null)
    * System.out.println("The first line is : " + firstLine);
    * System.out.print("Enter the maximum number of integers to read: ");
    * int maxCount = console.readInt();
    * int k, count = 0;
    * while (count < maxCount && !inFile.eof())
    * k = inFile.readInt();
    * if (!inFile.eof())
    * // process or store this number
    * count++;
    * inFile.close(); // optional
    * System.out.println(count + " numbers read");
    * </xmp>
    public class EasyReader
    protected String myFileName;
    protected BufferedReader myInFile;
    protected int myErrorFlags = 0;
    protected static final int OPENERROR = 0x0001;
    protected static final int CLOSEERROR = 0x0002;
    protected static final int READERROR = 0x0004;
    protected static final int EOF = 0x0100;
    * Constructor. Prepares console (System.in) for reading
    public EasyReader()
    myFileName = null;
    myErrorFlags = 0;
    myInFile = new BufferedReader(
    new InputStreamReader(System.in), 128);
    * Constructor. opens a file for reading
    * @param fileName the name or pathname of the file
    public EasyReader(String fileName)
    myFileName = fileName;
    myErrorFlags = 0;
    try
    myInFile = new BufferedReader(new FileReader(fileName), 1024);
    catch (FileNotFoundException e)
    myErrorFlags |= OPENERROR;
    myFileName = null;
    * Closes the file
    public void close()
    if (myFileName == null)
    return;
    try
    myInFile.close();
    catch (IOException e)
    System.err.println("Error closing " + myFileName + "\n");
    myErrorFlags |= CLOSEERROR;
    * Checks the status of the file
    * @return true if en error occurred opening or reading the file,
    * false otherwise
    public boolean bad()
    return myErrorFlags != 0;
    * Checks the EOF status of the file
    * @return true if EOF was encountered in the previous read
    * operation, false otherwise
    public boolean eof()
    return (myErrorFlags & EOF) != 0;
    private boolean ready() throws IOException
    return myFileName == null || myInFile.ready();
    * Reads the next character from a file (any character including
    * a space or a newline character).
    * @return character read or <code>null</code> character
    * (Unicode 0) if trying to read beyond the EOF
    public char readChar()
    char ch = '\u0000';
    try
    if (ready())
    ch = (char)myInFile.read();
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    if (ch == '\u0000')
    myErrorFlags |= EOF;
    return ch;
    * Reads from the current position in the file up to and including
    * the next newline character. The newline character is thrown away
    * @return the read string (excluding the newline character) or
    * null if trying to read beyond the EOF
    public String readLine()
    String s = null;
    try
    s = myInFile.readLine();
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    if (s == null)
    myErrorFlags |= EOF;
    return s;
    * Skips whitespace and reads the next word (a string of consecutive
    * non-whitespace characters (up to but excluding the next space,
    * newline, etc.)
    * @return the read string or null if trying to read beyond the EOF
    public String readWord()
    StringBuffer buffer = new StringBuffer(128);
    char ch = ' ';
    int count = 0;
    String s = null;
    try
    while (ready() && Character.isWhitespace(ch))
    ch = (char)myInFile.read();
    while (ready() && !Character.isWhitespace(ch))
    count++;
    buffer.append(ch);
    myInFile.mark(1);
    ch = (char)myInFile.read();
    if (count > 0)
    myInFile.reset();
    s = buffer.toString();
    else
    myErrorFlags |= EOF;
    catch (IOException e)
    if (myFileName != null)
    System.err.println("Error reading " + myFileName + "\n");
    myErrorFlags |= READERROR;
    return s;
    * Reads the next integer (without validating its format)
    * @return the integer read or 0 if trying to read beyond the EOF
    public int readInt()
    String s = readWord();
    if (s != null)
    return Integer.parseInt(s);
    else
    return 0;
    * Reads the next double (without validating its format)
    * @return the number read or 0 if trying to read beyond the EOF
    public double readDouble()
    String s = readWord();
    if (s != null)
    return Double.parseDouble(s);
    // in Java 1, use: return Double.valueOf(s).doubleValue();
    else
    return 0.0;
    Can anybody please tell me what's wrong with this code? Thanks

    String[] message = {
        "One, two, buckle your shoe",
        "One, two, buckle your shoe",
        "Three, four, shut the door",
        "Three, four, shut the door",
        "Five, six, pick up sticks",
        "Five, six, pick up sticks",
        "Seven, eight, lay them straight",
        "Seven, eight, lay them straight",
        "Nine, ten, this is the end",
        "Nine, ten, this is the end"
    if(n>0)
        System.out.println(message[n]);
    else
        System.exit(0);

  • What is wrong with my Macbook Pro? (distorted screen, beeping, slow)

    I have a late 2012 Macbook Pro (13-inch) that I got from Best Buy. It worked perfectly fine for a year, but then went crazy.
    First, it started shutting down here and there, and icons bounced a lot in the dock. Then, one day, I googled something and it froze, then flashed a strip of multicolored barcode-like lines. So, I shut it down and it overheated then began to beep 3 times and flash a light.
    I brought it in and they just wiped the hard drive. Then, it happened again while I was watching a video only a short time later. I was going to re-seat the RAM myself but the inside of the computer looked all messed up. I took it in and they gave me a new LCD but it has a dead pixel now. It worked fine for 1 month after that.
    Then, I was using the laptop on my bed and it shut off randomly a couple of times while I was on Facebook and started beeping. I rebooted it and tried to fix it but it happened again the next day. I brought it back to Best Buy and they said it was hot and sold me a $20 cooling pad.
    That worked for a few days, then I was watching TV online and it happened again. I brought it back to Best Buy and they replaced the RAM. Now, I was watching something online and it happened yet again. I was able to reboot and it worked okay now for a couple of hours but it did freeze again and I had to shut it down.
    Everytime I go to Best Buy, they tell me "If we have this issue 1 more time, we will replace your computer." But, then, they say the same thing every time and that it's their policy. I have paid for Office now and only have 1 download left. Also, this is ridiculous because I'm a student and I've had my Mac gone for 2 weeks at a time at least 3 or 4 times. When this happens, I get stuck using my iPad and can't use flash so I've spent tons of money of apps for flash and other things to make my iPad functional.
    Can somebody just tell me what's wrong with it? It "passes the hardware test" every time and the Geek Squad keeps asking me stupid questions like "Did you check your internet connection and reset your modem?" When I asked them the first time to do a PRAM test, they didn't know what that was and asked me to go on iTunes or clear my cache or something like that.
    I have had a bad experience with them altogether. I got my Macbook for $500 because I had a PC before that I paid $700 for and it eventually broke. They were unable to repair that one because the hard drive had failed, although they had previously been convinced that I needed to uninstall my Norton to fix that problem.
    Sorry if I'm ranting, but my Macbook is like a child to me (not to sound weird) and I'm sick of this problem. It's working fine at the moment but I know this will happen again randomly like always.

    If you're able to boot, launch the Console application by entering the first few letters of its name into a Spotlight search, and select the most recent panic log under "System Diagnostic Reports." Post the contents -- the text, please, not a screenshot. For privacy’s sake, I suggest you edit out the “Anonymous UUID” and "Kernel UUID," two long strings of letters, numbers, and dashes in the header and body of the report. Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you will see "Safe Boot" on the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all, including your login items.

  • What's wrong with my iPhone 5c?

    Last night I was on my phone until it died. It was working perfectly fine as usual. Then this morning when I went to charge it, it turned on, but the screen looked distorted and the touch was not working. The only thing I can do is turn it on and off. I took it to an iPhone repair place to see what was wrong and if it can be fixed. The guy checked it out to see if there was any type of damage to it, which there was none. He then tried to put a different screen on it but the screens he tried also were distorted and the touch did not work. Since it couldn't be fixed, I went back home and tried to plug it into my iTunes account on my computer to see if I can somehow try to fix it from my computer by restoring it or something else. However, when I plugged it into my computer, it says that iTunes cannot connect to my iPhone because it is locked with a passcode. I don't even have a passcode on my phone. I have no idea what has happened to my phone. I have had it for about 9 months and never had an issue with it before. If anyone can help me out or at least give me an idea of what is wrong with it, that would be greatly appreciated. Thanks

    Try the usual steps: restart, reset, restore.
    http://support.apple.com/kb/HT1430
    http://support.apple.com/kb/HT1414
    If you try restoring from a backup and that doesn't fix the problem, try restoring to factory settings and, if the problem goes away, then synching your apps. You'll lose the app data and settings, but if the problem is due to a corrupt cache or settings file, that should cure it.
    If none of that helps, your device may have developed a hardware fault and will need to be take or sent to Apple.
    Regards.

  • I need help figuring out what is wrong with my Macbook Pro

    I have a mid 2012 Macbook Pro with OS X Mavericks on it and for the past few weeks it has running VERY SLOW! I have no idea what is wrong with it, i have read other discussion forums trying to figure it out on my own. So far i have had no luck in fixing the slowness. When i open applications the icon will bounce in dock forever before opening and then my computer will freeze with the little rainbow wheel circling and circling for a few minutes... and if i try to browse websites it take forever for them to load or youtube will just stop working for me. Everything i do, no matter what i click, the rainbow wheel will pop up! The only thing i can think of messing it up was a friend of mine plugging in a flash drive a few weeks ago to take some videos and imovie to put on his Macbook Pro, he has said his laptop has been running fine though... so idk if that was the problem. Anyways, could someone please help me try something? Thank you!!

    OS X Mavericks: If your Mac runs slowly?
    http://support.apple.com/kb/PH13895
    Startup in Safe Mode
    http://support.apple.com/kb/PH14204
    Repair Disk
    Steps 1 through 7
    http://support.apple.com/kb/PH5836
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Increase disk space.
    http://support.apple.com/kb/PH13806

  • JScrollPane, what is wrong with my code?

    Hi, I appreciated if you helped me(perhaps by trying it out yourself?)
    I wanted my JScrollPane to display what is drawn on my canvas (which may be large)by scrolling, but it says it doesn't need any vertical and horizontal scroll bars. Here is the code that has this effect
    import javax.swing.*;
    import java.awt.*;
    public class WhatsWrong extends JApplet{
    public void init(){
    Container appletCont = getContentPane();
    appletCont.setLayout(new BorderLayout());
    JPanel p = new JPanel();
    p.setLayout(new BorderLayout());
    p.add(new LargeCanvas(),BorderLayout.CENTER);
    int ver = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int hor = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp = new JScrollPane(p,ver,hor);
    appletCont.add(jsp,BorderLayout.CENTER);
    class LargeCanvas extends Canvas{
    public LargeCanvas(){
    super();
    setBackground(Color.white);
    public void paint(Graphics g){
    g.drawRect(50,50,700,700);
    and the html code:
    <html>
    <body>
    <applet code="WhatsWrong" width = 300 height = 250>
    </applet>
    </body>
    </html>
    What shall I do?
    Thanks in advance.

    What is wrong with your code is that your class, LargeCanvas must implement the Scrollable interface in order to be scrolled by a JScrollPane.
    A comment regarding your use of Canvas and Swing components: The Java Tutorial recommends that you extend JPanel to do custom painting. Canvas is what they call a "heavyweight" component and they recommend not to mix lightweight (Swing) components and heavyweight components.
    There is a lot more information on custom painting on the Java Tutorial in the Lesson "Creating a GUI with Swing.

Maybe you are looking for

  • No output from recorded audio tracks, only midi tracks..please help

    I've been working on a song in Garageband and suddenly lost audio from real instruments and can only hear the midi from last night until today.  It consists of 3 midi tracks and 9 audio tracks.  I have software plugins or FX on almost all 9 tracks wi

  • How can I tell if someone has blocked my texts?

    I just sent a message and it said Message Sent.  Doe that mean they got it?

  • Creating user for Enterprise Manager

    Hi, As you know there is an admin user called ias_admin which can login to OracleAS Enterprise Manager and do all tasks. Can we define another user with less privileges? We want to give our developers the ability to view each instance logs by using t

  • Numbers of colors on the screen? Zen vs. Vision

    Hi I am thinking about getting either a Zen or Zen vision M player. I can see that the Zen has 6m colors on the screen and the Vision "only" has 262k colors can I see the difference? thanks for your help? Anders Lindhj

  • Why does my iPad 2 think my iTunes U videos are audio-only?

    I downloaded some iTunes U videos via iTunes 10.5.2 and they play fine (as videos with full audio) in iTunes 10.5.2 on my MacOS 10.5.8 dual G5 PowerMac.  However, when I sync up my iPad2 running iOS 5.0.1 via USB cable with the above iTunes 10.5.2 co