⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 velocityhtmlpanelsimulator.java

📁 oraily的Swing hacks code
💻 JAVA
字号:

import com.jonathansimon.swing.hacks.velocityhtml.VelocityHtmlPanel;

import javax.swing.*;
import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: Jonathan Simon
 * Date: Mar 3, 2005
 * Time: 3:41:10 PM
 * To change this template use File | Settings | File Templates.
 */
public class VelocityHtmlPanelSimulator {

    public VelocityHtmlPanelSimulator() {
        JFrame frame = new JFrame("Velocity HTML Panel Simulator");
        frame.setBounds(200,200, 500, 350);

        VelocityHtmlPanel velocityHtmlPanel = new VelocityHtmlPanel();

        frame.getContentPane().setLayout(new BorderLayout());
        frame.getContentPane().add(velocityHtmlPanel.getComponent(), BorderLayout.CENTER);

        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.show();

    }


    public static void main(String[] args) {
        new VelocityHtmlPanelSimulator();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -