• 大小: 8.71KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-20
  • 语言: Java
  • 标签:

资源简介

Java 拦截事件的玻璃窗格(基础篇-实例297).zip

资源截图

代码片段和文件信息

package com.mingrisoft.glasspane;

import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JButton;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;

public class DownloadSoft extends Jframe {
    
    /**
     * 
     */
    private static final long serialVersionUID = 5322661887440132446L;
    private JPanel contentPane;
    private JTable table;
    
    /**
     * Launch the application.
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(“com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel“);
        } catch (Throwable e) {
          

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         232  2010-09-11 17:00  .classpath
     文件         379  2010-09-11 17:00  .project
     文件         807  2013-11-21 08:41  bin\com\mingrisoft\glasspane\DownloadSoft$1.class
     文件         754  2013-11-21 08:41  bin\com\mingrisoft\glasspane\DownloadSoft$2.class
     文件         781  2013-11-21 08:41  bin\com\mingrisoft\glasspane\DownloadSoft$3.class
     文件        3961  2013-11-21 08:41  bin\com\mingrisoft\glasspane\DownloadSoft.class
     文件         533  2013-11-21 08:41  bin\com\mingrisoft\glasspane\GlassPane$1.class
     文件         539  2013-11-21 08:41  bin\com\mingrisoft\glasspane\GlassPane$2.class
     文件         531  2013-11-21 08:41  bin\com\mingrisoft\glasspane\GlassPane$3.class
     文件        1315  2013-11-21 08:41  bin\com\mingrisoft\glasspane\GlassPane.class
     文件        3770  2010-09-11 17:00  src\com\mingrisoft\glasspane\DownloadSoft.java
     文件         839  2010-09-11 17:00  src\com\mingrisoft\glasspane\GlassPane.java

评论

共有 条评论