Blank Applets and Windows
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Blank Applets and Windows
I have WIN 98 and I can compile all DOS applications and run DOS applications but when I try to run an application with Window panes or when I try to run an applet, the windows will pop up but that is as far as my program runs. The window will not contain any info and my applet window says "starting applet..." but never prints any info in the window. I have tried everything , can anyone help me with this please..Thank You!!
Applet Issues
It's possible you're haing trouble with your security: How are you running the applet? Through the browser, or through appletviewer.exe? Applets are prohibited by the browser from accessing local filesystems, so you might not be able to load it unless you're using appletviewer.exe.
The syntax for appletviewer.exe:
> appletviewer appletpage.html
Where appletpage.html is a page, visible in your filesystem, where you have an HTML page with an embedded <applet> tag inside. The appletviewer will then try to execute the <applet> tag as if it were in that HTML page. This is a cumbersome way to do things, but really the best way to test out the performance of an applet under realistic conditions, while still honoring security restrictions.
appletviewer.exe is located at:
%JAVA_HOME%\bin\appletviewer.exe
Where %JAVA_HOME% is the install location of your J2SDK, usually something along the lines of:
C:\j2sdk1.4.1_01
C:\j2sdk1.4.1_02
etc...
The syntax for appletviewer.exe:
> appletviewer appletpage.html
Where appletpage.html is a page, visible in your filesystem, where you have an HTML page with an embedded <applet> tag inside. The appletviewer will then try to execute the <applet> tag as if it were in that HTML page. This is a cumbersome way to do things, but really the best way to test out the performance of an applet under realistic conditions, while still honoring security restrictions.
appletviewer.exe is located at:
%JAVA_HOME%\bin\appletviewer.exe
Where %JAVA_HOME% is the install location of your J2SDK, usually something along the lines of:
C:\j2sdk1.4.1_01
C:\j2sdk1.4.1_02
etc...