Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #36.9K
I'm trying to pass a .txt file as a paramater into my java program. The line that reads in the file is: Scanner in = new Scanner(System.in); My program is titled SetTest and the file I'm trying to read is Ted.txt. If I go to a Windows 7 command prompt … |
|
I'm trying to get appletviewer to work with a very simple Hello program. Here's my code for test.java import java.applet.*; import java.awt.*; public class test extends Applet { public void paint(Graphics g) { g.drawString("Hello",123,125); } } Then I wrote the following html. Here's my code for test.html <applet code = … |