Adds dev note to remind myself of something.
@@ -558,6 +558,7 @@ public class Screen extends Component {
* If the component is null.
*/
public void addComponent(final @NonNull Component component) {
+ System.err.println("Check the addComponent methods of the Screen class. You need to make sure that there isn't any recursive screen adding going on.");
if (component instanceof Screen) {
component.setScreen(this);
screenComponents.add((Screen) component);
