Dimension () { if (myHint.getDimensionServiceKey() == null) { return getOptimalSize(); } Dimension storedSize = DimensionService.getInstance().getSize(DocumentationManager.NEW_JAVADOC_LOCATION_AND_SIZE, myManager.myProject); if (storedSize != null) { return ensureMinimum(storedSize); } return new Dimension(MIN_DEFAULT); }