eclipse如何运行不同的类 [英] eclipse how to run a different class

查看:276
本文介绍了eclipse如何运行不同的类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的不同类工作,让我们说例如house.java,但绿色播放按钮似乎被锁定一个程序,称为project.java,只有那个程序。我如何告诉Eclipse在除project.java之外的同一文件夹中运行不同的类?

I want to work on my different class lets say for example house.java but the green play button seems to be locked a program called project.java and only that program. how do I tell Eclipse to run a different classes in the same folder besides the project.java?

推荐答案

除了其他答案中提到的方法外,您也可以尝试使用此简短键。

Apart from ways mentioned in the other answers, you can also try this short key.

快捷键:按ALT + SHIFT + X然后按J

Short key : Press ALT + SHIFT + X then J

希望这有帮助。 :)

这篇关于eclipse如何运行不同的类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆