|
-
More info on simple program
Hi Jim
Thanks for your interest. I will try to elaborate further on the specific problem I have encountered.
My problem is in geting more than one asterisk per input number to show in the applet window, using the command
g.drawString ("*");
The applet runs in Kawa 5 and ie6 but only prints one asterisk per integer i.e. if I enter 6 the applet shows
*
instead of
******
When I write the program as an application the program works using the
System.out.print('*');
System.out.println();
The program although inelegant should work, I think the problem is with using g.drawString to output the asterisks ( or maybe not ).
thanks Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks