Dennis Riggs

Greenhorn
+ Follow
since Mar 24, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dennis Riggs

That is an excellent suggestion. I shall give is a go.
thanks much,
dennis
19 years ago
You may consider me dense if you like. It seems maybe I haven't communicated my problem very well, or Java is much more verbose than I thought it was. When I run my code above, the expected system.out should be 1st: "I'm at Paint" then second, "I'm at btn 2" however just the oppisite occurs. In order to get around this, do I truely need to worry about Opaque, and lightweight controls? Or is there something I can do with my present code to solve the problem that Paint is actually called before my drawstring instead of after? thanks with your patience.
19 years ago
You may consider me dense if you like. It seems maybe I haven't communicated my problem very well, or Java is much more verbose than I thought it was. When I run my code above, the expected system.out should be 1st: "I'm at Paint" then second, "I'm at btn 2" however just the oppisite occurs. In order to get around this, do I truely need to worry about Opaque, and lightweight controls? Or is there something I can do with my present code to solve the problem that Paint is actually called before my drawstring instead of after? thanks with your patience.
19 years ago
Thanks for the tip. Although the link refers to swing, does the Opaque also work for AWT?
thanks,
dennis
19 years ago
Thanks for the tip. Although the link refers to swing, does the Opaque also work for AWT?
thanks,
dennis
19 years ago
Thanks Cindy,
Here is the paint method:

The system.out is for my troubleshooting. If you have a clue, I'd appreciate some help.
thanks,
dennis
(edited by Cindy to format code)
[This message has been edited by Cindy Glass (edited March 26, 2001).]
19 years ago
Thanks Cindy,
Here is the paint method:

The system.out is for my troubleshooting. If you have a clue, I'd appreciate some help.
thanks,
dennis
(edited by Cindy to format code)
[This message has been edited by Cindy Glass (edited March 26, 2001).]
19 years ago
I have seven buttons. Each button draws a different string. In my actionlistener method, I first call repaint to clear the canvas, then I draw the string. Unfortunatly, after clearing the canvas, the new text is drawn, then repainted again. Any solutions?
thanks,
dennis
19 years ago
I have seven buttons. Each button draws a different string. In my actionlistener method, I first call repaint to clear the canvas, then I draw the string. Unfortunatly, after clearing the canvas, the new text is drawn, then repainted again. Any solutions?
thanks,
dennis
19 years ago