• Post Reply Bookmark Topic Watch Topic
  • New Topic

using resolution independent swing component

 
Suresh Sutar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one Desktop application.In which i am using JInternal
frame.I I had one image(scanning of pdf)having size 740 X 960 pixel,
which is setting as backgroung image using paintComponent method of
JPanel.I want to put textfields exactly over fields on image.I am
putting textfields in Layrered pane and its added in that JPanel.
It works fine on one resolution but when change resolution textfields
are disturbing the location as on image.
So what i miss can anybody tell?
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Swing Forum...
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
too may variables.

post the code you are using - just a sample program showing the image, and a textfield
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!