OMCPane.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:ipst 作者:
/**
 * This method initializes jPanel1
 *
 * @return javax.swing.JPanel
 */
private JPanel getJPanel1() {
    if (jPanel1 == null) {
        label = new Label();
        label.setText("Expression:");
        jPanel1 = new JPanel();
        JPanel jPanelX = new JPanel();
        jPanelX.setLayout(new BoxLayout(jPanelX, BoxLayout.X_AXIS));
        jPanelX.add(label, null);
        jPanelX.add(getJTextField(), null);
        jPanelX.add(getJButton(), null);
        jPanelX.add(getJDemoButton(), null);
        JPanel jPanelY = new JPanel();
        jPanelY.setLayout(new BoxLayout(jPanelY, BoxLayout.Y_AXIS));
        jPanelY.add(jPanelX);
        Label helpLabel = new Label();
        helpLabel.setText("Use <ENTER> or press Send to send the command, <Up>/<Down> keys for command history." +
                " Press Demo for a quick demonstration of available OMC commands.");
        jPanelY.add(helpLabel, null);
        jPanel1.add(jPanelY);
    }
    return jPanel1;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号