コード例 #1
0
 /**
  * This method initializes jPanel_ExplArea2
  *
  * @return javax.swing.JPanel
  */
 private JPanel getJPanel_ExplArea2() {
   if (jPanel_ExplArea2 == null) {
     jLabal_SubExpl = new ExtendedLabel();
     jLabal_SubExpl.setText("");
     jLabal_SubExpl.setFont(new Font("Dialog", Font.PLAIN, 14));
     GridLayout gridLayout1 = new GridLayout();
     gridLayout1.setRows(2);
     jPanel_ExplArea2 = new JPanel();
     jPanel_ExplArea2.setName("jPanel4");
     jPanel_ExplArea2.setLayout(gridLayout1);
     jPanel_ExplArea2.add(jLabel_MainExpl, null);
     jPanel_ExplArea2.add(jLabal_SubExpl, null);
   }
   return jPanel_ExplArea2;
 }
コード例 #2
0
 /**
  * This method initializes jPanel_NaviArea
  *
  * @return javax.swing.JPanel
  */
 private JPanel getJPanel_NaviArea() {
   if (jPanel_NaviArea == null) {
     CardLayout cardLayout2 = new CardLayout();
     cardLayout2.setHgap(10);
     cardLayout2.setVgap(10);
     jLabel_MainExpl = new ExtendedLabel();
     jLabel_MainExpl.setText("ユーザ情報を登録します。");
     jLabel_MainExpl.setFont(new Font("Dialog", Font.PLAIN, 14));
     jLabel_MainExpl.setName("jLabel1");
     jLabel_Title = new ExtendedLabel();
     jLabel_Title.setText("ユーザ情報登録");
     jLabel_Title.setFont(new Font("Dialog", Font.PLAIN, 18));
     jLabel_Title.setBackground(new Color(153, 204, 255));
     jLabel_Title.setForeground(new Color(51, 51, 51));
     jLabel_Title.setOpaque(true);
     jLabel_Title.setName("jLabel");
     jPanel_NaviArea = new JPanel();
     jPanel_NaviArea.setLayout(cardLayout2);
     jPanel_NaviArea.add(getJPanel_TitleArea(), getJPanel_TitleArea().getName());
   }
   return jPanel_NaviArea;
 }
コード例 #3
0
  /**
   * This method initializes jPanel
   *
   * @return javax.swing.JPanel
   */
  private JPanel getJPanel_DrawArea() {
    if (jPanel_DrawArea == null) {

      /* フィールド設定 */
      GridBagConstraints gridBagConstraints11 = new GridBagConstraints();
      gridBagConstraints11.fill = GridBagConstraints.HORIZONTAL;
      gridBagConstraints11.gridx = 1;
      gridBagConstraints11.gridy = 0;
      gridBagConstraints11.weightx = 1.0;

      GridBagConstraints gridBagConstraints14 = new GridBagConstraints();
      gridBagConstraints14.fill = GridBagConstraints.HORIZONTAL;
      gridBagConstraints14.gridx = 1;
      gridBagConstraints14.gridy = 1;
      gridBagConstraints14.weightx = 1.0;

      GridBagConstraints gridBagConstraints15 = new GridBagConstraints();
      gridBagConstraints15.fill = GridBagConstraints.BOTH;
      gridBagConstraints15.gridx = 1;
      gridBagConstraints15.gridy = 2;
      gridBagConstraints15.gridwidth = 3;

      /* ラベル設定 */
      GridBagConstraints gridBagConstraints = new GridBagConstraints();
      gridBagConstraints.anchor = GridBagConstraints.WEST;
      gridBagConstraints.gridx = 0;
      gridBagConstraints.gridy = 0;

      GridBagConstraints gridBagConstraints12 = new GridBagConstraints();
      gridBagConstraints12.anchor = GridBagConstraints.WEST;
      gridBagConstraints12.gridx = 0;
      gridBagConstraints12.gridy = 1;

      GridBagConstraints gridBagConstraints13 = new GridBagConstraints();
      gridBagConstraints13.anchor = GridBagConstraints.WEST;
      gridBagConstraints13.gridx = 0;
      gridBagConstraints13.gridy = 2;

      jLabel = new ExtendedLabel();
      jLabel.setText("ユーザ名");
      jLabel.setFont(new Font("Dialog", Font.PLAIN, 12));
      jLabel1 = new ExtendedLabel();
      jLabel1.setText("パスワード");
      jLabel1.setFont(new Font("Dialog", Font.PLAIN, 12));
      jLabel3 = new ExtendedLabel();
      jLabel3.setText("権限");
      jLabel3.setFont(new Font("Dialog", Font.PLAIN, 12));

      jPanel_DrawArea = new JPanel();
      jPanel_DrawArea.setLayout(new GridBagLayout());
      jPanel_DrawArea.setName("jPanel_DrawArea");
      jPanel_DrawArea.add(jLabel, gridBagConstraints);
      jPanel_DrawArea.add(jLabel1, gridBagConstraints12);
      jPanel_DrawArea.add(jLabel3, gridBagConstraints13);

      jPanel_DrawArea.add(getJTextField_UserName(), gridBagConstraints11);
      jPanel_DrawArea.add(getJPasswordField_Password(), gridBagConstraints14);
      jPanel_DrawArea.add(getJComboBox_Grant(), gridBagConstraints15);
    }
    return jPanel_DrawArea;
  }