int base = myComponent.getInsets().bottom;
From the docs
Deprecated. As of JDK version 1.1, replaced by getInsets().
Swing was designed to use layout managers. Definitely better to use one for positioning & sizing components. It should remove the necessity to determine the base location of your component.