当前位置: 代码迷 >> Eclipse >> eclipse中小技艺
  详细解决方案

eclipse中小技艺

热度:7   发布时间:2016-04-23 00:40:19.0
eclipse中小技巧

1)安装Eclipse3.7对应的插件WindowBuilder_v1.1.0   

  (a)把WindowBuilder_v1.1.0_UpdateSite_for_Eclipse3.7\plugins文件夹里面的内容复制到eclipse\plugins,

  (b)把WindowBuilder_v1.1.0_UpdateSite_for_Eclipse3.7\features文件夹里面的内容复制到eclipse\features,就可以了;

  WindowBuilder_v1.1.0_UpdateSite_for_Eclipse3.7的下载地址:http://download.csdn.net/detail/sanqima/7362513

2)Swing JFrame的使用方法:右击Package Explorer-->New-->Other/WindowBulider-->Swing Designer/JFrame--》OK

3)代码对齐

    Ctrl+A-->右击代码区--》Source-->Format

4)设置字体大小

    eclipse工具栏--》Window-->Preferences-->General / Colors and font-->Text Font-->Edit-->

     字体选:Courier New ,字体大小为:12

5)导入工程

    右击eclipse的Package Explorer-->Import --> Existing Project into Workpace-->Browse:Hello工程--》OK

6)导出工程

    右击Hello工程--》Export--》File System-->全选Hello工程--》To directory:C:\Documents and Settings\Administrator\桌面--》OK

7)显示Terminal

   点击Window--》Show Viewer--> Terminal

8)Eclipse中文教程
   下载地址:http://download.csdn.net/detail/sanqima/7363997
9)查看Eclipse的版本
  打开Eclipse根目录下的.eclipseproduct文件,version=
  例如,version=3.7.0,表明版本为3.7

  相关解决方案