在eclipse中导入现有的java项目但JFrame不存在设计视图?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19586578/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Import existing java project in eclipse but design view not exist for JFrame?
提问by Samiey Mehdi
I import existing java project in eclipse:
in eclipse:
1. go to File-> Import
2. General-> Existing Projects into Workspaceand click Next
我在 eclipse 中导入现有的 java 项目:
在 eclipse 中:
1. 转到File-> Import
2. General-> Existing Projects into Workspace并单击Next
3.click on Browseand select project then click on Finish
3.点击浏览并选择项目然后点击完成
then i open a JFrame , but i see source code of JFrame and design tab not exist.
然后我打开一个 JFrame ,但我看到 JFrame 的源代码和设计选项卡不存在。
how to view Design tab?
如何查看设计选项卡?
采纳答案by Samiey Mehdi
Found a solution:
找到了解决办法:
in Package Explorerright click on JFrame file then select Open With-> WindowBuilder Editor
在包资源管理器中右键单击 JFrame 文件,然后选择打开方式-> WindowBuilder Editor
now design tab appeared
现在出现了设计选项卡