您的位置:首页 > 手机 >

求助:高人帮忙编一下下面的程序(英文) ?

日期:2008-06-24 13:28:33 点击: 来自: 作者:


create a complete drawing program that can executeas both an applet and an application. the program should use the GUI components to enable the user to select the shape, color and fill characteristics. each shape should be stored in an array of MyShape objects, where MyShape is the superclass in your hierarchyof shape classes. use a JDesktopPane and JInternalFrames to allow the the user to create multiple seperate drawings in seperate child windows. create the user interface as a seperate child window containing all the GUI components that allow the user to determine the characteristics of the shape to be drawn.the user can then click in any JInternalFrame to draw the shape.
谢谢!
————————————————

建立完整的绘图程序,可以executeas既是Applet与应用程序。该程序应使用的GUI组件,使用户选择的形状,颜色和填写的特点。每个形状应存放在数组myshape对象,其中myshape是超在您的hierarchyof形状班。使用jdesktoppane和jinternalframes允许用户创建多个单独的图纸在单独的子窗口。创建用户界面作为一个单独的子窗口包含所有的GUI组件,允许用户以确定特征的形状要drawn.the用户可以然后单击在任何jinternalframe提请形状。

相关链接 Correlation Link
手机热门 Class Hot
手机推荐 Class Commend
版权所有:网站名称 2005- 未经授权禁止复制或建立镜像 This Site Tech:XHTML+DIV+CSS+Javascript
CopyRight ® 2005- www.tlxf.net online services. all rights reserved. ICP08004161
Optimized to 1024x768 to Firefox,Netscape,Opera,MS-IE6+.