This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes topic is on images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "topic is on images" Watch "topic is on images" New topic
Author

topic is on images

chinna kumar
Greenhorn

Joined: Sep 29, 2004
Posts: 18
Hi everyone,
I Am Doing a small application on images. I have Created menubar with menus in a frame, and I am displaying a image using Toolkit and MediaTracker using drawImage function.
Now how can i perform ZoomIn ZoomOut operations like to reduce and increase the height and width of the image.
I am passing only 4 parameters to drawImage Function, they are image,x,y,this.
cud u help me out to perform ZoomIn, ZoomOut operations.

Kumar

[ EJFH: Removed "URGENT" and many exclamation points from subject line.]
[ November 03, 2004: Message edited by: Ernest Friedman-Hill ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Doesn't look urgent to me.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
Whats the urgency?


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

This is an AWT question, so I'm moving it to our Swing/AWT/SWT/JFace forum.


[Jess in Action][AskingGoodQuestions]
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
chinna kumar
Greenhorn

Joined: Sep 29, 2004
Posts: 18
Hi everyone,
Thanks a lot, i cud perform ZoomIn and ZoomOut operations Successfully.

Kumar
 
wood burning stoves
 
subject: topic is on images
 
Similar Threads
regarding swings
Code to print , rotate, zoom an image from an applet
Label in a field or scrollpanel
JScrollPane resizing component in Viewport
Need help on print , scrollbar for my applet