摘要:
3.1窗口、面板 package com.zishi.lesson04;import javax.swing.*;import java.awt.*;public class JFrameDemo { //init();初始化 public void init(){ //顶级窗口 JFrame 阅读全文
摘要:
窗口监听事件 package com.zishi.lesson03;import java.awt.*;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;public class TestWindow { 阅读全文
摘要:
画笔、鼠标监听 ```javapackage com.zishi.lesson03; import java.awt.*;import java.awt.event.MouseAdapter;import java.awt.event.MouseEvent;import java.util.Arra 阅读全文
摘要:
画笔paint package com.zishi.lesson03;import java.awt.*;public class TestPaint { public static void main(String[] args) { new MyPaint().loadFrame(); }} 阅读全文
摘要:
简易计算器+组合和内部 package com.zishi.lesson02;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;//简易计算器public class 阅读全文
摘要:
简易计算器 package com.zishi.lesson02;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;//简易计算器public class TestCa 阅读全文
摘要:
输入框事件监听TestFiled package com.zishi.lesson02;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;public class Te 阅读全文
摘要:
package com.zishi.lesson02;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.WindowAdapt 阅读全文
摘要:
布局的小demo package com.zishi.lesson01;import java.awt.*;//练习demopublic class TestLayout { public static void main(String[] args) { Frame frame = new Fr 阅读全文
摘要:
三种布局管理器 流式布局 ```javapackage com.zishi.lesson01; import java.awt.*; public class TestFlowLayout { public static void main(String[] args) { Frame frame 阅读全文