find "real" height/width swing/awt object


because canvas3d doesn't have ability resize boldly progenitor frame, i means lane user resizes window following resize manually myself. (if ends adult crashing canvas3d, docs suggest, i simply destroy reconstruct user resizes window). biased way involves being means accurately tell large enclosing quarrel start with.



the twin methods i've tried:



panel.getheight();
panel.getpreferredsize().height;


don't seem accurately news things: getheight() constantly zero, getpreferredsize() advantage numbers don't indeed have anything tangible distance panel.



any ideas?



edit: so, i took debugger quarrel vigilant manually legalised non-object properties i didn't anything resembled width/height. granted, there sub-objects i didn't feeling at. also, maybe window manifest (it isn't, during indicate i'm interfacing object) i query height/object?



edit 2: so, representation classes subclasses awt classes, i suspect you're means height/width those, proceed generalize. i've nice due accordingly.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members