摘要:
/*** */package Lyt;import javax.swing.JFrame;/*** @author Administrator**/public class lyt {/** * @param args */public static void main(String[] args) {// TODO Auto-generated method stubTextPanel frame=new TextPanel();frame.setTitle("计算器");frame.setSize(172, 180);frame.setLocationRelativeT 阅读全文
摘要:
/*** */package Lyt;import javax.swing.JFrame;/*** @author Administrator**/public class lyt {/** * @param args */public static void main(String[] args) {// TODO Auto-generated method stubshowNum frame=new showNum();frame.setTitle("未来值计算");frame.setSize(300,120);frame.setLocationRelativeTo(n 阅读全文
摘要:
/*** */package Lyt2;import java.awt.BorderLayout;import javax.swing.JFrame;/*** @author Administrator**/public class lyt extends JFrame{public lyt(){ pressShow l=new pressShow(); setLayout(new BorderLayout()); add(l);}/** * @param args */public static void main(String[] args) {// TODO Auto-generated 阅读全文
摘要:
/*** */package lyt;import java.awt.BorderLayout;import java.awt.FlowLayout;import java.awt.Graphics;import java.awt.Image;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.ImageIcon;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel; 阅读全文
摘要:
/*** */package 基因;import java.util.*;/*** @author Administrator**/public class lyt {/** * @param args */public static void main(String[] args) {// TODO Auto-generated method stubScanner input=new Scanner(System.in);String str0="",str1="";int num0=0,num1=0,num2=0,num3=0;System.out 阅读全文
摘要:
/*** */package lyt;import java.util.*;/*** @author Administrator**/public class Lyt1 {/** * @param args *///向一个文件夹里输入相应的字符串,然后将字符读出来,进行删除指定字符的操作。public static void main(String[] args) throws Exception {// TODO Auto-generated method stubString str0="",str2=""; String str="&qu 阅读全文
摘要:
/*** */package Lyt;import java.awt.Panel;import java.util.Scanner;import javax.swing.JButton;import javax.swing.JFrame;/*** @author Administrator**/public class lyt extends JFrame {private JButton jbtOK=new JButton("OK");/** * @param args */public lyt(){jbtOK.setToolTipText("这是一个按钮&qu 阅读全文