点击切换搜索课件文库搜索结果(415)
文档格式:PPT 文档大小:498KB 文档页数:46
一、使用不同的用户界面组件: JButton, JCheckBox, 二、JRadioButton, JLabel, JTextField, JTextArea, 三、JComboBox, JList, JScrollBar, and JSlider. 四、为不同的事件类型创建监听器 五、使用边框在外观上分类组织用户界面组件 六、使用ImageIcon类创建图像图标 七、在一个应用程序中显示多个窗口
文档格式:PPT 文档大小:685.5KB 文档页数:24
一、定义封装及其优点 二、掌握publicprivate和的使用 三、编写封装私有成员的代码 四、掌握构造器的用途和编写
文档格式:PPT 文档大小:638KB 文档页数:30
面向对象(Object-Oriented)技术体现了计算机程序设计的 一种思想,这种技术体现在具体的开发语言中,如Java语 言。一种语言完全或部分的以面向对象的思想设计和实现 本节既然是导论,目的是希望读者对面向对象编程具有初 步认识,当然这需要具体内容来介绍。面向对象技术主要 体现在面向对象的思想,进而讨论类和对象(类的实体), 而继承、多态、封装又是面向对象思想不可替代的优势体 现,所以本章将对面向对象的主要内容做细致的讲解,该 章是面向对象程序设计的基础,具有抽象性的特点,但是 只有确实理解和把握了这些思想才能更好的利用Java语言 进行程序设计和代码的编写
文档格式:DOC 文档大小:24.5KB 文档页数:1
1.编写一个程序,用于将来自用户的两个数字接受为命令行参数。将第一个数字除以第二 个数字并显示结果。代码应当处理引发的异常即在输入的参数数量不是两个或用户输 入0作为第二个参数时引发的异常。 提示: 使用两个 catch语句,一个用于捕获ArrayIndexOutofBound异常,而另 一用于捕获 ArithmeticException异常
文档格式:PPT 文档大小:209KB 文档页数:51
一、面向对象程序设计的基本概念; 二、类的创建; 三、对象实例化; 四、访问属性控制; 五、静态成员; 六、final,this和null; 七、包; 八、综合应用示例
文档格式:PPT 文档大小:796.5KB 文档页数:55
要创建一个用户界面,需要创建一个框架或 applet来存放用户界面组件。applet后面章节 会读到,本章节介绍创建框架的过程
文档格式:PPT 文档大小:535.5KB 文档页数:40
一、使用组件JMenuBar、 JMenu 、 JMenuItem、JCheckBoxMenuItem和JRadioButtonMenuItem 创建菜单。 二、使用组件JPopupMenu、JMenuItem、JCheckBoxMenuItem和JRadioButtonMenuItem创建弹出式菜单。 三、使用JToolBar类创建工具栏。 四、使用Action对象生成处理行为事件的代码 五、使用JOptionPane类创建标准对话框 六、扩展JDialog类来创建自定义对话框 七、使用JColorChooser类选择颜色。 八、使用JFileChooser类显示Open File和Save File对话框
文档格式:PPT 文档大小:163KB 文档页数:13
银行模型实际上是一个对帐户进行操作的计算机 ,并且这个帐户是独立存储的。每名职员都直接与 银行通信。 在银行模型程序中,定义以下五个类表示银行操 作: Bank类,表示银行计算机
文档格式:PPT 文档大小:1.21MB 文档页数:48
⚫ To become familiar with the process of program development (§10.2). ⚫ To the relationship types: association, aggregation, composition, strong inheritance, and weak inheritance (§10.3). ⚫ To declare classes to represent the relationships among the classes (§10.3). ⚫ To design systems by identifying the classes and discovering the relationships among these classes (§10.4). ⚫ To implement the Rational class and process rational numbers using this class (§10.5). ⚫ To design classes that follow the class-design guidelines (§10.6). ⚫ To model dynamic behavior using sequence diagrams and statechart diagrams (§10.7 Optional) ⚫ To know the concept of framework-based programming using Java API (§10.8)
文档格式:PPT 文档大小:1.38MB 文档页数:65
⚫ To distinguish simple GUI components (§11.2). ⚫ To describe the Java GUI API hierarchy (§11.3). ⚫ To create user interfaces using frames, panels, and simple UI components (§11.4). ⚫ To understand the role of layout managers (§11.5). ⚫ To use the FlowLayout, GridLayout, and BorderLayout managers to layout components in a container (§11.5). ⚫ To specify colors and fonts using the Color and Font classes (§11.6-11.7). ⚫ To use JPanel as subcontainers (§11.8). ⚫ To paint graphics using the paintComponentmethod on a panel (§11.9). ⚫ To draw strings, lines, rectangles, ovals, arcs, and polygons using the drawing methods in the Graphics class (§11.9). ⚫ To center display using the FontMetricsClass (§11.10). ⚫ To develop a reusable component MessagePanel to display a message on a panel (§11.11). ⚫ To develop a reusable component StillClock to emulate an analog clock (§11.12 Optional)
首页上页3435363738394041下页末页
热门关键字
搜索一下,找到相关课件或文库资源 415 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有