摘要: package com.itheima; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class JFrame11 { public sta 阅读全文
posted @ 2022-10-29 23:38 NiceTwocu 阅读(23) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame10 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("考勤查询" 阅读全文
posted @ 2022-10-29 23:22 NiceTwocu 阅读(29) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame09 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("考勤查询" 阅读全文
posted @ 2022-10-29 23:09 NiceTwocu 阅读(32) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame08 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("猜数字游戏 阅读全文
posted @ 2022-10-29 22:55 NiceTwocu 阅读(34) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame07 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("聊天室") 阅读全文
posted @ 2022-10-29 22:40 NiceTwocu 阅读(42) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame06 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("聊天室") 阅读全文
posted @ 2022-10-29 22:30 NiceTwocu 阅读(41) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame05 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("用户登录" 阅读全文
posted @ 2022-10-29 22:18 NiceTwocu 阅读(21) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame04 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("我爱大郎" 阅读全文
posted @ 2022-10-29 21:58 NiceTwocu 阅读(9) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame03 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("窗口中添加 阅读全文
posted @ 2022-10-29 21:26 NiceTwocu 阅读(156) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class JFrame02 { public static void main(String[] args) { // 构造窗体对象 JFrame jf=new JFrame(); // 给窗口设置 阅读全文
posted @ 2022-10-29 21:10 NiceTwocu 阅读(33) 评论(0) 推荐(0) 编辑
摘要: #创建一个最基本的窗体 package com.itheima; import javax.swing.*; public class JFrame01 { public static void main(String[] args) { // JFrame()构造一个不可见的新窗体 JFrame 阅读全文
posted @ 2022-10-29 20:59 NiceTwocu 阅读(18) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029204316242-238405801.png) ![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029204625485-1787782229.png) ![i 阅读全文
posted @ 2022-10-29 20:49 NiceTwocu 阅读(12) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import java.util.Random; import java.util.Scanner; public class Scanner04 { public static void main(String[] args) { //使用Random获取 阅读全文
posted @ 2022-10-29 18:10 NiceTwocu 阅读(31) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import java.util.Random; /* Random的基本使用 */ public class Scanner03 { public static void main(String[] args) { //Random():创建一个新的随机数 阅读全文
posted @ 2022-10-29 17:52 NiceTwocu 阅读(179) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import java.util.Scanner; public class Scanner02 { public static void main(String[] args) { //创建Scanner对象录入数据对象 Scanner sc = new 阅读全文
posted @ 2022-10-29 17:25 NiceTwocu 阅读(306) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import java.util.Scanner; /* Scanner的基本使用 */ public class Scanner01 { public static void main(String[] args) { //创建Scanner对象 Scan 阅读全文
posted @ 2022-10-29 17:18 NiceTwocu 阅读(21) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029170600000-277344279.png) 阅读全文
posted @ 2022-10-29 17:06 NiceTwocu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; import java.util.Random; public class shuzu09 { public static void main(String[] args) { //创建窗体对象 JFrame jf 阅读全文
posted @ 2022-10-29 15:15 NiceTwocu 阅读(25) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; import javax.swing.*; public class shuzu08 { public static void main(String[] args) { //创建窗体对象 JFrame jf=new JFrame(); jf.setTitl 阅读全文
posted @ 2022-10-29 15:04 NiceTwocu 阅读(41) 评论(0) 推荐(0) 编辑