Re: Help with elections program
Please copy the full contents of the command prompt window and paste it here.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.
Re: Help with elections program
Quote:
Originally Posted by
Norm
Please copy the full contents of the command prompt window and paste it here.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Suharsh>appletviewer TheHtmlThatExecutesTheApplet.html
Re: Help with elections program
The contents of the command prompt does not show the exit from the appletviewer.
Is that the name of the html file you are using: TheHtmlThatExecutesTheApplet.html
You need to use the name of the file you have, not the name that I made.
Sample from my PC:
Quote:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\JavaDevelopment\Testing\ForumQuestions7>appletv iewer asfdd.html
'appletviewer' is not recognized as an internal or external command,
operable program or batch file.
D:\JavaDevelopment\Testing\ForumQuestions7>D:\Java \jdk1.6.0_29\bin\Appletviewer.
exe asdfadd.html
I/O exception while reading: D:\JavaDevelopment\Testing\ForumQuestions7\asdfadd .
html (The system cannot find the file specified)
D:\JavaDevelopment\Testing\ForumQuestions7>
Re: Help with elections program
Quote:
Originally Posted by
Norm
The contents of the command prompt does not show the exit from the appletviewer.
Is that the name of the html file you are using: TheHtmlThatExecutesTheApplet.html
You need to use the name of the file you have, not the name that I made.
Sample from my PC:
What should I do about the syntax of the program?
What other options should I try?
Re: Help with elections program
Quote:
What should I do about the syntax of the program?
The compiler will tell you if there are syntax errors in the program.
What is the contents of the command prompt window for when the program is executed?
Can you copy the full contents of the window and paste it here?