This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello I have got a question. How can i get an image and two buttons for zooming the picture together in one applert I don't know how to programm this, because the paint() method only draw the image into the applet and no Buttons are available Please help me
First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. "Handles" and joke names aren't acceptable here. You can change your display name here. Thanks!
Second, please don't post the same question to multiple forums -- it just wastes people's time answering questions that have already been answered elsewhere. I've deleted the other copy of this question.
Finally, as to your question: you do painting in paint(), and you set up buttons and things in your init() method. You might do the drawing into a separate panel, and add this panel and the buttons all to the applet.