国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
swing/swt可視化開發(fā)工具windowbuilder免費(fèi)了 - pengo - Bl...
windowbuilder,也就是原來的SWT Designer。Google收購了Instantiations,把它的工具也重新免費(fèi)發(fā)布了。
用過swt designer的人都知它是非常好用的swing/swt可視化開發(fā)工具,有了它,swing/swt也可以像visual studio一樣拖拉控件寫程序(雖然netbean也可以,不過沒怎用),可惜是個(gè)收費(fèi)產(chǎn)品,后來把改名為windowbuilder。不過Google把這個(gè)工具的開發(fā)公司Instantiations收購了,并把這個(gè)產(chǎn)品免費(fèi)發(fā)布。Google收購Instantiations是為了給它的GWT設(shè)計(jì)開發(fā)工具,據(jù)說也是為了它的Anroid搞開發(fā)工具(......)。
安裝地址:http://code.google.com/intl/zh-CN/webtoolkit/tools/download-wbpro.html
安裝windowbuilder很方便,不過通過Eclipse的Update方式安裝這個(gè)插件,eclipse的windowbuilder更新地址:
Eclipse 3.6 (Helios)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.6
Eclipse 3.5 (Galileo)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.5
Eclipse 3.4 (Ganymede)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.4

打開Eclipse,打開菜單Help→Install New Software,單擊Work with后的Add按鈕,輸入與你Eclipse對(duì)應(yīng)版本的更新地址,我的是3.5版本


單擊確定后,就可以在列表中看到相關(guān)的安裝文件。點(diǎn)擊next一路安裝下去。

安裝完成后,重啟Eclipse,點(diǎn)擊File→New→Project...



新建JFrame






生成的代碼也很干凈
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.UIManager;


public class MianFrame extends JFrame {

    
private JPanel contentPane;
    
private JTextField textField;
    
private JTextField textField_1;

    
/**
     * Launch the application.
     
*/

    
public static void main(String[] args) {
        
try {
            UIManager.setLookAndFeel(
"com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
        }
 catch (Throwable e) {
            e.printStackTrace();
        }

        EventQueue.invokeLater(
new Runnable() {
            
public void run() {
                
try {
                    MianFrame frame 
= new MianFrame();
                    frame.setVisible(
true);
                }
 catch (Exception e) {
                    e.printStackTrace();
                }

            }

        }
);
    }


    
/**
     * Create the frame.
     
*/

    
public MianFrame() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setBounds(
100100450300);
        contentPane 
= new JPanel();
        contentPane.setBorder(
new EmptyBorder(5555));
        setContentPane(contentPane);
        contentPane.setLayout(
null);
        
        JLabel label 
= new JLabel("\u7528\u6237\u540D");
        label.setBounds(
79335415);
        contentPane.add(label);
        
        textField 
= new JTextField();
        textField.setBounds(
1433020621);
        contentPane.add(textField);
        textField.setColumns(
10);
        
        JLabel label_1 
= new JLabel("\u5BC6  \u7801");
        label_1.setBounds(
79895415);
        contentPane.add(label_1);
        
        textField_1 
= new JTextField();
        textField_1.setBounds(
1438620621);
        contentPane.add(textField_1);
        textField_1.setColumns(
10);
        
        JButton btnNe 
= new JButton("\u767B\u9646");
        btnNe.addActionListener(
new ActionListener() {
            
public void actionPerformed(ActionEvent e) {
            }

        }
);
        btnNe.setBounds(
1071559323);
        contentPane.add(btnNe);
        
        JButton button_1 
= new JButton("\u5173\u95ED");
        button_1.setBounds(
2431559323);
        contentPane.add(button_1);
    }

}


評(píng)論

# re: swing/swt可視化開發(fā)工具windowbuilder免費(fèi)了  回復(fù)  更多評(píng)論   

2010-09-20 12:44 by Unmi
終于是免費(fèi)了,再也不用四處去找尋破解,感謝 Google,不是 Party。
生成的代碼還是插干凈的,可視化的編程方式就是不愿意看到生成一大堆的適配代碼。

# re: swing/swt可視化開發(fā)工具windowbuilder免費(fèi)了  回復(fù)  更多評(píng)論   

2010-09-20 13:34 by 日月雨林@gmail.com
和NetBeans 生成的代碼沒什么區(qū)別啊。不過可選的外觀和布局方式比NetBeans 多。

# re: swing/swt可視化開發(fā)工具windowbuilder免費(fèi)了  回復(fù)  更多評(píng)論   

2010-09-20 17:32 by louis vuitton bag
甚是感謝。。。。。不錯(cuò)不錯(cuò),,值得贊賞@!


http://www.jewellerybeadsale.com/
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
eclipse的可視化編程插件windowbuilder,也就是原來的SWT Designer
java – Timer正在嘗試轉(zhuǎn)換為String
【第69題】JAVA高級(jí)技術(shù)-多線程3(查看和修改線程優(yōu)先級(jí))
用Java編寫的標(biāo)準(zhǔn)計(jì)算器、科學(xué)計(jì)算器、時(shí)間轉(zhuǎn)換。
JR - 精品文章 - JAVASWING學(xué)習(xí)筆記(清華大學(xué))
用javascript編寫swing程序
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服