package com.shrimpking.t4;
import javafx.geometry.HorizontalDirection;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* Created by IntelliJ IDEA.
*
* @Author : Shrimpking
* @create 2024/11/4 17:11
*/
public class ShowFonts implements ActionListener
{
private JFrame frame;
private JComboBox cmbName;
private JComboBox cmbStyle;
private JTextField textSize;
private JLabel labelFont;
private JButton btnShow;
private JPanel panel;
private Container container;
public ShowFonts(){
frame = new JFrame("显示指定字体");
container = frame.getContentPane();
//显示系统可用字体
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGrap
ShowFonts显示指定字体
最新推荐文章于 2025-06-18 12:42:59 发布