上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: package cn.hncu.gui.draw; import java.awt.Canvas;import java.awt.Color;import java.awt.Graphics;import java.awt.Point;import java.awt.event.MouseEvent 阅读全文
posted @ 2016-06-21 15:36 折腾青春 阅读(143) 评论(0) 推荐(0) 编辑
摘要: import java.awt.BorderLayout;import java.awt.Canvas;import java.awt.Color;import java.awt.Graphics;import java.awt.event.ActionEvent;import java.awt.e 阅读全文
posted @ 2016-06-21 15:13 折腾青春 阅读(143) 评论(0) 推荐(0) 编辑
摘要: package cn.hncu.gui.swing; import java.awt.Dialog;import java.awt.FlowLayout;import java.awt.GridLayout;import java.awt.event.ActionEvent;import java. 阅读全文
posted @ 2016-06-21 15:08 折腾青春 阅读(199) 评论(0) 推荐(0) 编辑
摘要: package cn.hncu.gui.swing; import java.awt.BorderLayout;import java.awt.Dimension;import java.awt.GridLayout;import java.awt.event.ActionEvent;import 阅读全文
posted @ 2016-06-21 15:07 折腾青春 阅读(208) 评论(0) 推荐(0) 编辑
摘要: MyEclipse的10个快捷键:Ctrl + Shift + T: 打开类型:显示"打开类型"对话框来在编辑器中打开类型。"打开类型"选择对话框显示工作空间中存在的所有类型如类、接口 等。Ctrl + Shift + R: 打开资源:打开"打开资源"对话框以打开工作空间中的任何资源。在Packag 阅读全文
posted @ 2016-06-21 14:52 折腾青春 阅读(3427) 评论(0) 推荐(0) 编辑
摘要: package System.桌面; //例6.07 四叶玫瑰线的图形设计。使用JColorChooser组件 import java.awt.*;import java.awt.event.*;import javax.swing.*; public class RoseJFrame extend 阅读全文
posted @ 2016-06-21 14:14 折腾青春 阅读(314) 评论(0) 推荐(0) 编辑
摘要: import java.util.Calendar; public class CalendarDemo{ public static void main(String[] args) { Calendar c=Calendar.getInstance(); System.out.println(c 阅读全文
posted @ 2016-06-21 14:09 折腾青春 阅读(130) 评论(0) 推荐(0) 编辑
摘要: import java.awt.*;public class GridFlowout extends Frame { public GridFlowout (String str){ {setTitle(str); setBackground(Color.cyan); setLocation(100 阅读全文
posted @ 2016-06-21 14:06 折腾青春 阅读(102) 评论(0) 推荐(0) 编辑
摘要: import java.awt.*; public class FrameHelo extends Frame{ public FrameHelo(String str) {super(str); setTitle(str); setBackground(Color.green); setLocat 阅读全文
posted @ 2016-06-21 14:04 折腾青春 阅读(129) 评论(0) 推荐(0) 编辑
摘要: import java.awt.FlowLayout;import java.awt.GridLayout;import java.awt.Label;import java.awt.Panel;import java.awt.TextField;import java.awt.event.Acti 阅读全文
posted @ 2016-06-21 14:02 折腾青春 阅读(248) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页