Small Applet Compiles Fine.. But won't run!

The Applet compiles absoluetly fine.. But it won't run. Is this supposed to ever happen? Can I have some tips on why it isn't working?
import java.applet.*;
import java.awt.*;
import java.lang.*;
public class Loop1 extends Applet{
  Label LoopLabel = new Label();
  String InfoString = null;
  int r = 0;
public void init() {
InfoString = getParameter("info");
r =
Integer.parseInt(getParameter("repetitons"));
for (int i=1; i <= r; i++) {
InfoString = InfoString + "X";
public void paint(Graphics g) {
g.drawString(InfoString, 5, 10);
}and the html (i doublt you'll need it though)
<APPLET CODE=Loop1.class WIDTH=500 HEIGHT=500>
<PARAM NAME=info VALUE="6">
<PARAM NAME=repetitions VALUE="6">
</APPLET>

typo, it runs otherwise
http://www.geocities.com/rmlchan/indexLoop1.html
r = Integer.parseInt(getParameter("repetitons"));
<PARAM NAME=repetitions VALUE="6">

Similar Messages

  • Photoshop elements 10 won't open, says files missing. Reinstall. Trying to reinstall but won't run. Nothing works. Using Windows 7.

    Photoshop elements 10 won't open, says files missing. Reinstall. Trying to reinstall but won't run. Nothing works. Using Windows 7.
    How do I reach tech support?

    http://forums.adobe.com/message/5506764#5506764

  • TS3002 My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    I was able to get it to work!

  • I am trying to transfer my upgrade to my second line.  When I try to order any other phone it works fine, but won't work to upgrade to Iphone 6

    I am trying to transfer my upgrade to my second line.  When I try to order any other phone it works fine, but won't work to upgrade to Iphone 6

        TWRING,
    Help has arrived! Since the device is currently on pre-order when processing the order online it will only recognize the line eligible. Once you receive the device you may activate it on another line if needed.
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • Hi - Have a Javascript (search) that was ok thru 9, but won't run in X. Thank you.

    Hi - Have a Javascript (search) that was ok thru 9, but won't run in X. Thank you

    Quoting the Acrobat X SDK:
    Changes to search object
    The following changes have been made to the "search" object properties:
    ● The thesaurus and soundex properties have been removed
    ● The legacySearch property is now deprecated and always returns false.
    Changes to SearchExecuteQuery
    The following have been removed from nWordOptions parameter of SearchExecuteQuery:
    ● kWordOptionSoundsLike
    ● kWordOptionThesaurus
    The function SearchIsLegacySearchAvailable has been deprecated and will always return false.

  • Dive Log Part 3 will compile but won't run

    I need help I am a newbie doing this assignment for class. I am having problems with the Dive Log part 3 tutorial parts 1 & 2 went fine but 3 has given me problems. After fixing all errors to Diver.java, Divelog.java finally compiled then I went to run it and i get a list of errorssome from Diver some from DiveLog. Any help figuring out this mystery would be helpful.

    Ah you have PPC version. Either you can keep using Firefox 3.6.* are try a third party version of Firefox 4.0.* at http://www.floodgap.com/software/tenfourfox/
    The Firefox 4.0 and newer downloads contains the 32-bit and 64-bit version for Intel at moment.

  • CS3 installs but won't run

    Ok - not sure if this goes in this section or not.. but it's a technical question.
    My b/f bought me a Dell Laptop last week. It has the recommended minimum of everything adobe says it needs for photoshop CS3 (see below for 1721 specs)
    When I installed it on the laptop - it was slow, but said it installed. But when I go to open up Photoshop, it opens the screen - and then just hangs. After about 5 minutes it says not responding and I close it. Any of the other programs that came with won't even get that far. I click on them and it gives the little "thinking" circle (as I call it.. lol) and then nothing.
    I have read that CS3 has issues with Vista - but their site says the home premium should work. I've also read about 64 bit issues.. but the OS is 32 bit - so it's capable of running 32bit systems... I guess.
    I called adobe yesterday after installing and reinstalling CS3 15+ times... with the same issue. I was on the phone for about 2 hours with them. Basically - they have NO CLUE what it would be since it installs fine and opens with no error messages. I checked the log files and there is nothing in there I see that says any kind of error.
    I have disable windows defender, uninstalled McAfee and google desktop (all are known to cause issues with CS3), I have ALL non MS startup services turned off.. I have turned off the MS users control.. all suggested by the adobe tech.
    I have installed using the run as administrator. Nothing. Created a new admin account and installed on that user and opened on reg admin account. Nothing. (again typical things that correct cs3 install issues)
    The last thing the guy said was that it might be a video issue. I checked and there aren't any issues mentioned and no driver updates listed.
    We tryed installing this on my b/f's laptop. He bought the exact one I have (except his is red.. mine blue.. lol) and it does the EXACT same thing...
    So today we called dell. they say it's a software issue and won't answer any questions for free. Apparently only hardware support is free... But they won't accept this is a hardware conflict with the software..
    errrrr
    Anybody have any clues on this?
    =======================================
    LAPTOP SPECS:
    Inspiron 1721 Notebook: AMD Turion 64 X2 Mobile Technology TL-56 (1MB/1.8GHz) Genuine Windows Vista Home Premium
    Operating System
    Genuine Windows Vista Home Premium
    Memory
    2 GB DDR2 SDRAM 677MHz (2 DIMMs)
    Hard Disk Drive
    120 GB SATA Hard Drive (5400 RPM)
    Video
    ATI RADEON Xpress1270 HyperMemory
    Media Bay
    8X DVD +/- RW w/dbl layer write capability
    Base
    Inspiron 1721 Notebook: AMD Turion 64 X2 Mobile Technology TL-56 (1MB/1.8GHz)
    Bluetooth Wireless
    Bluetooth Wireless Card 355
    Software Upgrade
    Microsoft Works 8.5
    Premium Pack - Advanced Photo+Music: Deluxe Pack + Paint Shop Pro XI
    NoteBook Screen
    17 inch WXGA+ TrueLife Glossy Notebook Screen
    Hardware Upgrade
    No Camera
    6 Cell Primary Battery
    90W AC Adapter
    Network Interface Card
    Dell 1505 Wireless-N

    Rob - thanks for taking a stab at this.
    I have tried installing from the DVD and also from the zip file. the zip file was extracted to the hard drive brfore I ran it - and I ran it as administrator.
    And when it stalls - it gives the (NOT RESPONDING) tag on the window - which usually means that even if I leave it (and I have for up to 20 minutes) - still nothing.
    Here's the update from my dealings with DEll today...
    Dell tech support guy told me that it was a know issue that CS3 WON'T run on Vista and that Adobe is working the issue
    Told them that I knew others that were running it on Vista and it worked fine. They had no answer.
    Then I waited for the Technical support manger to call. This is after expressing my displeasure to the technical supervisor about them trying to pawn this issue off on anyone else but themselves. Why can't they go grab a 1721 off the shelf and replicate the issue and try to figure it out from there?!?!?!
    I used to work on a network helpdesk.. if I tried to pull that crap answer without trying to replicate the issue and AT LEAST try to find an answer.. I wouldn't have lasted very long at all!!!!
    The Tech manager told me to call customer support and ask for an OS swap (from vista to XP) because they don't know what the problem is and so it muct be a Vista compatibility issue
    I call customer support. They say that they no longer will give out XP since it is a step backwards. And to install XP on the machine ourselves (even a liscensed copy) would void the warranty. They suggest I talk to sales about swapping the laptop out with a "more compatible" one. Which isn't a totally bad idea since I really do think it is an AMD/ATI conflict.
    They transfer me to Sales.. ohh - you used the Employee Purchase program.. you need to talk to them.. and they transfer me.
    The EPP people tell me.. ohhhh you didn't actually go through us since you bought it off the Dell Outlet store. So they transfer me.
    The dell outlet store says they will be more than happy to swap me out to an Intel based machine.
    Only catch is the Intels are more expensive. They don't have any for the price we paid for the amd's. Fot about $40 more I can get one with a slower processer, a gig less ram, no dvd writer, but with a 160gb hd. To get compatible to mine - would be about $150 more.
    And they only have silver in the low end, and black or brown in the higher. Not that I really give a s@!t what the color is.. but it brings up the main reason I am sooo pissed abput all of this....
    Why should I have to pay more money, settle on doing without option/features want/need.. just because THEY don't want to take the time to figure out what the real issue is?!?!?! Why isn't it them doing these calls and doing all this troubleshooting.. Why am I being peanilzed for THEM not wanting to do their jobs....
    Told the B/F that I am done with Dell. That I don't want the laptop anymore and I don't want any other one from them. He says he'll pay the extra and get me the other one.. but that isn't the point....
    Not sure what my next move is.

  • CS4 opens fine, but won't open images

    Hello,
    I'm hoping someone here can help me.
    I'm on my third uninstall/reinstall of PS CS4 with the same issue. I can open the application just fine, but I can't open any files. Photoshop just hangs up when I try to open anything and won't respond. It seemed to start with PS just running laggy when it came to opening and saving files, with intermitent "not responding" notices in the top bar, but after a few seconds those went away... then a few days ago, it just stopped responding once opened.
    I know about the Wacom tablet driver problem, and I do use an Intuous3 (and I downloaded the new drivers) but even with the removal of all the drivers and the tablet from my computer completely, I'm still having the same problem.
    I'm running 11.0.2 on a Windows machine running Windows OS7:
    Processor: AMD Turion II Ultra-Core Mobile 620 2.50GHz
    RAM: 4GB
    64-bit OS
    Graphics card: ATI Mobility Radeon HD 4530
    Thank you.

    Have you tried trashing the Preferences?
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • PS downloaded via CC seemed to download fine but won't work. Won't even open a file/document.

    I recently got a new computer and I have CC so I downloaded the CC app and downloaded LR and PS. LR runs/works fine. PS seemed to download ok but won't even open a new file:picture. I am very frustrated as I have spoken with CC tech support and they were of no help, in fact that didn't even have a clue how to navigate Windows 8! I have been working on this for a week and now very behind on my editing. Not sure who to call or what to do. Please help!! Thank you!!!

    What does the crash report say about the name of the faulting module?
    Yes, crashes like that are usually due to the video card driver. (though I was guessing from the original description that the image was just not drawing)
    Have you tried disabling GPU drawing in Photoshop before opening a document?
    Have you updated your video card driver from the GPU maker's website?

  • Applet compiled with 1.4 not running in IE 6

    I have a java applet when compiled with the 1.3 java sdk that came Oracle, runs correctly in IE 6. The applet opens a socket.
    When I compile it using 1.4 java sdk from sun and run it in IE 6 it does not work.
    When I installed the 1.4 SDK I selected to use it as IE's default java machine.
    Note if I look in the internet options, settings, view objects it shows the 1.4.1 jre twice.
    Note I can not remove the 1.3 jre that comes with Oracle as the installation is dependant on it.
    The java classes included in my applet is
    import java.net.*;
    import java.io.*;
    import java.text.*;
    import java.awt.*;
    import java.lang.Thread;
    import java.applet.*;
    I have the sdk bin directory early in the path and class path enviroment includes rt.jar from the 1.4 sdk.
    I have even been into the reg and edited IE's classpath.
    Anybody help, how do I know what jre, IE is using or why the applet won't run in IE6. Both versions run in Appletviewer.
    Once I get this working I want to add javax and org classes to start passing XML over the socket anybody got advise on this also.

    there are a couple of things to try with this. first is to try the class out with the java plugin enabled - this makes IE run the 1.4.1 VM, instead of the default 1.1 VM in IE. if this works, you probably have a version conflict in your code, and could try compiling with
    '-target 1.1'
    in your arguments. The problem I'm having is to do with finding the referenced classes in the applet. Try commenting EVERYTHING out of your applet (except 'init') and then running it. if the applet loads, the problem is that any class you try to instantiate inside the applet is not found by the browser. (NB you get the same error message with a version conflict as with a missing class file, very helpful...).
    I'm not on this list much so if you want to talk more, or if you've solved this problem, please email me at [email protected]
    String signoff = "thanks in advance for any help" OR "hope this helped"

  • Flashplayer installed and active but won't run

    Hi. I seem to be having the same problem as several others on here: I've got the latest version of Flash  installed and active on my Win8.1 system, and it shows as an active add-on in the latest version of Firefox, but it stalls on loading and won't run. This started immediately after the latest Flash update was released: I've tried uninstalling and re-installing.
    Thanks.

    You're more than welcome to file performance bugs at http://bugbase.adobe.com/.  I noticed that the page on adobe.com took a really long time to load for me as well on Chrome, but Adobe.com is super complex, and I think that has something to do with a poorly performing back-end service.  Since you're seeing the slow script dialog not loading on the watch page, it's pretty clear that Flash Player is installed and playing content under normal circumstances.  The interesting part is that one of those dialogs is talking about JavaScript running on the page, and the other is talking about Flash.  It's unclear without debugging the issue whether it's the browser or the plugin; however, as you've noticed, both work fine in Internet Explorer.
    It's important to point out that both Adobe and Microsoft made a tremendous effort in tuning the  Internet Explorer experience for Windows 8 and higher.  The latest versions of IE offer a fast, modern plug-in architecture that efficiently offers defense-in-depth protection against the modern generation of security threats (as opposed to the sandboxing approach that we retrofit to Firefox).  Similarly, Google Chrome provides a modern, secure plug-in architecture and invests heavily in making the Flash experience in the browser great.  I'm a Firefox fan as well, but the reality is that you might be more satisfied with your experience when using a different browser.
    For the crash, I'd be happy to take a look at the crash analysis to see if I can find anything useful.
    In Firefox, if you type about:crashes in the address bar, you should get a list of recent crashes.
    Click each link to submit it to the Mozilla crash reporting system.
    Copy the address from the resulting window into a reply here.

  • Premier elements 7.0 installs but won't run, please assist

    I have tried many times to install Premier Elements 7.0 on my computer. I have a very large hard drive and large ram capacity. It is able to run Premier elements 4.0 very well, with no problems. To try to resolve the problem, I uninstalled all Adobe Premier Elements components, cleaned the registry, removed almost all programs from the hard drive in order to make sure there was ample room. I checked and my resources say I have plenty of capibility to run the program. I checked for viruses.
    I am able to install 7.0 and load the program. I am almost able to open a project (I have tried several projects of various sizes) and every time, just as it is completed loading the project, there is an error message and the program shuts down.
    The error says there is a problem with module: ad2mpgvdec.dll and then it tries to send a report to windows online. I ran the program compatibility program with no luck. I am out of ideas. I can't understand how the older versions of Elements run just fine but 7.0 will not.
    Any thoughts? I would love to use this program for editing a Christmas video for my daughter.
    One other thing, the compatibility wizard says that settings for Premier Elements 7.0 are: DisableNXShowUI Not sure what that means and have been unable to google it. Other than that, it gives me no hint as to how to fix the problem.

    Are you saying that the program crashes as soon as you try to start a project -- not when you try to import video into it? This is a very important distinction.
    You also say you tried to run the program in compatibility mode? Does this mean you're running it on a less-than-preferred operating system?
    Meantime, a Google search on that driver turns up some pretty strange things. Lots of references to Torrent downloads and spyware. Have you run a program like Spybot Search & Destroy lately? It might be a good idea.
    Otherwise, if all else fails, this might be worth a call to Adobe Tech Support. There's obviously some sort of conflict going on somewhere, and they'll be able to walk you through the necessary troubleshooting.
    http://www.adobeforums.com/webx/.3bbe7d56

  • Java 1.4.1 will compile clean but it wont run them using windows ME

    haveing trouble setting the path and the class path for windows me
    the code compiles clean but when i go to run it
    its wont run it comes up with a error of no class defination found
    thanks dkunze

    The Windows path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
    http://java.sun.com/j2se/1.4.1/install-windows.html
    Scroll down to: 5. Update the PATH variable
    (you should have already done this as part of the Java installation)
    The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
    Setting the Classpath:
    http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4.1/docs/tooldocs/findingclasses.html
    Examples:
    This is my path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.1\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    This is my classpath
    CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.1\lib\tools.jar;C:\NetRexx\NrxRedBk

  • My ipod touch says it is connected to wifi, but won't run anything that uses it like safari or itunes, and I don't know how to fix it

    Can anyone help me? my  ipod touch says it is connected to wifi, but it won't run anything that uses wifi like safari or itunes, and I don't know how to fix it

    You didn't indicate if it ever worked.  If it NEVER did, the problem could be caused by a firewall in the router.  For reasons that I do not understand, that will affect IOS (iPod/iPad) communication but will not affect computers or other devices.
    You will need administrative access to the router.  If a firewall is present, turn it off and test the iPod again.  If it works, turn the firewall back on but weaken it a notch and test the iPod again.  Repeat as required.

  • Intel Mini starts fine, but won't *Restart* after serious upgrades

    Experienced Mac user, but stumped with this one:
    Picked up a fairly cheap Intel Mini Core Duo to use as a HTPC.
    Upgraded the CPU to a T7400 Core 2 Duo, removed the internal SATA drive and added an external 1TB SATA drive in a NewerTech V3 Stacker case as the primary drive for the machine. Installed Leopard, which went fine. Machine has 2GB RAM and boots up just fine. *All is good, except that the machine won't Restart. Starts just fine. Shuts down just fine. But it won't restart.*
    I've attempted to zap the PRAM using the old Command-Option-P-R, but all I get is one chime; it won't cycle through multiple times. I've tried resetting the PMU (using the remove cables/wait/insert power cable while pressing power button/press power button again method, but there is no change in the restart behavior. So I'm stumped and could use some suggestions for other things to try.
    Anyone on here done any similar upgrades and/or seen similar behavior? Did I forget to reconnect a wire somewhere? If I crack the case again, is there a manual reset I can perform on the PMU? BTW, the behavior is the same regardless of whether the HDD is connected.
    TIA,
    mosk
    Message was edited by: mosk

    Thanks, tried that (and tried it with the CMOS battery removed), and it didn't solve the problem. I'm stumped. I've tried resetting the SMC, which also had no effect on the problem. If I try to zap the PRAM using the traditional four key chord, it will shutdown (with power light still on) but won't reboot. Same if I choose Restart form the Apple menu: it gets the job half done, but won't reboot. So it seems to be a very specific failure: something in the Restart sequence is hanging up, while the Start and Shutdown sequences work fine.
    A puzzler...

Maybe you are looking for

  • CreateWordHiLite returns null on Arabic pdf document

    Greatly appreciated if someone in this forum can help to resolve the issue that I am facing. I am using Visual C# to do some stuff with a pdf document where I want to create a list of all words in a page. I am using InterOp Services to access the api

  • Quicklook is crashing all the time when I try to open a file

    I've had this problem for a while, and while I could always eventually dance my way around it, I'm just tired of the crashing when I try to attach a file to something or just try to open a file while using an application. I'm trying to install a patc

  • Locked Trasactions

    Hi Experts, I have very strange problem with some of purchase orders. I create the purchase order and saved it. When i tried to chenge purchase order system does not respond and dont allow me to save the order. Transaction gets locked which can be se

  • How can I create updateable views

    Hi, When I create a new page using form --> master detail form, I put one view as the master table and another view as the detail table. By default, the detail table is set as the type SQL Query(updateable report). I guess this is the reason I can ad

  • Excel Attachment Support?

    I am only getting some of the Excel attachments that come through my corp account. The larger ones are not displaying at all. I am not sure why, as attachments themselves have not posed an issue at all up until this point. Can someone help?