• 不一样的老苏
    了解作者
  • Java
    开发工具
  • 69KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 778
    下载次数
  • 2008-04-25 09:18
    上传日期
SWT WindowBuilder Pro 完全开发指南
SWTDesigner.rar
  • SWTDesigner.pdf
    79.1KB
  • www.pudn.com.txt
    218B
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b3dc7ff7f9c46a61fd4a5/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b3dc7ff7f9c46a61fd4a5/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">GUI Creation with Eclipse and SWT Designer </div><div class="t m0 x2 h2 y2 ff1 fs0 fc0 sc0 ls1 ws1"> </div><div class="t m0 x3 h2 y3 ff1 fs0 fc0 sc0 ls1 ws1">1.<span class="ff2"> <span class="_ _0"> </span></span><span class="ls2 ws2">Create a new SWT Project. Go to File -&gt; <span class="ls3 ws3">New Project. In the new dialog, choose </span></span></div><div class="t m0 x4 h2 y4 ff1 fs0 fc0 sc0 ls4 ws4">SWT on the left pane and SW<span class="_ _1"></span>T/JFace Java Project in the right pane and click </div><div class="t m0 x4 h2 y5 ff1 fs0 fc0 sc0 ls5 ws5">next. Choose a name for your project and click finish. </div><div class="t m0 x3 h2 y6 ff1 fs0 fc0 sc0 ls1 ws1">2.<span class="ff2"> <span class="_ _0"> </span></span><span class="ls5 ws5">Choose the Java Perspective by going to<span class="ls6 ws6"> Windows -&gt; Perspectives -&gt; Java </span></span></div><div class="t m0 x3 h2 y7 ff1 fs0 fc0 sc0 ls1 ws1">3.<span class="ff2"> <span class="_ _0"> </span></span><span class="ls0 ws0">In the Package Explorer, right-click the project nam<span class="_ _1"></span>e and create a new package. </span></div><div class="t m0 x4 h2 y8 ff1 fs0 fc0 sc0 ls7 ws7">Call the package &#8220;gui.&#8221; This is where <span class="ls8 ws8">all of the GUI related files will go. </span></div><div class="t m0 x3 h2 y9 ff1 fs0 fc0 sc0 ls1 ws1">4.<span class="ff2"> <span class="_ _0"> </span></span><span class="ws9">Right-click the new package and go to new <span class="ls6 ws6">-&gt; other. On the left, choose SWT and </span></span></div><div class="t m0 x4 h2 ya ff1 fs0 fc0 sc0 ls2 wsa">on the right, choose SWT App<span class="ws2">lication. Click next. Name <span class="ls9 wsb">the application Main and </span></span></div><div class="t m0 x4 h2 yb ff1 fs0 fc0 sc0 lsa wsc">click fi<span class="_ _2"></span>nish. </div><div class="t m0 x3 h2 yc ff1 fs0 fc0 sc0 ls1 ws1">5.<span class="ff2"> <span class="_ _0"> </span></span><span class="ls4 wsd">Choose the Design tab at the lower </span>portion of the Main.java file. </div><div class="t m0 x3 h2 yd ff1 fs0 fc0 sc0 ls1 ws1">6.<span class="ff2"> <span class="_ _0"> </span></span><span class="ls5 ws5">Double click the Main.java tab at the top <span class="wse">of the screen to view the application </span></span></div><div class="t m0 x4 h2 ye ff1 fs0 fc0 sc0 lsb ws1">maxi<span class="_ _2"></span>miz<span class="_ _2"></span>ed.<span class="_ _2"></span> </div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐