This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "topic is on images" Watch "topic is on images" New topic

topic is on images

chinna kumar

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.


[ 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

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

SCWCD: Online Course, 50,000+ words and 200+ questions
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

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

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

I agree. Here's the link:
subject: topic is on images
It's not a secret anymore!