• 大小: 4.77M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-23
  • 语言: Java
  • 标签: 框架  

资源简介

swing框架汇总(文档以及实例)

资源截图

代码片段和文件信息

package com.wgtgt.event;

import javax.swing.JTextField;

import qq.qq757225051.CompMap;
import qq.qq757225051.MyEvent;

public class CalculatorEvent implements MyEvent {
   public void plus(){//加
   String str1=CompMap.getText(“jt_one“);//得到公共区保存的JTextField,并取出上面的Text字符串
   String str2=CompMap.getText(“jt_two“);//得到公共区保存的JTextField,并取出上面的Text字符串
   JTextField jt=(JTextField)CompMap.get(“jt_result“);
   double num1=Double.parseDouble(str1);
   double num2=Double.parseDouble(str2);
   double result=num1+num2;
   String resultStr=result+““;
   jt.setText(resultStr);
   }
   public void minus(){//减
   double num1=getDouble(“jt_one“);
   double num2=getDouble(“jt_two“);
   JTextField jt=(JTextField)CompMap.get(“jt_result“);
   double result=num1-num2;
   Str

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-07-26 14:29  swing框架汇总\
     文件         257  2013-07-15 09:30  swing框架汇总\csdn.txt
     目录           0  2013-07-26 14:29  swing框架汇总\lib\
     文件       31614  2013-03-21 14:39  swing框架汇总\lib\swing_frame3.jar
     目录           0  2013-07-15 09:08  swing框架汇总\Swingframe_API\
     文件        1614  2013-07-15 08:58  swing框架汇总\Swingframe_API\allclasses-frame.html
     文件        1434  2013-07-15 08:58  swing框架汇总\Swingframe_API\allclasses-noframe.html
     文件        5059  2013-07-15 08:58  swing框架汇总\Swingframe_API\constant-values.html
     文件        5024  2013-07-15 08:58  swing框架汇总\Swingframe_API\deprecated-list.html
     文件        2773  2013-07-15 09:08  swing框架汇总\Swingframe_API\ecAlias.h
     文件        3343  2013-07-15 09:08  swing框架汇总\Swingframe_API\ecMap.h
     文件        8069  2013-07-15 08:58  swing框架汇总\Swingframe_API\help-doc.html
     目录           0  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\
     文件        6974  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-1.html
     文件        6802  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-10.html
     文件        6091  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-11.html
     文件        6408  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-12.html
     文件        8683  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-13.html
     文件        6505  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-14.html
     文件       10024  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-2.html
     文件        6240  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-3.html
     文件        7919  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-4.html
     文件        6167  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-5.html
     文件       10137  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-6.html
     文件        7576  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-7.html
     文件        6415  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-8.html
     文件        6485  2013-07-15 08:58  swing框架汇总\Swingframe_API\index-files\index-9.html
     文件        1205  2013-07-15 08:58  swing框架汇总\Swingframe_API\index.html
     文件        7206  2013-07-15 08:58  swing框架汇总\Swingframe_API\overview-tree.html
     文件          16  2013-07-15 08:58  swing框架汇总\Swingframe_API\package-list
     目录           0  2013-07-15 08:58  swing框架汇总\Swingframe_API\qq\
............此处省略1034个文件信息

评论

共有 条评论