在我的eclipse上,我安装了swt Design 4。我用其建了一个工程项目来进行开发,这时,每个页面都有代码和设计2个页面。当我把这个工程项目从一台计算机上放到另外一台计算机上开发的时候,设计页面不见了.只有代码页面.请问我怎么样才能使这个设计页面也可以显示,方便自己的设计.

解决方案 »

  1.   

    因为SWT并不是JDK里面带的包,所以没有装SWT的电脑是看不到你用SWT开发出来的程序的界面的
      

  2.   

    两台电脑我都安转了swt包的,都安装了同样的swt Designer。运行的界面都一样,只是设计时看不到设计时的界面而已。我希望在另为那台电脑上也能够看到设计时的设计界面.
      

  3.   

    If you don’t see “Designer” in the list of plugins:Check that you have installed the correct version of Designer for the version of Eclipse/WSAD that you are using.
      
    Check for error messages in file:     $ECLIPSE$\workspace\.metadata\.log 
      
    Shutdown Eclipse, delete this file, start Eclipse again, and try to use Designer.  
    This process will remove old error messages and only include messages about the Designer or Eclipse loading process in the file listed above.. 
      
    Include the "-clean" option on the command line that starts up Eclipse 3.x. This causes Eclipse 3.x to recache all of its plug-in information on startup so that new and revised tools. Once the plug-in information has been recached and Designer appears as expected, you can remove the "-clean" option. 
      

  4.   

    晕,还是自己解决了。解决办法:
    在eclipse的gui项目中,指向要打开的java文件;
    然后open with->designer Editor就可以了;
    换了机器后,默然打开方式是java Editor.
    呵呵
      

  5.   

    swt Design 4这插件效果啥样