使用Eclipse Window Builder创建SWING应用 [英] Creating a SWING app with Eclipse Window Builder

查看:60
本文介绍了使用Eclipse Window Builder创建SWING应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac上使用Eclipse Indigo.我只是设置了Window Builder工具,但是由于某种原因,我无法使用它创建一个新项目.我选择了Swing Designer->应用程序窗口"选项,另一个窗口弹出并询问我源文件夹,项目名称等.但是当我尝试在源文件夹中键入名称时,它说找不到文件,并且当我尝试浏览时没有其他选择.有谁知道发生了什么事吗?谢谢

I am using Eclipse Indigo on Mac. I just set up the Window Builder tool however for some reason I can not create a new project with it. I select the Swing Designer -> Application Window option another window pops up and asks me for the source folder, project name etc. but when I try to type a name in the source folder it says file cannot be found and when I try to browse there is nothing to select. Does anyone have an idea about whats going on ? thanks

推荐答案

您必须创建一个Java项目,然后必须创建一个源文件夹和一个包,之后,您可以在Package Explorer中选择创建的包,然后从WindowBuilder菜单创建一个新的Application Window或JFrame.

You have to create a Java project then you have to create a source folder and a package, after doing that you can select the created package on the Package explorer and create a new Application Window or JFrame from WindowBuilder menu.

这篇关于使用Eclipse Window Builder创建SWING应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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