// Default size with entity ent inside public static Dimension getSize(INGENIASCodeComponent ent) { renderer.setEntity(ent); return renderer.getSize(); }