[英]Eclipse does not Display Swing Components Correctly
I am using Eclipse and Visual Editor (VE) for Eclipse: 我正在使用Eclipse和Eclipse的Visual Editor(VE):
After several days of working on an GUI the VE WYSIWYG view does not display new components in the foreground. 在GUI上工作几天后,VE WYSIWYG视图不会在前台显示新组件。 When I restart Eclipse the graphical components are shown as rectangles 当我重新启动Eclipse时,图形组件显示为矩形
When I "rollback" to a previous version of my files (incl. Eclipse workspace meta files) everything is Ok (after F5 synchronization) till it happens again. 当我“回滚”到文件的先前版本(包括Eclipse工作区元文件)时,一切正常(在F5同步之后),直到再次发生。 The application runs fine and all components are displayed correctly. 该应用程序运行正常,所有组件均正确显示。
Does anybody experienced something similar? 有人经历过类似的事情吗?
I second recommendation to stay away from VE. 我第二个建议是远离VE。 It is a project that seems to continuously have issues. 这个项目似乎一直存在问题。
For a well regarded form designer, see Window Builder which was until recently a commercial product that made its creators (Instantiations) quite a bit of cash (see well regarded). 对于一个受人尊敬的表单设计师,请参阅Window Builder,它直到最近才是一种商业产品,它的创造者(Instantiations)赚了很多钱(见受人尊敬的)。 Google has recently acquired Instantiations and contributed the editor to the open source community. Google最近收购了Instantiations,并将该编辑器贡献给了开源社区。
http://www.eclipse.org/windowbuilder/ http://www.eclipse.org/windowbuilder/
I had issues with that visual editor too time ago. 太早以前我与那个可视化编辑器有关的问题。 If you dont have to use an integrated tool i would highly recomend to avoid Visual Editor, and instead use JFormDesigner. 如果您不必使用集成工具,我强烈建议您避免使用Visual Editor,而应使用JFormDesigner。 Its not free, but you can have a look at the trial and if you like it maybe you could pay for it, download for free or whatever. 它不是免费的,但是您可以查看试用版,如果您喜欢它,也许您可以付费购买,免费下载或其他。 I use it for my swings often, it is very intuitive and easy to use. 我经常在秋千上使用它,它非常直观且易于使用。
Link: http://www.formdev.com/ 链接: http : //www.formdev.com/
PS Also you can integrate this tool with eclipse. PS另外,您也可以将此工具与eclipse集成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.