* * @return The label. */ public static JLabel createJLabel(final String text, final Font font) { final JLabel result = new JLabel(text); result.setFont(font); return result; } /** * Creates a label with a specific font and color. * * @param text the text for the label. * @param font the font. * @param color the color. * * @return The label. */