资源简介
Java 打字软件,这么漂亮的界面你相信是用Java写出来的吗?本程序拿去用来学习Java窗体编程也相当不错的例子。本打字软件功能还挺多,可实现键盘练习、字根练习、简码练习、文章练习、本地测试、网络测试、编码查询,另外还可聊天、休闲游戏等功能。
代码片段和文件信息
import javax.swing.*;
import java.awt.*;
/**
* This code was edited or generated using CloudGarden‘s Jigloo
* SWT/Swing GUI Builder which is free for non-commercial
* use. If Jigloo is being used commercially (ie by a corporation
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class Chat extends JInternalframe{
Mainframe parent;
private JTextPane jtp;
private JTextField txtData;
public Chat(Mainframe parent){
this.parent=parent;
setlayer(4);
setBounds(132600);
this.setPreferredSize(new java.awt.Dimension(140 223));
((javax.swing.plaf.basic.BasicInternalframeUI) this.getUI()).setNorthPane(null);
this.putClientProperty(“JInternalframe.isPalette“ Boolean.TRUE);
GridBagLayout thisLayout = new GridBagLayout();
thisLayout.rowWeights = new double[] {0.1 0.1 0.0 0.0};
thisLayout.rowHeights = new int[] {7 7 49 56};
thisLayout.columnWeights = new double[] {0.0 0.0 0.0 0.0};
thisLayout.columnWidths = new int[] {0 45 45 48};
getContentPane().setLayout(thisLayout);
setVisible(true);
pack();
{
jtp = new JTextPane();
getContentPane().add(jtp new GridBagConstraints(1 0 4 5 0.0 0.0 GridBagConstraints.NORTH GridBagConstraints.BOTH new Insets(0 0 0 0) 0 0));
jtp.setPreferredSize(new Dimension(140 160));
jtp.setEditable(false);
}
{
txtData = new JTextField();
getContentPane().add(txtData new GridBagConstraints(1 7 3 1 0.0 0.0 GridBagConstraints.SOUTH GridBagConstraints.HORIZONTAL new Insets(0 0 0 0) 0 0));
txtData.setColumns(10);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 226 2007-03-26 21:05 codesc.net\Ftyped\.classpath
文件 329 2007-04-04 16:05 codesc.net\Ftyped\.fatjar
文件 382 2007-03-26 21:05 codesc.net\Ftyped\.project
文件 1969 2007-04-27 13:41 codesc.net\Ftyped\Chat.class
文件 1986 2007-04-26 13:03 codesc.net\Ftyped\Chat.java
文件 489530 2007-04-11 21:37 codesc.net\Ftyped\Code\py.db
文件 308026 2007-04-11 20:57 codesc.net\Ftyped\Code\wb.db
文件 920 2007-04-27 13:41 codesc.net\Ftyped\com\cloudgarden\layout\AnchorConstraint.class
文件 2456 2007-04-24 16:55 codesc.net\Ftyped\com\cloudgarden\layout\AnchorConstraint.java
文件 5021 2007-04-27 13:41 codesc.net\Ftyped\com\cloudgarden\layout\AnchorLayout.class
文件 7704 2007-04-24 16:55 codesc.net\Ftyped\com\cloudgarden\layout\AnchorLayout.java
文件 226 2007-04-27 13:03 codesc.net\Ftyped\config.properties
文件 1498 2007-04-27 13:41 codesc.net\Ftyped\DistillText.class
文件 912 2007-04-07 11:30 codesc.net\Ftyped\DistillText.java
文件 594 2007-04-27 13:41 codesc.net\Ftyped\Editor$1.class
文件 868 2007-04-27 13:41 codesc.net\Ftyped\Editor$Empty.class
文件 11629 2007-04-27 13:41 codesc.net\Ftyped\Editor.class
文件 13310 2007-04-27 13:09 codesc.net\Ftyped\Editor.java
文件 594 2007-04-27 13:41 codesc.net\Ftyped\Etymon$1.class
文件 4848 2007-04-27 13:41 codesc.net\Ftyped\Etymon.class
文件 5848 2007-04-26 18:12 codesc.net\Ftyped\Etymon.java
文件 31058 2007-04-27 13:29 codesc.net\Ftyped\help\help_wbjb.html
文件 4430 2007-04-26 21:20 codesc.net\Ftyped\help\help_windows.html
文件 4612 2007-04-26 21:21 codesc.net\Ftyped\help\help_znjb.html
文件 1176 2007-04-27 13:27 codesc.net\Ftyped\help\index.html
文件 14493 2006-05-22 21:58 codesc.net\Ftyped\help\ShouZhi.gif
..A.SH. 17408 2008-11-11 23:03 codesc.net\Ftyped\help\Thumbs.db
文件 1829 2006-05-22 21:58 codesc.net\Ftyped\help\zf.htm
文件 10815 2006-05-22 21:58 codesc.net\Ftyped\help\zg.gif
文件 17317 2006-05-22 21:58 codesc.net\Ftyped\help\Zhifa.gif
............此处省略98个文件信息
评论
共有 条评论