Posted: Sat Apr 23, 2005 12:23 pm Post subject: Drawing a line
does any one know how to call from main, a paint function that draws a line. It wont let me do it beacuse I need to pass a graphics object in the parameters. can some one please help? (i am using Codewarrior 8 and making an App-Applet)
Sponsor Sponsor
1of42
Posted: Sat Apr 23, 2005 12:46 pm Post subject: (No subject)
You've gotta write all drawing stuff in the paint or draw method of an applet as far as I know... (or the paintComponent method of a JPanel...)
Hikaru79
Posted: Sun Apr 24, 2005 1:42 pm Post subject: (No subject)
1of42 wrote:
You've gotta write all drawing stuff in the paint or draw method of an applet as far as I know... (or the paintComponent method of a JPanel...)
Not quite.
The_$hit, are you using HSA console or not?
1of42
Posted: Sun Apr 24, 2005 9:30 pm Post subject: (No subject)
Well, HSA console blows, so I don't include it in my generalizations
Hikaru79
Posted: Wed Apr 27, 2005 12:03 am Post subject: (No subject)
1of42 wrote:
Well, HSA console blows, so I don't include it in my generalizations