Hi guy, One question I want to ask is 'How can the application display a single image file (without making multiple copies) into different size?' It's because I design an application showing a image and the users can choice the image size with different size(eg. small middile and large). If anyone doesn't understand my question, I would explain more details as well. thanks Larry
posted 13 years ago
Note that the drawImage method of the Graphics class is overloaded - a couple versions of which allow the programmer to specify a dimension (which would seem to be exactly what you want to do). Take a look at The Graphics Class Documentation. Good Luck.