• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: 其他
  • 标签: 其他  

资源简介

game.rar

资源截图

代码片段和文件信息

package game;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.Jframe;
import javax.swing.JPanel;
import java.awt.*;
import javax.swing.JRadioButton;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ButtonGroup;
import javax.swing.JLabel;
import javax.swing.*;
import javax.swing.border.titledBorder;

/**
 * 

title: 


 *
 * 

Description: 


 *
 * 

Copyright: Copyright (c) 2009


 *
 * 

Company: 


 *
 * @author not attributable
 * @version 1.0
 */
public class frame1 extends Jframe {
    JPanel contentPane;
    JPanel jPanel1 = new JPanel();
    JPanel jPanel2 = new JPanel();
    JPanel jPanel3 = new JPanel();
    JPanel jPanel4 = new JPanel();
    JRadioButton jb1 = new JRadioButton();
    JRadioButton jb2 = new JRadioButton();
    JRadioButton jb3 = new JRadioButton();
    JButton bt1 = new JButton();
    JButton bt2 = new JButton();
    JTextField text1 = new JTextField();
    JTextField text2 = new JTextField();
    JTextField text3 = new JTextField();
    JButton bt3 = new JButton();
    ButtonGroup btngrp = new ButtonGroup();
    int opn;
    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JLabel jLabel3 = new JLabel();
    JLabel jLabel4 = new JLabel();
    titledBorder titledBorder1 = new titledBorder(““);
    public frame1() {
        try {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            jbInit();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    /**
     * Component initialization.
     *
     * @throws java.lang.Exception
     */
    private void jbInit() throws Exception {
        contentPane = (JPanel) getContentPane();
        contentPane.setLayout(null);
        setSize(new Dimension(400 300));
        settitle(“取火柴游戏“);
        jPanel1.setBackground(Color.white);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setInputVerifier(null);
        jPanel1.setBounds(new Rectangle(17 6 209 69));
        jPanel1.setLayout(null);
        jPanel2.setBackground(Color.white);
        jPanel2.setBorder(BorderFactory.createEtchedBorder());
        jPanel2.setBounds(new Rectangle(229 7 151 68));
        jPanel2.setLayout(null);
        jPanel3.setBackground(Color.white);
        jPanel3.setBorder(BorderFactory.createEtchedBorder());
        jPanel3.setBounds(new Rectangle(17 77 364 77));
        jPanel3.setLayout(null);
        jPanel4.setBackground(Color.white);
        jPanel4.setBorder(BorderFactory.createEtchedBorder());
        jPanel4.setBounds(new Rectangle(16 157 365 81));
        jPanel4.setLayout(null);
        jb1.setBackground(Color.white);
        jb1.setText(“1“);
        jb1.setBounds(new Rectangle(32 40 39 22));
        jb2.setBac

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10892  2009-07-07 12:26  game\bak\game\frame1.java~138~

     文件      10862  2009-07-07 12:26  game\bak\game\frame1.java~139~

     文件      10892  2009-07-07 12:27  game\bak\game\frame1.java~140~

     文件      10895  2009-07-07 12:28  game\bak\game\frame1.java~141~

     文件      10894  2009-07-07 12:32  game\bak\game\frame1.java~142~

     文件      10894  2009-07-07 12:34  game\bak\game\frame1.java~143~

     文件      10675  2009-07-07 12:50  game\bak\game\frame1.java~144~

     文件      10662  2009-07-07 12:50  game\bak\game\frame1.java~145~

     文件      10660  2009-07-07 12:51  game\bak\game\frame1.java~146~

     文件      10079  2009-07-07 12:51  game\bak\game\frame1.java~147~

     文件       1874  2009-07-06 22:03  game\bak\game\game.java~1~

     文件       1878  2009-07-07 10:26  game\bak\game\game.java~2~

     文件       7162  2009-07-07 12:53  game\classes\game\frame1.class

     文件        627  2009-07-07 12:53  game\classes\game\frame1_bt1_actionAdapter.class

     文件        627  2009-07-07 12:53  game\classes\game\frame1_bt2_actionAdapter.class

     文件        627  2009-07-07 12:53  game\classes\game\frame1_bt3_actionAdapter.class

     文件        627  2009-07-07 12:53  game\classes\game\frame1_jb1_actionAdapter.class

     文件        633  2009-07-07 12:53  game\classes\game\frame1_text2_actionAdapter.class

     文件        690  2009-07-07 10:33  game\classes\game\game$1.class

     文件       1158  2009-07-07 10:33  game\classes\game\game.class

     文件       6695  2009-07-07 12:53  game\classes\package cache\game.dep2

     文件       3801  2009-07-06 22:05  game\game.jpx

     文件       1960  2009-07-07 13:26  game\game.jpx.local

     文件       2126  2009-07-07 13:26  game\game.jpx.local~

     文件      10575  2009-07-07 12:53  game\src\game\frame1.java

     文件       1878  2009-07-07 10:33  game\src\game\game.java

     目录          0  2009-07-07 12:53  game\bak\game

     目录          0  2009-07-07 11:58  game\classes\game

     目录          0  2009-07-07 11:58  game\classes\package cache

     目录          0  2009-07-07 11:58  game\src\game

............此处省略7个文件信息

评论

共有 条评论