swing - Java - Get difference between old and new size of JFrame -
after resizing @ jframe, there method returns difference between old , new size, i.e (dx,dy) ?
if not, there way info?
you need know size before frame resized, use componentlistener
detect when frame's size changed. trick here knowning when "size" has changed fixed point taking measure worthwhile. once frame has "settled" need calculate difference "last resize" now
start having @ how write component listener
conceptually, want something this or this
Comments
Post a Comment