![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java语言程序设计
Object_in_java
这个作者很懒,什么都没留下…
展开
-
javafx实现登录注册界面
package sample;import JavaBigJob.BaseScene;import javafx.scene.Parent;import javafx.scene.layout.Pane;import javafx.application.Application;import javafx.geometry.Pos;import javafx.scene.Scene;import javafx.scene.control.*;import javafx.scene.imag原创 2020-11-19 23:23:46 · 7092 阅读 · 6 评论 -
java实现导出excel
package sample;import org.apache.poi.hssf.usermodel.*;import org.apache.poi.hssf.util.HSSFColor;import org.apache.poi.ss.usermodel.BorderStyle;import org.apache.poi.ss.usermodel.HorizontalAlignment;import org.apache.poi.ss.usermodel.VerticalAlignment原创 2020-11-19 23:21:51 · 321 阅读 · 0 评论 -
javafx实现通讯录(数据库升级版)
Table01package sample;import javafx.application.Application;import javafx.beans.Observable;import javafx.collections.FXCollections;import javafx.collections.ObservableList;import javafx.geometry.Insets;import javafx.geometry.Pos;import javafx.sce.原创 2020-11-14 00:17:25 · 1518 阅读 · 4 评论 -
javafx通讯录管理(数据库版本)
主类Table01package sample;import javafx.application.Application;import javafx.beans.Observable;import javafx.collections.FXCollections;import javafx.collections.ObservableList;import javafx.geometry.Insets;import javafx.geometry.Pos;import javafx.sc原创 2020-11-07 22:57:41 · 591 阅读 · 0 评论 -
java语言程序设计(进阶版)20.2 20.6 20.10 集合基本操作
package sample;import javafx.application.Application;import javafx.geometry.Pos;import javafx.scene.Scene;import javafx.scene.control.Button;import javafx.scene.control.Label;import javafx.scene.control.TextArea;import javafx.scene.control.TextFiel原创 2020-11-02 14:59:35 · 233 阅读 · 0 评论 -
java语言程序设计(进阶版)21.6 21.10 HashMap
package com.wenchi;import java.util.HashMap;import java.util.Iterator;import java.util.Scanner;import java.util.TreeMap;public class Demo01 { public static void main(String[] args) { HashMap<Integer, Integer> hashMap = new HashMap&原创 2020-10-22 10:40:21 · 293 阅读 · 4 评论 -
java语言程序设计(进阶版)17.1 17.16 17.3 IO流
package com.company;import javafx.scene.effect.ImageInput;import java.io.*;public class Demo02 { public static void main(String[] args) throws Exception{ File file = new File("d:\\Exercise17_01(2).txt");// BufferedWriter out = new原创 2020-10-21 13:00:35 · 169 阅读 · 0 评论 -
java语言程序设计(进阶版)19.4 19.5
public class Demo06 { public static <E extends Comparable<E>> E max(E[]list){ E max; if(list==null) return null; else { max = list[0]; } for(E t:list){ if(t.compar.原创 2020-10-09 13:31:11 · 149 阅读 · 0 评论 -
java语言程序设计(进阶篇)19.1泛型的应用
package com.company;import java.util.Arrays;public class GenericStack<E> { Object [] a = new Object[10];// int max = a.length; int size = 0; // E[] array = new [10]; 不可这么写 public int getSize() { return size; }原创 2020-10-09 12:47:07 · 180 阅读 · 0 评论 -
java语言程序设计 第十五章 (15.1、15.2、15.3)
15.1(1) 只随机刷新一次扑克牌package hahaha;import javafx.application.Application;import javafx.scene.Scene;import javafx.scene.image.Image;import javafx.scene.image.ImageView;import javafx.scene.layout.HBox;import javafx.stage.Stage;import javafx.scene.layo原创 2020-06-16 19:17:46 · 874 阅读 · 3 评论