• 大小: 92KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-09
  • 语言: Java
  • 标签: Java  课设  叶核亚  

资源简介

该资源是本人学习Java课程时的课程设计源代码,走迷宫图形用户界面实现良好,验收通过,可供学习和参考

资源截图

代码片段和文件信息

package 走迷宫;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import java.io.*;
public class Building extends JPanel
{
boolean isRoadisWallisInisOuthavePassed;
MazePoint point;
File wallImageroadImagepersonImage;
Toolkit tool;
Building()
{
tool=getToolkit();
}

public void setIsIn(boolean b)
{
isIn=b;
if(isIn==true)
this.add(new JLabel(“入口“));
}
public boolean getIsIn()
{
return isIn;
}

public void setIsOut(boolean b)
{
isOut=b;
if(isOut==true)
this.add(new JLabel(“出口“));
}
public boolean getIsOut()
{
return isOut;
}

public void setIsRoad(boolean b)
{
isRoad=b;
if(isRoad==true)
this.setBorder(new SoftBevelBorder(BevelBorder.RAISED));//斜面凸边框
}
public boolean getIsRoa

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-07-03 11:02  走迷宫\
     文件         301  2018-06-19 15:48  走迷宫\.classpath
     文件         385  2018-06-19 15:48  走迷宫\.project
     目录           0  2018-06-19 15:48  走迷宫\.settings\
     文件         598  2018-06-19 15:48  走迷宫\.settings\org.eclipse.jdt.core.prefs
     目录           0  2018-06-19 16:04  走迷宫\bin\
     目录           0  2018-06-29 08:21  走迷宫\bin\走迷宫\
     文件        3091  2018-06-29 16:02  走迷宫\bin\走迷宫\Building.class
     文件         854  2018-06-28 22:39  走迷宫\bin\走迷宫\ExtensionFileFilter.class
     文件         574  2018-06-29 15:15  走迷宫\bin\走迷宫\FilenameFilter.class
     文件        4469  2018-07-05 11:57  走迷宫\bin\走迷宫\Maze.class
     文件        5158  2018-07-03 11:01  走迷宫\bin\走迷宫\MazeJframe.class
     文件        1198  2018-06-29 16:11  走迷宫\bin\走迷宫\MazePoint.class
     文件        4147  2018-06-29 15:58  走迷宫\bin\走迷宫\Operate.class
     文件        1518  2018-07-05 08:47  走迷宫\bin\走迷宫\Player.class
     文件        4723  2018-06-25 09:57  走迷宫\road.jpg
     目录           0  2018-06-19 16:04  走迷宫\src\
     目录           0  2018-06-29 08:21  走迷宫\src\走迷宫\
     文件        1817  2018-06-29 16:02  走迷宫\src\走迷宫\Building.java
     文件         527  2018-06-28 22:39  走迷宫\src\走迷宫\ExtensionFileFilter.java
     文件         227  2018-06-29 15:15  走迷宫\src\走迷宫\FilenameFilter.java
     文件        3250  2018-07-05 11:57  走迷宫\src\走迷宫\Maze.java
     文件        3999  2018-07-03 11:01  走迷宫\src\走迷宫\MazeJframe.java
     文件         653  2018-06-29 16:11  走迷宫\src\走迷宫\MazePoint.java
     文件        2671  2018-06-29 15:58  走迷宫\src\走迷宫\Operate.java
     文件        1396  2018-07-05 08:47  走迷宫\src\走迷宫\Player.java
     文件       52722  2018-06-18 15:11  走迷宫\wall.jpg
     文件          46  2018-07-05 11:58  走迷宫\中等.txt
     文件        5614  2018-06-25 11:12  走迷宫\再来一次.jpg
     文件          84  2018-06-19 16:42  走迷宫\复杂.txt
     文件       14476  2018-06-19 16:53  走迷宫\小黄鸭.jpg
............此处省略1个文件信息

评论

共有 条评论