资源简介
JSmooth中文版 把java程序转化成exe格式,欢迎下载。附有使用方法
代码片段和文件信息
/*
* frame.java
*
* Created on 10 ao鹴 2003 19:23
*/
import java.util.*;
/**
*
* @author Rodrigo
*/
public class JSmoothPropertiesDisplayer extends java.awt.frame
{
private String[] m_args;
/** Creates new form frame */
public JSmoothPropertiesDisplayer(String[] args)
{
m_args = args;
initComponents();
displayInformation();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
private void initComponents() {//GEN-BEGIN:initComponents
java.awt.GridBagConstraints gridBagConstraints;
label1 = new java.awt.Label();
m_text = new java.awt.TextArea();
m_buttonClose = new java.awt.Button();
setLayout(new java.awt.GridBagLayout());
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
}
});
label1.setAlignment(java.awt.Label.CENTER);
label1.setFont(new java.awt.Font(“Dialog“ 0 18));
label1.setText(“JSmooth Sample Program“);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.insets = new java.awt.Insets(5 0 0 0);
add(label1 gridBagConstraints);
m_text.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
gridBagConstraints.insets = new java.awt.Insets(5 5 5 5);
add(m_text gridBagConstraints);
m_buttonClose.setLabel(“Close“);
m_buttonClose.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
buttonCloseActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.insets = new java.awt.Insets(5 5 5 5);
add(m_buttonClose gridBagConstraints);
java.awt.Button reboot = new java.awt.Button(“JNI Tests“);
add(reboot gridBagConstraints);
reboot.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
try {
java.io.File f = new java.io.File(“Z:/test“);
System.out.println(f.getAbsoluteFile().toString());
System.out.println(f.getAbsoluteFile().getCanonicalPath().toString());
System.out.println(“JNI Availability : “ + jsmooth.Native.isAvailable());
if (jsmooth.Native.isAvailable())
{
jsmo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 148992 2009-04-04 13:33 怎么把java程序打包成exe格式.doc
文件 8843 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\Changelog.txt
文件 15425 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\GPL-LICENSE.txt
文件 427520 2007-05-21 05:09 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\jsmoothcmd.exe
文件 616448 2007-05-21 05:09 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\jsmoothgen.exe
文件 26940 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\LGPL-LICENSE.txt
文件 1400 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\LICENSE.txt
文件 431104 2007-05-21 05:09 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\proof-test.exe
文件 3795 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\readme.txt
文件 60236 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\jsmooth-doc.html
文件 335132 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\jsmooth-doc.pdf
文件 694 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\jsmooth.css
文件 7656 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-addprop.png
文件 67367 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-application-small.png
文件 99690 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-application.png
文件 47289 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-configuration.png
文件 32031 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-executable.png
文件 34433 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-javaapplication.png
文件 31528 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-selection-small.png
文件 45465 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-selection.png
文件 45465 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-skeleton.png
文件 40641 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-skeletonproperties-small.png
文件 61192 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\jsg-skeletonproperties.png
文件 696 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\stock_down.png
文件 1140 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\stock_edit.png
文件 633 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\stock_insert-element.png
文件 558 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\stock_remove-element.png
文件 698 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\stock_up.png
文件 1918 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\images\warning.png
文件 798 2007-05-21 05:07 JSmooth_0.9.9-7_zh_CN\JSmooth 0.9.9-7\docs\jniapi\allclasses-fr
............此处省略69个文件信息
评论
共有 条评论