Graphics 绘图类: 提供两个方法。Paint (绘图,被系统自动调用) repaint(重绘)Paint 调用原理(1.窗口最大化,再最小化窗口的大小发生变化Repaint函数被调用)package com.sunzhiyan;import java.awt.*;import javax.s...
分类:
编程语言 时间:
2014-07-11 18:49:34
阅读次数:
186
一提到计算机,当然现在更多人把她叫做电脑,这两个词都是指computer。不管什么,只要提到她,普遍都会想到她能够比较快地做加减乘除,甚至乘方开方等。乃至于,有的人在口语中区分不开计算机和计算器。
那么,做为零基础学习这,也就从计算小学数学题目开始吧。因为从这里开始,数学的基础知识列为肯定过关了。
复习
还是先来重温一下伟大时刻,打印hello world.
打开电脑,...
分类:
编程语言 时间:
2014-07-10 17:13:17
阅读次数:
447
VBS 选择文件夹框1234567891011121314151617181920212223on error resume NextConstMY_COMPUTER=&H11&ConstWINDOW_HANDLE=0ConstOPTIONS=0'设置我的电脑为根目录SetobjShell=Crea...
分类:
其他好文 时间:
2014-07-10 16:51:54
阅读次数:
221
1、错误描述
The 'org.eclipse.jdt.ui.JavaAllCompletionProposalComputer' proposal computer from 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension took too long to return from the 'c...
分类:
系统相关 时间:
2014-07-09 10:25:44
阅读次数:
951
BACKGROUNDThis disclosure relates generally to the field of computer graphics. More particularly, but not by way of limitation, it relates to techniqu...
分类:
其他好文 时间:
2014-07-08 22:52:36
阅读次数:
254
public class ResonpeRandomImgDemo extends HttpServlet { int width=100; int height=30;public void doGet(HttpServletRequest request, HttpServletResponse...
分类:
其他好文 时间:
2014-07-08 22:34:56
阅读次数:
262
Visual Studio 2013 与 14
如果
Install Visual Studio on the same computer as Visual Studio in 2013 "14" when CTP 14.0.21730.1 DP, a number of known issues.
While we expect that the Visual Stu...
分类:
其他好文 时间:
2014-07-08 16:09:04
阅读次数:
196
通过文字界面登陆到系统,切换到root权限。
用vi打开 /boot/grub/menu.lst 文件 ,由于menu.lst是grub.conf文件的快捷方式,最终打开的还是grub.conf文件。 vi /boot/grub/menu.lst
打开后文件如下所示,在kenel下中添加下面红色部分 vga=791
vga 是Video Graphics ...
分类:
其他好文 时间:
2014-07-08 14:39:26
阅读次数:
211
The Game
Description
One morning, you wake up and think: "I am such a good programmer. Why not make some money?'' So you decide to write a computer game.
The game takes place on a rectangular...
分类:
其他好文 时间:
2014-07-06 09:02:34
阅读次数:
287
λ表达式的基本用途
回调与Java8的λ表达式 说明了Java8的λ表达式的基本用途:完成了回调的原意——代码的参数化。
回调:可以简单地说,如果你的方法需要override底层或JDK的某个类的方法,而且你从来没有自己调用过,则该方法就是回调。例如Applet定义的init()、start()、stop()和destroy();图形绘制方法paint(Graphics)、update(Gra...
分类:
编程语言 时间:
2014-07-05 23:33:43
阅读次数:
338