/** * Sets the text contents of the ScreenInfo along with a style. * * @param text the new text * @param style the new style, is ignored when null */ public static void setText(String text, Style style) { // #debug System.out.println("ScreenInfo.setText " + text); ((IconItem) item).setText(text, style); repaint(); }