• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resolution Problem for Background images

 
Manoj Amrutkar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
1)I have one swing based gui application, i am facing some resolution problem in it. for the time being what i want to do is ...
Suppose my application is runnig and user minimizes the window and change the resolution say from 800X600 to 1024X768, i would like to run some code basically i would like to change the background image of my application which is there in layered pane wright now.

2)Also i would like to have some code for stretching the images (background)if user resizes his main application window. and the image format which will be resolution independent (or size independent). basically it should not get disturbed when it's size gets chaged according to the size of the window.

thanks in advance ....


Manoj Amrutkar
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Image resizing
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!