• 大小: 3.3MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-13
  • 语言: Java
  • 标签: JSmooth  Exe  jar  

资源简介

将jar打包成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

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

    .......      8843  2007-05-21 05:07  JSmooth 0.9.9-7\Changelog.txt

    .......      7656  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-addprop.png

    .......     67367  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-application-small.png

    .......     99690  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-application.png

    .......     47289  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-configuration.png

    .......     32031  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-executable.png

    .......     34433  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-javaapplication.png

    .......     31528  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-selection-small.png

    .......     45465  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-selection.png

    .......     45465  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-skeleton.png

    .......     40641  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-skeletonproperties-small.png

    .......     61192  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\jsg-skeletonproperties.png

    .......       696  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\stock_down.png

    .......      1140  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\stock_edit.png

    .......       633  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\stock_insert-element.png

    .......       558  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\stock_remove-element.png

    .......       698  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\stock_up.png

    .......      1918  2007-05-21 05:07  JSmooth 0.9.9-7\docs\images\warning.png

    .......       798  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\allclasses-frame.html

    .......       758  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\allclasses-noframe.html

    .......     22302  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\constant-values.html

    .......      4963  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\deprecated-list.html

    .......      9385  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\help-doc.html

    .......     20952  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\index-all.html

    .......      1219  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\index.html

    .......      6621  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\jsmooth\class-use\DriveInfo.html

    .......      5294  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\jsmooth\class-use\Native.html

    .......     29756  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\jsmooth\DriveInfo.html

    .......     33383  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\jsmooth\Native.html

    .......       943  2007-05-21 05:07  JSmooth 0.9.9-7\docs\jniapi\jsmooth\package-frame.html

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

评论

共有 条评论