wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 24187
    
  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
 
Consider Paul's rocket mass heater.
 
subject: topic is on images