I don't see it in post#23. Where is it? I do NOT find it when I search the posted text.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I don't see it in post#23. Where is it? I do NOT find it when I search the posted text.
I added what you said and now it works but it is opened in a separate window,I need it to work in the window which contains the buttons.
You should be able to see how drawing works now. You'll have to rewrite your code.
SagiIs (December 25th, 2011)
I see,thanks a lot man you helped me a lot
Good luck rewriting the code.
Try to use Swing classes instead of the older AWT classes you are using.
I actually ran the code before,my problem is running that code with the buttons.
Make a SSCCE to show the problem.
You will probably need separate panels for the buttons and the drawing area.
Actually I did,I already showed you the code,I do use a panel for the buttons and a drawing area.
The code you posted has to be rewritten.