www.ypnh.net > 求JAVA源代码

求JAVA源代码

import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class GradeStatistic { public static void main(String[] args) { GradeStatistic gs = new GradeStatistic(); List list = new ArrayList(); float su...

package org.java.test; import java.util.Scanner; public class CalendarTest{ public static void main(String[] args) { System.out.println("欢 迎 使 用 万 年 历"); Scanner input = new Scanner(System.in); System.out.print("\n请选择...

贪吃蛇 import java.awt.*; import java.awt.event.*; public class GreedSnake //主类 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub new MyWindow(); } } class MyPanel extends Pane...

连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPane...

连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPane...

import java.awt.*; import java.awt.event.*; import java.lang.*; import javax.swing.*; public class Counter extends Frame { //声明三个面板的布局 GridLayout gl1,gl2,gl3; Panel p0,p1,p2,p3; JTextField tf1; TextField tf2; Button b0...

给你个做好了的Java的源程序的记事本,自己看看就行了的,不怎么难的··· import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; public class MyNotepad implements ActionListener{ private JFrame frame=new ...

一下代码仅供参考 package com.kidd.test.zhidao;import java.util.NoSuchElementException;import java.util.Scanner;public class Test {public static void main(String[] args) {Scanner sc = new Scanner(System.in);int a = 0;int b = 0;b...

实体类 package dao;public class Person {private Integer personid;private String personname;private String degree;private String birth;private Integer sal;public Person() {}public Person(Integer personid, String personname, Stri...

用图形界面实现的: GoodLucky.java文件 内容如下: import java.awt.*; import java.awt.event.*; import javax.swing.*; public class GoodLucky extends JFrame implements ActionListener{ JTextField tf = new JTextField(); JButton b1 = ...

网站地图

All rights reserved Powered by www.ypnh.net

copyright ©right 2010-2021。
www.ypnh.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com