Java算法大全源码包


Java算法大全源码包
资源截图
代码片段和文件信息
/* AlgAnimApp.java */

import java.awt.*;
import java.applet.*;
import java.io.*;
import java.net.*;

/**
 * This class creates an applet on a java compliant web browser. There
 * is a single button on the applet which will bring up a frame
 * performing the corresponding algorithm animation.
 * 


 * This class is normally NOT TO BE CHANGED and is reuseable for any
 * animation algorithm.
 * 


 * The filename of the source code and the button label are 
 * passed into this class from the
 * applet tag in the HTML file.
 */
public class AlgAnimApp extends applet {
    static String fn_label = “filename“;
    static String button_label = “buttonname“;
    URL homeURL sourceURL;
    /**
     * A awt button to bring up a frame. This button will be disabled once
     * the frame is created and will be enabled again when the frame is
     * destroy.
     * @see AlgAnimframe
     */
    public Button start_button;

    /**
     * This constructor is not to be manually called. It inherits completely
     * the properties of the applet class.
     */
    public AlgAnimApp() {}

    /**
     * applet initialization method which creates the button attribute.
     */
    public void init() {
setBackground( Color.white );
        String file_name = this.getParameter(fn_label); 
        homeURL = getCodebase();
        try {
            sourceURL = new URL( homeURL file_name );
        } catch( IOException e ) {
            System.out.println(“URL error “ + file_name );
        }

        start_button = new Button(getParameter(button_label));
        add(start_button);

        validate();

    } // init()

    /**
     * The start_button action handling method which is
     * automatically invoked when the button is pressed.
     */
    public boolean action(Event e object arg) {
        object target = e.target;
 
        if (target == start_button) {
            start_button.disable();
            new AlgAnimframe(this sourceURL);
            return true;
    //setVisible(true);
        }
        return false;
    } // action()

} // class AlgAnimApp


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-10-15 20:16  java算法大全源码包
     目录           0  2016-10-15 20:16  java算法大全源码包BD
     文件        2124  1999-09-02 23:18  java算法大全源码包BDAlgAnimApp.java
     文件       15281  1999-09-02 23:18  java算法大全源码包BDAlgAnimframe.java
     文件        4894  1999-09-02 23:18  java算法大全源码包BDAlgThread.java
     文件        3519  1999-09-02 23:18  java算法大全源码包BDArc.java
     目录           0  2016-10-15 20:16  java算法大全源码包BDBD
     文件         399  1999-09-02 23:18  java算法大全源码包BDBD.form
     文件         788  1999-09-02 23:18  java算法大全源码包BDBD1.form
     文件         399  1999-09-02 23:18  java算法大全源码包BDBDBD.form
     文件         788  1999-09-02 23:18  java算法大全源码包BDBDBD1.form
     文件         241  1999-09-02 23:18  java算法大全源码包BDBDFB.form
     文件       27786  1999-09-02 23:18  java算法大全源码包BDBlockDiagram.java
     文件        2612  1999-09-02 23:18  java算法大全源码包BDDrawingObj.java
     文件        3897  1999-09-02 23:18  java算法大全源码包BDepm.txt
     文件         241  1999-09-02 23:18  java算法大全源码包BDFB.form
     文件         856  1999-09-02 23:18  java算法大全源码包BDFunctionBlock.java
     文件         836  1999-09-02 23:18  java算法大全源码包BDIOPoint.java
     文件        1771  1999-09-02 23:18  java算法大全源码包BDLabelledBox.java
     文件       83968  1999-09-02 23:18  java算法大全源码包BDlecf.doc
     文件         755  1999-09-02 23:18  java算法大全源码包BDMakefile
     文件         440  1999-09-02 23:18  java算法大全源码包BDNode.java
     文件        1094  1999-09-02 23:18  java算法大全源码包BDSubscriptedLabel.java
     文件        1100  1999-09-02 23:18  java算法大全源码包BDSummingPoint.java
     文件         376  1999-09-02 23:18  java算法大全源码包BD est.html
     文件        3453  1999-09-02 23:18  java算法大全源码包BDTextframe.bk
     文件        3693  1999-09-02 23:18  java算法大全源码包BDTextframe.java
     文件        8140  1999-09-02 23:18  java算法大全源码包BDTextPanel.java
     文件        7190  1999-09-02 23:18  java算法大全源码包BDTransformPanel.java
     目录           0  2016-10-15 20:16  java算法大全源码包in_sort
     文件        1783  1999-04-05 10:57  java算法大全源码包in_sortAlgAnimApp.class
............此处省略688个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)