Label l; String []fonts; fonts = Toolkit.getDefaultToolkit().getFontList(); for (int i = 0; i < fonts.length; i++) { add (l = new Label (fonts[i])); l.setFont (new Font (fonts[i], Font.BOLD, 10+i*2)); }