JavaFX实现简单日历效果_java

来源:脚本之家  责任编辑:小易  

Parent root = FXMLLoader.load(getClass().getResource("/fxml/dh.fxml"))//getResource(“”)里面复是fxml的地址Stage dh=new Stage();//新建制Stagedh.setTitle("菜单导航");//给舞2113台赋予名称Scene scene = new Scene(root, 600, 400);dh.setScene(scene);dh.show();//打开新的窗口5261//获取当前4102按钮所在的窗口,1653其中login是按钮的fx:idStage main = (Stage) login.getScene().getWindow();//关闭窗口main.close();,可以在“按2113钮点击事件”中5261写上读取fmxl为节4102点对象Parent root = FXMLLoader.load(getClass().getResource("fxml_example.fxml")); 然后把父节1653点放入某个new Scene(root,320,200);然后在版显示在所用的舞台stage上。权追问"显示在所用的舞台stage上"是什么意思呢?不明白。。。追答JavaFX 2.x的所有控件都是在stage上显示,最上层的stage由底层平台提供。比如Application提供,或者Swing接口JFXPanel提供。读取fxml后产生的节点Node需要放在一个场景Scene中,而场景Scene要放在某个舞台stage上。舞台stage由平台(Application, Swing, SWT)产生和提供本回答被提问者采纳www.zgxue.com防采集请勿采集本网。

本文实例为大家分享了JavaFX实现简单日历效果的具体代码,供大家参考,具体内容如下

其实就是启用一个线bai程,该线程循环地执行: 1.用nanoTime算出每帧的用时。 2.调用worker,并查看信号du量。 3.如果信号量已被释放,那么通过Platform.runLater把renderer传递给JavaFx图形线程(执行完renderer后会释放信号量)。 4.回到第1步

1.先看效果:

怎样在JavaFX中实现菜单 import javafx.scene.*; import javafx.scene.control.*; import javafx.stage.Stage; import javafx.application.Application; import javafx.collections.*; public class FXComboExample extends Application { publi

2.代码:

http://zhidao.baidu.com/question/2012693426283593748 把swing的修改一下吧

1)ClockEdge.java类

其实就是启用一个线程,该线程循环地执行: 1.用nanoTime算出每帧的用时。 2.调用worker,并查看信号量。 3.如果信号量已被释放,那么通过Platform.runLater把renderer传递给JavaFx图形线程(执行完renderer后会释放信号量)。 4.回到第1步。 这

这个类(Pane)主要是用来设置时钟边缘(为了美观对直了半天,其实想想也没必要~。~)

一个ListView通常有两个职责。 (1)将数据填充到布局。 (2)处理用户的选择点击等操作。 第一点很好理解,ListView就是实现这个功能的。第二点也不难做到,在后面的学习中读者会发现,这非常简单。 一个ListView的创建需要3个元素。 (1)List

package com.javaBasic.javaFX; import javafx.scene.layout.Pane;import javafx.scene.paint.Color;import javafx.scene.shape.Circle;import javafx.scene.shape.Line;import javafx.scene.text.Text; /** * @version 1.00 2016-10-15 * @author Administrator * 功能:显示时钟边缘 */ public class ClockEdge extends Pane{ private double w , h; public ClockEdge(){ this(200, 200); paint(); } public ClockEdge(double w, double h){ this.w = w; this.h = h; paint(); } public double getW() { return w; } public void setW(double w) { this.w = w; paint(); } public double getH() { return h; } public void setH(double h) { this.h = h; paint(); } public void paint(){ double clockRadius = Math.min(w, h) * 0.8 * 0.5; double centerX = w / 2; double centerY = h / 2; Circle circle = new Circle(centerX, centerY, clockRadius); circle.setFill(Color.WHITE); circle.setStroke(Color.BLACK); //假设一个字符宽7.6个像素,高8.8个像素 Text text1 = new Text(centerX + clockRadius * Math.sin(1 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(2 * Math.PI / 6)) - 2.2 * Math.sin(2 * Math.PI / 6), centerY - clockRadius * Math.cos(1 * Math.PI / 6) + 8.8 + 1.7 * Math.sin(2 * Math.PI / 6) - 2.2 * (1 - Math.cos(2 * Math.PI / 6)), "1"); Text text2 = new Text(centerX + clockRadius * Math.sin(2 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(4 * Math.PI / 6)) - 2.2 * Math.sin(4 * Math.PI / 6), centerY - clockRadius * Math.cos(2 * Math.PI / 6) + 8.8 + 1.7 * Math.sin(4 * Math.PI / 6) - 2.2 * (1 - Math.cos(4 * Math.PI / 6)), "2"); Text text3 = new Text(centerX + clockRadius * Math.sin(3 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(6 * Math.PI / 6)) - 2.2 * Math.sin(6 * Math.PI / 6), centerY - clockRadius * Math.cos(3 * Math.PI / 6) + 8.8 + 1.7 * Math.sin(6 * Math.PI / 6) - 2.2 * (1 - Math.cos(6 * Math.PI / 6)), "3"); Text text4 = new Text(centerX + clockRadius * Math.sin(4 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(8 * Math.PI / 6)) + 2.2 * Math.sin(8 * Math.PI / 6), centerY - clockRadius * Math.cos(4 * Math.PI / 6) + 1.7 * Math.sin(8 * Math.PI / 6) + 2.2 * (1 - Math.cos(8 * Math.PI / 6)), "4"); Text text5 = new Text(centerX + clockRadius * Math.sin(5 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(10 * Math.PI / 6)) + 2.2 * Math.sin(10 * Math.PI / 6), centerY - clockRadius * Math.cos(5 * Math.PI / 6) + 1.7 * Math.sin(10 * Math.PI / 6) + 2.2 * (1 - Math.cos(10 * Math.PI / 6)), "5"); Text text6 = new Text(centerX + clockRadius * Math.sin(6 * Math.PI / 6) - 7.6 + 1.7 * (1 + Math.cos(12 * Math.PI / 6)) + 2.2 * Math.sin(12 * Math.PI / 6), centerY - clockRadius * Math.cos(6 * Math.PI / 6) + 1.7 * Math.sin(12 * Math.PI / 6) + 2.2 * (1 - Math.cos(12 * Math.PI / 6)), "6"); Text text7 = new Text(centerX + clockRadius * Math.sin(7 * Math.PI / 6) - 1.7 * (1 + Math.cos(14 * Math.PI / 6)) + 2.2 * Math.sin(14 * Math.PI / 6), centerY - clockRadius * Math.cos(7 * Math.PI / 6) - 1.7 * Math.sin(14 * Math.PI / 6) + 2.2 * (1 - Math.cos(14 * Math.PI / 6)), "7"); Text text8 = new Text(centerX + clockRadius * Math.sin(8 * Math.PI / 6) - 1.7 * (1 + Math.cos(16 * Math.PI / 6)) + 2.2 * Math.sin(16 * Math.PI / 6), centerY - clockRadius * Math.cos(8 * Math.PI / 6) - 1.7 * Math.sin(16 * Math.PI / 6) + 2.2 * (1 - Math.cos(16 * Math.PI / 6)), "8"); Text text9 = new Text(centerX + clockRadius * Math.sin(9 * Math.PI / 6) - 1.7 * (1 + Math.cos(18 * Math.PI / 6)) + 2.2 * Math.sin(18 * Math.PI / 6), centerY - clockRadius * Math.cos(9 * Math.PI / 6) - 1.7 * Math.sin(18 * Math.PI / 6) + 2.2 * (1 - Math.cos(18 * Math.PI / 6)), "9"); Text text10 = new Text(centerX + clockRadius * Math.sin(10 * Math.PI / 6) - 3.8 * (1 + Math.cos(20 * Math.PI / 6)) - 2.2 * Math.sin(20 * Math.PI / 6), centerY - clockRadius * Math.cos(10 * Math.PI / 6) + 8.8 - 3.8 * Math.sin(20 * Math.PI / 6) - 2.2 * (1 - Math.cos(20 * Math.PI / 6)), "10"); Text text11 = new Text(centerX + clockRadius * Math.sin(11 * Math.PI / 6) - 3.8 * (1 + Math.cos(22 * Math.PI / 6)) - 2.2 * Math.sin(22 * Math.PI / 6), centerY - clockRadius * Math.cos(11 * Math.PI / 6) + 8.8 - 3.8 * Math.sin(22 * Math.PI / 6) - 2.2 * (1 - Math.cos(22 * Math.PI / 6)), "11"); Text text12 = new Text(centerX + clockRadius * Math.sin(12 * Math.PI / 6) - 3.8 * (1 + Math.cos(24 * Math.PI / 6)) - 2.2 * Math.sin(24 * Math.PI / 6), centerY - clockRadius * Math.cos(12 * Math.PI / 6) + 8.8 - 3.8 * Math.sin(24 * Math.PI / 6) - 2.2 * (1 - Math.cos(24 * Math.PI / 6)), "12"); getChildren().addAll(circle, text1, text2, text3, text4, text5, text6, text7, text8, text9, text10, text11, text12); for(int i =1; i<= 60; i++){ double pointX1 = centerX + clockRadius * 0.95 * Math.sin(i * (2 * Math.PI) / 60); double pointY1 = centerY - clockRadius * 0.95 * Math.cos(i * (2 * Math.PI) / 60); double pointX2 = centerX + clockRadius * 1.0 * Math.sin(i * (2 * Math.PI) / 60); double pointY2 = centerY - clockRadius * 1.0 * Math.cos(i * (2 * Math.PI) / 60); if(i % 5 == 0) continue; else{ Line point = new Line(pointX1, pointY1, pointX2, pointY2); getChildren().add(point); } } } }

2)ClockPointer.java类

这个类(Pane)主要用来显示时钟的三个指针(时、分、秒);

package com.javaBasic.javaFX; import java.util.Calendar; import java.util.GregorianCalendar; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.shape.Line; /** * @version 1.00 2016-10-15 * @author Administrator * 功能:显示时钟指针 */ public class ClockPointer extends Pane{ private int hour; private int minute; private int second; private double w = 200, h = 200; public ClockPointer(){ setCurrentTime(); } public ClockPointer(int hour, int minute, int second){ this.hour = hour; this.minute = minute; this.second = second; paint(); } public int getHour(){ return hour; } public void setHour(int hour){ this.hour = hour; paint(); } public int getMinute(){ return minute; } public void setMinute(int minute){ this.minute = minute; paint(); } public int getSecond(){ return second; } public void setSecond(int second){ this.second = second; paint(); } public double getW() { return w; } public void setW(double w) { this.w = w; paint(); } public double getH() { return h; } public void setH(double h) { this.h = h; paint(); } public String setCurrentTime(){ String str1, str2, str3; Calendar calendar = new GregorianCalendar(); this.hour = calendar.get(Calendar.HOUR_OF_DAY); this.minute = calendar.get(Calendar.MINUTE); this.second = calendar.get(Calendar.SECOND); str1 = String.valueOf(hour); str2 = String.valueOf(minute); str3 = String.valueOf(second); if (hour < 10) { str1 = "0" + hour; } if (minute < 10) { str2 = "0" + minute; } if (second < 10) { str3 = "0" + second; } paint(); return str1 + " : " + str2 + " : " + str3; } protected void paint(){ getChildren().clear(); double clockRadius = Math.min(w, h) * 0.8 * 0.5; double centerX = w / 2; double centerY = h / 2; double sLength = clockRadius * 0.8; double secondX = centerX + sLength * Math.sin(second * (2 * Math.PI) / 60); double secondY = centerY - sLength * Math.cos(second * (2 * Math.PI) / 60); Line sLine = new Line(centerX, centerY, secondX, secondY); sLine.setStroke(Color.RED); double mLength = clockRadius * 0.65; double minuteX = centerX + mLength * Math.sin(minute * (2 * Math.PI) / 60); double minuteY = centerY - mLength * Math.cos(minute * (2 * Math.PI) / 60); Line mLine = new Line(centerX, centerY, minuteX, minuteY); mLine.setStroke(Color.BLUE); double hLength = clockRadius * 0.5; double hourX = centerX + hLength * Math.sin(hour * (2 * Math.PI) / 12); double hourY = centerY - hLength * Math.cos(hour * (2 * Math.PI) / 12); Line hLine = new Line(centerX, centerY, hourX, hourY); mLine.setStroke(Color.GREEN); getChildren().addAll(sLine, mLine, hLine); } }

3)CalendarPanel.java类

这个类(Pane)用来显示日历(这里用到了一个字体Cooper Black一般系统应该都有,没有就得添加)

package com.javaBasic.javaFX; import javafx.scene.layout.Pane; import javafx.scene.layout.ColumnConstraints; import javafx.scene.layout.GridPane; import javafx.scene.control.Label; import javafx.scene.paint.Color; import javafx.geometry.HPos; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javafx.scene.text.Text; import java.util.Calendar; /** * @version 1.00 2016-10-17 * @author Administrator * 功能:显示日历 */ public class CalendarPanel extends Pane{ private int year; private int month; private int day; private int firstDayOfWeek; private int totalDayOfMonth; public CalendarPanel(){ Calendar calendar = Calendar.getInstance(); year = calendar.get(Calendar.YEAR); month = calendar.get(Calendar.MONTH) + 1; day = calendar.get(Calendar.DAY_OF_MONTH); totalDayOfMonth = calendar.getActualMaximum(Calendar.DATE); calendar.set(Calendar.DAY_OF_MONTH, 1); firstDayOfWeek = calendar.get(Calendar.DAY_OF_WEEK) - 1; paint(); } public void paint(){ GridPane cp = new GridPane(); String[] week = new String[]{"SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"}; cp.setPadding(new Insets(30, 30, 10, 10)); Text text1 = new Text(year + "年" + month + "月"); text1.setStroke(Color.GREEN); cp.setAlignment(Pos.CENTER); cp.add(text1, 0, 0); GridPane.setColumnSpan(text1, 7); GridPane.setHalignment(text1, HPos.CENTER); for(int i = 0; i < 7; i++){ Label label = new Label(week[i]); if(i == 0 || i == 6) label.setTextFill(Color.RED); cp.add(label, i, 1); cp.getColumnConstraints().add(new ColumnConstraints(30)); GridPane.setHalignment(label, HPos.CENTER); } for(int j = 0; j < totalDayOfMonth; j++){ Label label = new Label(j + 1 +""); if (j + 1 == day) label.setFont(Font.font("Cooper Black", FontWeight.BOLD, 20)); int k = firstDayOfWeek + j; if((k % 7 == 0) || (k % 7 == 6)) label.setTextFill(Color.RED); cp.add(label, k % 7, 2 + k / 7); GridPane.setHalignment(label, HPos.RIGHT); } getChildren().add(cp); } }

4)主面板ClockMainPanel.java

这个类(Pane)是用于将上面三个面板合成主面板

package com.javaBasic.javaFX; import javafx.animation.KeyFrame;import javafx.animation.Timeline;import javafx.application.Application;import javafx.event.ActionEvent;import javafx.event.EventHandler;import javafx.scene.Scene;import javafx.scene.layout.BorderPane;import javafx.scene.layout.StackPane;import javafx.scene.text.Font;import javafx.scene.text.Text;import javafx.stage.Stage;import javafx.util.Duration; /** * @version 1.00 2016-10-17 * @author Administrator * 功能:各个面板Pane合成一个时钟面板ClockMainPanel */ public class ClockMainPanel extends Application { String NowTime; public static void main(String[] args) { // TODO Auto-generated method stub Application.launch(args); } public void start(Stage primaryStage){ ClockEdge ce = new ClockEdge(); ClockPointer cp = new ClockPointer(); StackPane sp = new StackPane(ce, cp); StackPane nt = new StackPane(); CalendarPanel caPa = new CalendarPanel(); BorderPane bp = new BorderPane(); bp.setLeft(sp); bp.setRight(caPa); bp.setBottom(nt); Scene scene = new Scene(bp, 420, 200); EventHandler<ActionEvent> eventHandler = e ->{ nt.getChildren().clear(); NowTime = (String) cp.setCurrentTime(); Text tt= new Text(NowTime); tt.setFont(Font.font("Times New Roman", 20)); nt.getChildren().add(tt); }; Timeline animation = new Timeline( new KeyFrame(Duration.millis(1000), eventHandler)); animation.setCycleCount(Timeline.INDEFINITE); animation.play(); primaryStage.setTitle("Perpetual calendar"); primaryStage.setScene(scene); primaryStage.show(); } }

1. 后台public class Check {public static boolean checkreturn(String account,String password){boolean checkbool = false;if("account".equals(account)&&"password".equals(password)){checkbool = true;}return checkbool;}}import java.net.URL;import java.util.ResourceBundle;import javafx.event.ActionEvent;import javafx.fxml.FXML;import javafx.fxml.Initializable;import javafx.scene.control.PasswordField;import javafx.scene.control.TextField;public class LoginController implements Initializable {@FXML private TextField account;@FXML private PasswordField password;private FXMLTest application;public void setApp(FXMLTest application){this.application = application;}@FXMLpublic void LOGIN_M(ActionEvent event) {application.userlogin(account.getText(), password.getText());}@FXMLprivate void CLEAR_M(ActionEvent event) {account.setText(null);password.setText(null);}@Overridepublic void initialize(URL url, ResourceBundle rb) {// TODO}}import java.net.URL;import java.util.ResourceBundle;import javafx.event.ActionEvent;import javafx.fxml.FXML;import javafx.fxml.Initializable;public class MainController implements Initializable{private FXMLTest application;public void setApp(FXMLTest application){this.application = application;}@FXMLprivate void OUT_M(ActionEvent event) {application.useroutmain();}@Overridepublic void initialize(URL url, ResourceBundle rb) {}}import check.Check;import java.io.InputStream;import java.util.logging.Level;import java.util.logging.Logger;import javafx.application.Application;import javafx.fxml.FXMLLoader;import javafx.fxml.Initializable;import javafx.fxml.JavaFXBuilderFactory;import javafx.scene.Scene;import javafx.scene.layout.AnchorPane;import javafx.stage.Stage;public class FXMLTest extends Application {private Stage stage;private final double MINIMUM_WINDOW_WIDTH = 400.0;private final double MINIMUM_WINDOW_HEIGHT = 250.0;@Overridepublic void start(Stage primaryStage) throws Exception {stage = primaryStage;stage.setTitle("FXML Login Sample");stage.setMinWidth(MINIMUM_WINDOW_WIDTH);stage.setMinHeight(MINIMUM_WINDOW_HEIGHT);gotologin();stage.show();}public void gotologin(){try {LoginController login = (LoginController) replaceSceneContent("FXML_LOGIN.fxml");login.setApp(this);} catch (Exception ex) {Logger.getLogger(FXMLTest.class.getName()).log(Level.SEVERE, null, ex);}}public void gotomain(){try {MainController main = (MainController) replaceSceneContent("FXML_MAIN.fxml");main.setApp(this);} catch (Exception ex) {Logger.getLogger(FXMLTest.class.getName()).log(Level.SEVERE, null, ex);}}public void userlogin(String account,String password){if(Check.checkreturn(account,password)){gotomain();}}public void useroutmain(){gotologin();}private Initializable replaceSceneContent(String fxml) throws Exception {FXMLLoader loader = new FXMLLoader();InputStream in = FXMLTest.class.getResourceAsStream(fxml);loader.setBuilderFactory(new JavaFXBuilderFactory());loader.setLocation(FXMLTest.class.getResource(fxml));AnchorPane page;try {page = (AnchorPane) loader.load(in);} finally {in.close();}Scene scene = new Scene(page, 800, 600);stage.setScene(scene);stage.sizeToScene();return (Initializable) loader.getController();}public static void main(String[] args) {launch(args);}}2. xml配置<?xml version="1.0" encoding="UTF-8"?><?import java.lang.*?><?import java.util.*?><?import javafx.geometry.*?><?import javafx.scene.control.*?><?import javafx.scene.effect.*?><?import javafx.scene.layout.*?><?import javafx.scene.paint.*?><?import javafx.scene.text.*?><AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="250.0" prefWidth="400.0"xmlns:fx="http://javafx.com/fxml" fx:controller="fxmltest.LoginController"><children><VBox layoutX="3.0" layoutY="0.0" prefHeight="250.0" prefWidth="390.0" spacing="20.0"><children><HBox minHeight="37.0" prefHeight="37.0" prefWidth="411.0"><children><Label text="登陆界面"><effect><DropShadow height="7.845238095238096" radius="4.1815476190476195" width="10.880952380952381" /></effect><font><Font name="System Bold" size="30.0" /></font><HBox.margin><Insets left="140.0" /></HBox.margin></Label></children></HBox><GridPane alignment="TOP_RIGHT" prefWidth="380.0"><children><Label alignment="TOP_RIGHT" text="Account" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.rowIndex="0"><effect><DropShadow blurType="TWO_PASS_BOX" height="7.845238095238096" radius="3.675595238095238" width="8.857142857142858" /></effect><font><Font size="25.0" fx:id="x1" /></font><GridPane.margin><Insets right="8.0" fx:id="x2" /></GridPane.margin></Label><Label font="$x1" text="password" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.margin="$x2" GridPane.rowIndex="1"><effect><DropShadow blurType="TWO_PASS_BOX" height="7.845238095238094" radius="3.6755952380952372" width="8.857142857142854" /></effect></Label><TextField fx:id="account" prefHeight="26.0" prefWidth="268.0" promptText="please input your account" GridPane.columnIndex="1" GridPane.rowIndex="0" /><PasswordField fx:id="password" prefWidth="223.0" promptText="please input your password" GridPane.columnIndex="1" GridPane.rowIndex="1" /><Button id="btn_login" mnemonicParsing="false" onAction="#LOGIN_M" prefWidth="80.0" text="登陆" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.rowIndex="2"><effect><DropShadow /></effect><GridPane.margin><Insets top="15.0" /></GridPane.margin></Button><Button id="btn_clear" mnemonicParsing="false" onAction="#CLEAR_M" prefWidth="80.0" text="清除" GridPane.columnIndex="1" GridPane.rowIndex="2"><effect><DropShadow /></effect><GridPane.margin><Insets left="80.0" top="15.0" /></GridPane.margin></Button></children><columnConstraints><ColumnConstraints hgrow="SOMETIMES" maxWidth="205.0" minWidth="10.0" prefWidth="147.0" /><ColumnConstraints hgrow="SOMETIMES" maxWidth="318.0" minWidth="10.0" prefWidth="243.0" /></columnConstraints><rowConstraints><RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /><RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /><RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /></rowConstraints></GridPane></children><padding><Insets top="30.0" /></padding></VBox></children></AnchorPane><?xml version="1.0" encoding="UTF-8"?><?import java.lang.*?><?import java.util.*?><?import javafx.scene.control.*?><?import javafx.scene.layout.*?><?import javafx.scene.paint.*?><?import javafx.scene.text.*?><AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0"xmlns:fx="http://javafx.com/fxml" fx:controller="fxmltest.MainController"><children><Hyperlink layoutX="86.0" layoutY="111.0" text="退出登录!e69da5e6ba9062616964757a686964616f31333365656564" onAction="#OUT_M"><font><Font size="45.0" /></font></Hyperlink></children></AnchorPane>内容来自www.zgxue.com请勿采集。


  • 本文相关:
  • 关于java中构造函数的一些知识详解
  • 全面剖析java中的注解(annotation)
  • java多种方式动态生成doc文档
  • kotlin基础教程之run,标签label,函数function-type
  • springboot使用@data注解减少不必要代码
  • 详解如何用spring restdocs创建api文档
  • springboot实现fastjson解析json数据的方法
  • springboot 配置提示功能(超详细)
  • java程序员如何编写更好的单元测试的7个技巧
  • 经典再现 基于java平台开发坦克大战游戏
  • javafx怎么实现页面的跳转
  • javaFX如何用Button实现跳转到一个已创建的fxml界面
  • 求助,使用JavaFX做的项目,如何实现点击按钮
  • JavaFX如何实现模态窗口
  • 如何理解JavaFX的图形化的编程思想和实现过程?
  • 怎样在JavaFX中实现菜单
  • 求用java中的javafx实现单摆的图形化界面!!!
  • JavaFX怎么实现局部刷新
  • javafx的ListView如何实现多选的操作
  • javafx怎么连接数据库使javafx的界面实现增删查改...
  • 网站首页网页制作脚本下载服务器操作系统网站运营平面设计媒体动画电脑基础硬件教程网络安全c#教程vbvb.netc 语言java编程delphijavaandroidiosswiftscala易语言汇编语言其它相关首页日历显示读出输入的年月的java代码java中的calendar日历api用法完全解析java实现简单日历小程序 java图形界面小日历开发java实现日历(某年的日历,某月的日历)用户完全自定义学习java中的日期和时间处理及java日历小程序的编写java实现的日历功能完整示例javaweb项目fullcalendar日历插件使用的示例代码java制作android 日历代码分享java实现按年月打印日历功能【基于calendar】java calendar日历与date日期的相互转换详解关于java中构造函数的一些知识详解全面剖析java中的注解(annotation)java多种方式动态生成doc文档kotlin基础教程之run,标签label,函数function-typespringboot使用@data注解减少不必要代码详解如何用spring restdocs创建api文档springboot实现fastjson解析json数据的方法springboot 配置提示功能(超详细)java程序员如何编写更好的单元测试的7个技巧经典再现 基于java平台开发坦克大战游戏java使double保留两位小数的多方intellij idea 2020最新激活码(亲java8 十大新特性详解java.net.socketexception: connjava写入文件的几种方法分享java环境变量的设置方法(图文教程java 十六进制与字符串的转换java list用法示例详解java中file类的使用方法java 字符串截取的三种方法(推荐springboot封装jsonutil,cookieutil工具类详解mysql的简易封装以及使用java开发https请求ssl不受信任问题解决方java中构造方法set/get和tostring的使用详java多线程编程之使用runnable接口创建线详解java多线程编程中互斥锁reentrantlocwindows下java调用可执行文件代码实例springboot整合swagger框架过程解析解决myeclipse10.7部署报错抛空指针异常问springmvc下实现登录验证码功能示例
    免责声明 - 关于我们 - 联系我们 - 广告联系 - 友情链接 - 帮助中心 - 频道导航
    Copyright © 2017 www.zgxue.com All Rights Reserved