Search Results

Search found 1 results on 1 pages for 'codeguy'.

Page 1/1 | 1 

  • Scalable images in Java

    - by CodeGuy
    I anticipate using some images in my Java application. These images will be drawn onto my JPanel using g.drawImage(). The JPanel is resizable and the images should scale as the JPanel increases/decreases in size Two questions: What image format is best for this type of desired scalable image? For instance, in this application, an image of size 100x100 may be scaled into an image of size 30x30 or 10x10 or 300x300. How can I write code to do this scaling?

    Read the article

1