gkelvin
03-23-2003, 05:51 PM
Hi... need some help on how to use g.drawRect in a nested looping system. Problem encounted is i need to draw a set of rectangles to put in all 26 alphabets. and also into a layout keyboard. Pls help Thank you
|
||||
Anyone knows how to use g.drawRectgkelvin 03-23-2003, 05:51 PM Hi... need some help on how to use g.drawRect in a nested looping system. Problem encounted is i need to draw a set of rectangles to put in all 26 alphabets. and also into a layout keyboard. Pls help Thank you Feyd 04-01-2003, 07:26 AM Basically you'd just loop it through with the alphabet defined and use g.drawRect(0, 0, width, height); in the loop to do variable sized rectangles. However, this goes a bit beyond plain graphics and multimedia as it is a programtic problem, not a graphics problem. Take a look at some of these: http://richardbowles.tripod.com/java/guide/graphics.htm http://manuals.sybase.com/onlinebooks/group-pj/pjg0400e/pjguide/@Generic__BookTextView/37522 |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum