- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 Test Latex
N-L 公式 ∫ b a f(x)dx=F(x)| b a ∫abf(x)dx=F(x)|ab\int_a^b f(x)dx=F(x)|_a^b and ∑ i=1 n i=n(n+1)2 (14) (14)∑i=1ni=n(n+1)2\begin{equat...
2018-05-18 20:16:55
146
原创 [Java笔记]之Concurrency
1.Steps for creating a thread: Place the code for the task into the run method of a class that implements the Runnable interface.Construct a Thread object from the Runnable. Threat t=new Thread(
2017-11-05 12:18:31
182
原创 [Java读书笔记]之Swing
Chapter 12 in Core Java 1. The defalut layout of JFrame is Borderlayout, and extended to the boundary automatically. 2. The default layout of JPanel is FlowLayout, and centered automatically. 3.
2017-11-05 11:10:52
293
原创 基于MVC架构的GUI设计
问题背景 复杂的GUI设计需要良好的框架结构,在阅读一些游戏源码时,看到有些ugly的设计,十分不爽,本文主要探讨gui 项目的模型(model)视图(view)控制器(Controller)的分配与布置。 问题的解决方法和思路 (1) View:主类 继承 JFrame (2) Model:主类私有成员为,在主类的构造函数中初始化 (3)Control
2017-11-03 14:23:37
1896
原创 【paint和paintComponent的区别,兼谈Canvas和JPanel】
问题背景 最近抽时间读了《Core Java》10th edition, 在Graphics Programming中讲到显示message,只需要override组件的paintComponent方法,而在阅读另外一本《Java 2D游戏编程入门》时,作者直接使用paint方法,并非paintComponent, 对于二者的区别,不甚了解,网上有很多关于此话题的分析版本,看的一头雾水,
2017-11-03 13:53:41
1290
利用java开发点阵字体显示系(ASCII码字库的显示)
2013-10-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人