一个简单的计算器

源代码在线查看: panel3d.java

软件大小: 44 K
上传用户: zjf646
关键词: 计算器
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				* File:   		Panel3D.java
				* Description:  Creates a panel with a three dimensional border
				*/
				import java.awt.*;
				
				class Panel3D extends Panel {
					                
				private Border3D border;     //used for drawing the border
				
				//create a full border by default
				public Panel3D() { this( Border3D.FULL_BORDER ); }
				
				public Panel3D( int type )
				{
				  	border = new Border3D( this, type );
				}
					    
				public void paint( Graphics g )
				{
					border.draw3DBorder( g );		
				}
				
				}			

相关资源