Like other Java enterprise tools, Tomcat has migrated from the original Java EE specification to Jakarta EE. Tomcat 9 and earlier were based on Java EE; Tomcat 10 and later are based on Jakarta EE.
The add method, as its name suggests, adds any component to the container. This is the programmatic way of dropping a control onto the design surface in the designer. Of course it ignores the small ...