i just making a bufferedimage version of a jPanel and its
components. i ran into a odd bit of hassle and wondered
if anyone here has come across it.
i have two frames. one has the layout in swing (using
a null layout manager and setBounds(x, y, width, height)
on the component. the second frame is a buffered
image of the jpanel and components in the other frame.
but when i ask for the bounds of the componects they
are not it the same place as they appear?
heres a picture of what i get.
as u can see the jbutton is in one place; and i have
drawn where the jbutton thinks its bounds are
not the same.... im at a loss....