List of usage examples for java.awt GridBagConstraints EAST
int EAST
To view the source code for java.awt GridBagConstraints EAST.
Click Source Link
From source file:edu.harvard.mcz.imagecapture.SpecimenDetailsViewPane.java
/** * This method initializes jPanel, laying out the UI components. * //w w w.ja v a 2 s .co m * @return javax.swing.JPanel */ private JPanel getJPanel() { if (jPanel == null) { GridBagConstraints gridBagConstraintsImgCount = new GridBagConstraints(); gridBagConstraintsImgCount.fill = GridBagConstraints.BOTH; gridBagConstraintsImgCount.gridy = 6; gridBagConstraintsImgCount.weightx = 1.0; gridBagConstraintsImgCount.anchor = GridBagConstraints.WEST; gridBagConstraintsImgCount.gridwidth = 4; gridBagConstraintsImgCount.insets = new Insets(0, 3, 5, 0); gridBagConstraintsImgCount.ipadx = 3; gridBagConstraintsImgCount.gridx = 4; GridBagConstraints gridBagConstraints124 = new GridBagConstraints(); gridBagConstraints124.insets = new Insets(0, 0, 0, 5); gridBagConstraints124.gridx = 0; gridBagConstraints124.anchor = GridBagConstraints.EAST; gridBagConstraints124.gridy = 20; GridBagConstraints gridBagConstraints38 = new GridBagConstraints(); gridBagConstraints38.insets = new Insets(0, 0, 0, 5); gridBagConstraints38.gridx = 0; gridBagConstraints38.anchor = GridBagConstraints.EAST; gridBagConstraints38.gridy = 27; GridBagConstraints gridBagConstraints215 = new GridBagConstraints(); gridBagConstraints215.insets = new Insets(0, 0, 0, 5); gridBagConstraints215.gridx = 0; gridBagConstraints215.anchor = GridBagConstraints.EAST; gridBagConstraints215.gridy = 26; GridBagConstraints gridBagConstraints120 = new GridBagConstraints(); gridBagConstraints120.insets = new Insets(0, 0, 0, 5); gridBagConstraints120.gridx = 3; gridBagConstraints120.weightx = 1.0; gridBagConstraints120.gridy = 25; jLabel44 = new JLabel(); jLabel44.setText("yyyy/mm/dd"); GridBagConstraints gridBagConstraints49 = new GridBagConstraints(); gridBagConstraints49.insets = new Insets(0, 0, 0, 0); gridBagConstraints49.fill = GridBagConstraints.BOTH; gridBagConstraints49.weighty = 1.0; gridBagConstraints49.weightx = 1.0; gridBagConstraints49.gridx = 1; gridBagConstraints49.gridwidth = 7; gridBagConstraints49.gridy = 35; GridBagConstraints gridBagConstraints214 = new GridBagConstraints(); gridBagConstraints214.gridwidth = 3; gridBagConstraints214.insets = new Insets(0, 0, 0, 5); gridBagConstraints214.anchor = GridBagConstraints.EAST; gridBagConstraints214.gridx = 4; gridBagConstraints214.gridy = 42; gridBagConstraints214.weightx = 0.0; gridBagConstraints214.weighty = 0.0; gridBagConstraints214.fill = GridBagConstraints.NONE; GridBagConstraints gridBagConstraints119 = new GridBagConstraints(); gridBagConstraints119.insets = new Insets(0, 0, 0, 0); gridBagConstraints119.anchor = GridBagConstraints.WEST; gridBagConstraints119.gridx = 7; gridBagConstraints119.gridy = 42; gridBagConstraints119.weightx = 0.0; gridBagConstraints119.weighty = 0.0; gridBagConstraints119.fill = GridBagConstraints.NONE; GridBagConstraints gridBagConstraints213 = new GridBagConstraints(); gridBagConstraints213.insets = new Insets(0, 0, 0, 0); gridBagConstraints213.fill = GridBagConstraints.BOTH; gridBagConstraints213.gridy = 31; gridBagConstraints213.weightx = 0.0; gridBagConstraints213.gridwidth = 7; gridBagConstraints213.anchor = GridBagConstraints.WEST; gridBagConstraints213.gridx = 1; GridBagConstraints gridBagConstraints118 = new GridBagConstraints(); gridBagConstraints118.insets = new Insets(0, 0, 0, 5); gridBagConstraints118.gridx = 0; gridBagConstraints118.anchor = GridBagConstraints.EAST; gridBagConstraints118.gridwidth = 1; gridBagConstraints118.gridy = 31; jLabel31 = new JLabel(); jLabel31.setText("Publications"); GridBagConstraints gridBagConstraints212 = new GridBagConstraints(); gridBagConstraints212.insets = new Insets(0, 0, 0, 5); gridBagConstraints212.gridx = 3; gridBagConstraints212.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints212.gridwidth = 4; gridBagConstraints212.gridy = 15; GridBagConstraints gridBagConstraints117 = new GridBagConstraints(); gridBagConstraints117.insets = new Insets(0, 0, 0, 0); gridBagConstraints117.fill = GridBagConstraints.BOTH; gridBagConstraints117.gridy = 25; gridBagConstraints117.weightx = 0.0; gridBagConstraints117.gridwidth = 4; gridBagConstraints117.anchor = GridBagConstraints.WEST; gridBagConstraints117.gridx = 4; GridBagConstraints gridBagConstraints211 = new GridBagConstraints(); gridBagConstraints211.insets = new Insets(0, 0, 0, 5); gridBagConstraints211.gridx = 3; gridBagConstraints211.gridwidth = 4; gridBagConstraints211.weighty = 1.0; gridBagConstraints211.gridy = 44; GridBagConstraints gridBagConstraintsMS = new GridBagConstraints(); gridBagConstraintsMS.fill = GridBagConstraints.BOTH; gridBagConstraintsMS.gridx = 0; gridBagConstraintsMS.gridwidth = 8; gridBagConstraintsMS.weighty = 1.0; gridBagConstraintsMS.gridy = 45; gridBagConstraintsMS.gridx = 0; GridBagConstraints gridBagConstraints116 = new GridBagConstraints(); gridBagConstraints116.gridwidth = 3; gridBagConstraints116.insets = new Insets(0, 0, 0, 5); gridBagConstraints116.gridx = 4; gridBagConstraints116.anchor = GridBagConstraints.EAST; gridBagConstraints116.gridy = 41; GridBagConstraints gridBagConstraintsInfer = new GridBagConstraints(); gridBagConstraintsInfer.insets = new Insets(0, 0, 0, 0); gridBagConstraintsInfer.fill = GridBagConstraints.BOTH; gridBagConstraintsInfer.gridy = 36; gridBagConstraintsInfer.weightx = 1.0; gridBagConstraintsInfer.anchor = GridBagConstraints.WEST; gridBagConstraintsInfer.gridwidth = 7; gridBagConstraintsInfer.gridx = 1; GridBagConstraints gridBagConstraints56 = new GridBagConstraints(); gridBagConstraints56.insets = new Insets(0, 0, 0, 5); gridBagConstraints56.gridx = 0; gridBagConstraints56.anchor = GridBagConstraints.EAST; gridBagConstraints56.gridy = 36; jLabel43 = new JLabel(); jLabel43.setText("Inferences"); GridBagConstraints gridBagConstraints48 = new GridBagConstraints(); gridBagConstraints48.insets = new Insets(0, 0, 0, 0); gridBagConstraints48.fill = GridBagConstraints.VERTICAL; gridBagConstraints48.gridy = 0; gridBagConstraints48.weightx = 1.0; gridBagConstraints48.anchor = GridBagConstraints.WEST; gridBagConstraints48.gridwidth = 4; gridBagConstraints48.gridx = 4; GridBagConstraints gridBagConstraints37 = new GridBagConstraints(); gridBagConstraints37.insets = new Insets(0, 0, 0, 5); gridBagConstraints37.fill = GridBagConstraints.VERTICAL; gridBagConstraints37.gridx = 3; gridBagConstraints37.anchor = GridBagConstraints.EAST; gridBagConstraints37.gridy = 0; jLabel42 = new JLabel(); jLabel42.setText("Collection"); GridBagConstraints gridBagConstraints29 = new GridBagConstraints(); gridBagConstraints29.insets = new Insets(0, 0, 0, 5); gridBagConstraints29.fill = GridBagConstraints.BOTH; gridBagConstraints29.gridy = 41; gridBagConstraints29.weightx = 1.0; gridBagConstraints29.anchor = GridBagConstraints.WEST; gridBagConstraints29.gridwidth = 3; gridBagConstraints29.gridx = 1; GridBagConstraints gridBagConstraints115 = new GridBagConstraints(); gridBagConstraints115.insets = new Insets(0, 0, 0, 5); gridBagConstraints115.gridx = 0; gridBagConstraints115.gridy = 41; jLabel41 = new JLabel(); jLabel41.setText("Workflow Status"); GridBagConstraints gridBagConstraints172 = new GridBagConstraints(); gridBagConstraints172.insets = new Insets(0, 0, 0, 0); gridBagConstraints172.fill = GridBagConstraints.BOTH; gridBagConstraints172.gridy = 33; gridBagConstraints172.weightx = 1.0; gridBagConstraints172.anchor = GridBagConstraints.WEST; gridBagConstraints172.gridwidth = 4; gridBagConstraints172.gridx = 4; GridBagConstraints gridBagConstraints162 = new GridBagConstraints(); gridBagConstraints162.insets = new Insets(0, 0, 0, 5); gridBagConstraints162.fill = GridBagConstraints.BOTH; gridBagConstraints162.gridy = 33; gridBagConstraints162.weightx = 1.0; gridBagConstraints162.anchor = GridBagConstraints.WEST; gridBagConstraints162.gridwidth = 2; gridBagConstraints162.gridx = 1; GridBagConstraints gridBagConstraints142 = new GridBagConstraints(); gridBagConstraints142.insets = new Insets(0, 0, 0, 5); gridBagConstraints142.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints142.gridy = 42; gridBagConstraints142.weightx = 1.0; gridBagConstraints142.anchor = GridBagConstraints.NORTHWEST; gridBagConstraints142.gridwidth = 3; gridBagConstraints142.ipady = 2; gridBagConstraints142.gridx = 1; GridBagConstraints gridBagConstraints133 = new GridBagConstraints(); gridBagConstraints133.insets = new Insets(0, 0, 0, 5); gridBagConstraints133.gridx = 0; gridBagConstraints133.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints133.gridy = 42; jLabel40 = new JLabel(); jLabel40.setText("Questions"); GridBagConstraints gridBagConstraints123 = new GridBagConstraints(); gridBagConstraints123.insets = new Insets(0, 0, 0, 5); gridBagConstraints123.gridx = 3; gridBagConstraints123.anchor = GridBagConstraints.EAST; gridBagConstraints123.gridy = 33; jLabel39 = new JLabel(); jLabel39.setText("Habitat"); GridBagConstraints gridBagConstraints114 = new GridBagConstraints(); gridBagConstraints114.insets = new Insets(0, 0, 0, 5); gridBagConstraints114.gridx = 0; gridBagConstraints114.anchor = GridBagConstraints.EAST; gridBagConstraints114.gridy = 33; jLabel38 = new JLabel(); jLabel38.setText("Associated Taxon"); GridBagConstraints gridBagConstraints94 = new GridBagConstraints(); gridBagConstraints94.gridwidth = 3; gridBagConstraints94.insets = new Insets(0, 0, 0, 5); gridBagConstraints94.gridx = 4; gridBagConstraints94.anchor = GridBagConstraints.WEST; gridBagConstraints94.gridy = 18; jLabel36 = new JLabel(); jLabel36.setText("Valid Dist."); GridBagConstraints gridBagConstraints83 = new GridBagConstraints(); gridBagConstraints83.gridx = 3; gridBagConstraints83.anchor = GridBagConstraints.EAST; gridBagConstraints83.insets = new Insets(0, 0, 0, 5); gridBagConstraints83.weightx = 1.0; gridBagConstraints83.gridy = 18; GridBagConstraints gridBagConstraints65 = new GridBagConstraints(); gridBagConstraints65.insets = new Insets(0, 0, 0, 5); gridBagConstraints65.gridx = 0; gridBagConstraints65.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints65.gridy = 35; jLabel35 = new JLabel(); jLabel35.setText("Specimen Notes"); GridBagConstraints gridBagConstraints47 = new GridBagConstraints(); gridBagConstraints47.insets = new Insets(0, 0, 0, 5); gridBagConstraints47.gridx = 0; gridBagConstraints47.fill = GridBagConstraints.VERTICAL; gridBagConstraints47.ipady = 12; gridBagConstraints47.gridy = 5; jLabel34 = new JLabel(); jLabel34.setText(" "); GridBagConstraints gridBagConstraints19 = new GridBagConstraints(); gridBagConstraints19.insets = new Insets(0, 0, 0, 0); gridBagConstraints19.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints19.gridy = 23; gridBagConstraints19.weightx = 1.0; gridBagConstraints19.anchor = GridBagConstraints.NORTH; gridBagConstraints19.gridwidth = 5; gridBagConstraints19.gridx = 3; GridBagConstraints gridBagConstraints18 = new GridBagConstraints(); gridBagConstraints18.insets = new Insets(0, 0, 0, 5); gridBagConstraints18.fill = GridBagConstraints.BOTH; gridBagConstraints18.gridy = 19; gridBagConstraints18.weightx = 1.0; gridBagConstraints18.anchor = GridBagConstraints.WEST; gridBagConstraints18.gridx = 4; GridBagConstraints gbc_jLabelElevation = new GridBagConstraints(); gbc_jLabelElevation.insets = new Insets(0, 0, 0, 5); gbc_jLabelElevation.gridx = 3; gbc_jLabelElevation.anchor = GridBagConstraints.EAST; gbc_jLabelElevation.gridy = 19; jLabelElevation = new JLabel(); jLabelElevation.setText("Elevation"); jLabel25 = new JLabel(); jLabel25.setText("Text"); jLabel26 = new JLabel(); jLabel26.setText("Text"); jLabel28 = new JLabel(); jLabel28.setText("Rank"); GridBagConstraints gridBagConstraints161 = new GridBagConstraints(); gridBagConstraints161.gridx = 0; GridBagConstraints gridBagConstraints151 = new GridBagConstraints(); gridBagConstraints151.insets = new Insets(0, 0, 0, 5); gridBagConstraints151.fill = GridBagConstraints.BOTH; gridBagConstraints151.gridy = 27; gridBagConstraints151.weightx = 1.0; gridBagConstraints151.gridx = 1; GridBagConstraints gridBagConstraints141 = new GridBagConstraints(); gridBagConstraints141.insets = new Insets(0, 0, 0, 5); gridBagConstraints141.fill = GridBagConstraints.BOTH; gridBagConstraints141.gridy = 26; gridBagConstraints141.weightx = 1.0; gridBagConstraints141.gridx = 1; GridBagConstraints gridBagConstraints132 = new GridBagConstraints(); gridBagConstraints132.gridwidth = 3; gridBagConstraints132.insets = new Insets(0, 0, 0, 5); gridBagConstraints132.fill = GridBagConstraints.BOTH; gridBagConstraints132.gridy = 27; gridBagConstraints132.weightx = 1.0; gridBagConstraints132.gridx = 4; GridBagConstraints gridBagConstraints122 = new GridBagConstraints(); gridBagConstraints122.gridwidth = 3; gridBagConstraints122.insets = new Insets(0, 0, 0, 5); gridBagConstraints122.fill = GridBagConstraints.BOTH; gridBagConstraints122.gridy = 26; gridBagConstraints122.weightx = 1.0; gridBagConstraints122.gridx = 4; GridBagConstraints gridBagConstraints113 = new GridBagConstraints(); gridBagConstraints113.insets = new Insets(0, 0, 0, 5); gridBagConstraints113.gridx = 3; gridBagConstraints113.anchor = GridBagConstraints.EAST; gridBagConstraints113.gridy = 27; GridBagConstraints gridBagConstraints103 = new GridBagConstraints(); gridBagConstraints103.insets = new Insets(0, 0, 0, 5); gridBagConstraints103.gridx = 3; gridBagConstraints103.anchor = GridBagConstraints.EAST; gridBagConstraints103.gridy = 26; GridBagConstraints gridBagConstraints93 = new GridBagConstraints(); gridBagConstraints93.insets = new Insets(0, 0, 0, 5); gridBagConstraints93.fill = GridBagConstraints.BOTH; gridBagConstraints93.gridy = 12; gridBagConstraints93.weightx = 1.0; gridBagConstraints93.gridx = 1; GridBagConstraints gridBagConstraints84 = new GridBagConstraints(); gridBagConstraints84.gridwidth = 3; gridBagConstraints84.fill = GridBagConstraints.BOTH; gridBagConstraints84.gridy = 12; gridBagConstraints84.weightx = 1.0; gridBagConstraints84.anchor = GridBagConstraints.WEST; gridBagConstraints84.insets = new Insets(0, 0, 0, 5); gridBagConstraints84.gridx = 4; GridBagConstraints gridBagConstraints74 = new GridBagConstraints(); gridBagConstraints74.insets = new Insets(0, 0, 0, 5); gridBagConstraints74.gridx = 3; gridBagConstraints74.anchor = GridBagConstraints.EAST; gridBagConstraints74.weightx = 0.0; gridBagConstraints74.gridy = 12; // GridBagConstraints gridBagConstraints64 = new GridBagConstraints(); // gridBagConstraints64.fill = GridBagConstraints.BOTH; // gridBagConstraints64.gridy = 14; // gridBagConstraints64.weightx = 1.0; // gridBagConstraints64.gridx = 3; GridBagConstraints gridBagConstraints55 = new GridBagConstraints(); gridBagConstraints55.gridx = 2; gridBagConstraints55.gridy = 14; //jLabel31 = new JLabel(); //jLabel31.setText("Qual."); GridBagConstraints gridBagConstraints46 = new GridBagConstraints(); gridBagConstraints46.insets = new Insets(0, 0, 0, 5); gridBagConstraints46.fill = GridBagConstraints.BOTH; gridBagConstraints46.gridy = 14; gridBagConstraints46.weightx = 1.0; gridBagConstraints46.anchor = GridBagConstraints.WEST; gridBagConstraints46.gridx = 1; gridBagConstraints46.gridwidth = 2; GridBagConstraints gridBagConstraints36 = new GridBagConstraints(); gridBagConstraints36.insets = new Insets(0, 0, 0, 5); gridBagConstraints36.gridx = 0; gridBagConstraints36.anchor = GridBagConstraints.EAST; gridBagConstraints36.gridy = 14; jLabel30 = new JLabel(); jLabel30.setText("Unnamed Form"); GridBagConstraints gridBagConstraints210 = new GridBagConstraints(); gridBagConstraints210.insets = new Insets(0, 0, 0, 5); gridBagConstraints210.fill = GridBagConstraints.BOTH; gridBagConstraints210.gridy = 13; gridBagConstraints210.weightx = 1.0; gridBagConstraints210.anchor = GridBagConstraints.WEST; gridBagConstraints210.gridwidth = 2; gridBagConstraints210.gridx = 1; GridBagConstraints gridBagConstraints112 = new GridBagConstraints(); gridBagConstraints112.insets = new Insets(0, 0, 0, 5); gridBagConstraints112.gridx = 0; gridBagConstraints112.anchor = GridBagConstraints.EAST; gridBagConstraints112.gridy = 13; jLabel29 = new JLabel(); jLabel29.setText("Author"); GridBagConstraints gridBagConstraints110 = new GridBagConstraints(); gridBagConstraints110.insets = new Insets(0, 0, 0, 5); gridBagConstraints110.gridx = 0; gridBagConstraints110.gridy = 12; jLabel27 = new JLabel(); jLabel27.setText("Infrasubspecifc Name"); GridBagConstraints gridBagConstraints63 = new GridBagConstraints(); gridBagConstraints63.insets = new Insets(0, 0, 0, 5); gridBagConstraints63.fill = GridBagConstraints.BOTH; gridBagConstraints63.gridy = 25; gridBagConstraints63.weightx = 1.0; gridBagConstraints63.anchor = GridBagConstraints.WEST; gridBagConstraints63.gridx = 1; GridBagConstraints gridBagConstraints35 = new GridBagConstraints(); gridBagConstraints35.insets = new Insets(0, 0, 0, 5); gridBagConstraints35.gridx = 0; gridBagConstraints35.anchor = GridBagConstraints.EAST; gridBagConstraints35.gridy = 25; jLabel22 = new JLabel(); jLabel22.setText("Verbatim Date"); GridBagConstraints gridBagConstraints27 = new GridBagConstraints(); gridBagConstraints27.insets = new Insets(0, 0, 0, 5); gridBagConstraints27.fill = GridBagConstraints.BOTH; gridBagConstraints27.gridy = 30; gridBagConstraints27.weightx = 1.0; gridBagConstraints27.anchor = GridBagConstraints.WEST; gridBagConstraints27.gridx = 1; GridBagConstraints gridBagConstraints102 = new GridBagConstraints(); gridBagConstraints102.insets = new Insets(0, 0, 0, 0); gridBagConstraints102.fill = GridBagConstraints.VERTICAL; gridBagConstraints102.gridy = 30; gridBagConstraints102.weightx = 1.0; gridBagConstraints102.anchor = GridBagConstraints.WEST; gridBagConstraints102.gridwidth = 4; gridBagConstraints102.gridx = 4; GridBagConstraints gridBagConstraints92 = new GridBagConstraints(); gridBagConstraints92.insets = new Insets(0, 0, 0, 5); gridBagConstraints92.gridx = 3; gridBagConstraints92.anchor = GridBagConstraints.EAST; gridBagConstraints92.gridy = 30; jLabel21 = new JLabel(); jLabel21.setText("Sex"); GridBagConstraints gridBagConstraints82 = new GridBagConstraints(); gridBagConstraints82.insets = new Insets(0, 0, 0, 5); gridBagConstraints82.gridx = 0; gridBagConstraints82.anchor = GridBagConstraints.EAST; gridBagConstraints82.gridy = 30; jLabel20 = new JLabel(); jLabel20.setText("LifeStage"); GridBagConstraints gridBagConstraints62 = new GridBagConstraints(); gridBagConstraints62.insets = new Insets(0, 0, 0, 0); gridBagConstraints62.fill = GridBagConstraints.BOTH; gridBagConstraints62.gridy = 7; gridBagConstraints62.weightx = 1.0; gridBagConstraints62.anchor = GridBagConstraints.WEST; gridBagConstraints62.gridwidth = 4; gridBagConstraints62.gridx = 4; GridBagConstraints gridBagConstraints53 = new GridBagConstraints(); gridBagConstraints53.insets = new Insets(0, 0, 0, 5); gridBagConstraints53.fill = GridBagConstraints.BOTH; gridBagConstraints53.gridy = 7; gridBagConstraints53.weightx = 1.0; gridBagConstraints53.anchor = GridBagConstraints.WEST; gridBagConstraints53.gridwidth = 1; gridBagConstraints53.gridx = 1; GridBagConstraints gridBagConstraints44 = new GridBagConstraints(); gridBagConstraints44.insets = new Insets(0, 0, 0, 5); gridBagConstraints44.fill = GridBagConstraints.BOTH; gridBagConstraints44.gridy = 6; gridBagConstraints44.weightx = 1.0; gridBagConstraints44.anchor = GridBagConstraints.WEST; gridBagConstraints44.gridwidth = 3; gridBagConstraints44.gridx = 1; GridBagConstraints gbc_jLabelTribe = new GridBagConstraints(); gbc_jLabelTribe.insets = new Insets(0, 0, 0, 5); gbc_jLabelTribe.gridx = 3; gbc_jLabelTribe.anchor = GridBagConstraints.EAST; gbc_jLabelTribe.gridy = 7; jLabelTribe = new JLabel(); jLabelTribe.setText("Tribe"); GridBagConstraints gridBagConstraints26 = new GridBagConstraints(); gridBagConstraints26.insets = new Insets(0, 0, 0, 5); gridBagConstraints26.gridx = 0; gridBagConstraints26.anchor = GridBagConstraints.EAST; gridBagConstraints26.gridy = 7; jLabel17 = new JLabel(); jLabel17.setText("Subfamily"); GridBagConstraints gridBagConstraints16 = new GridBagConstraints(); gridBagConstraints16.insets = new Insets(0, 0, 0, 5); gridBagConstraints16.gridx = 0; gridBagConstraints16.anchor = GridBagConstraints.EAST; gridBagConstraints16.gridy = 6; jLabel16 = new JLabel(); jLabel16.setText("Family"); GridBagConstraints gridBagConstraints131 = new GridBagConstraints(); gridBagConstraints131.insets = new Insets(0, 0, 0, 5); gridBagConstraints131.fill = GridBagConstraints.BOTH; gridBagConstraints131.gridy = 19; gridBagConstraints131.weightx = 1.0; gridBagConstraints131.anchor = GridBagConstraints.WEST; gridBagConstraints131.gridwidth = 2; gridBagConstraints131.gridx = 1; GridBagConstraints gridBagConstraints121 = new GridBagConstraints(); gridBagConstraints121.insets = new Insets(0, 0, 0, 5); gridBagConstraints121.fill = GridBagConstraints.BOTH; gridBagConstraints121.gridy = 18; gridBagConstraints121.weightx = 1.0; gridBagConstraints121.anchor = GridBagConstraints.WEST; gridBagConstraints121.gridwidth = 1; gridBagConstraints121.gridx = 1; GridBagConstraints gridBagConstraints111 = new GridBagConstraints(); gridBagConstraints111.insets = new Insets(0, 0, 0, 0); gridBagConstraints111.fill = GridBagConstraints.BOTH; gridBagConstraints111.gridy = 16; gridBagConstraints111.weightx = 1.0; gridBagConstraints111.anchor = GridBagConstraints.WEST; gridBagConstraints111.gridwidth = 7; gridBagConstraints111.gridx = 1; GridBagConstraints gridBagConstraints101 = new GridBagConstraints(); gridBagConstraints101.insets = new Insets(0, 0, 0, 5); gridBagConstraints101.gridx = 0; gridBagConstraints101.anchor = GridBagConstraints.EAST; gridBagConstraints101.gridy = 19; jLabel15 = new JLabel(); jLabel15.setText("State/Province"); GridBagConstraints gridBagConstraints91 = new GridBagConstraints(); gridBagConstraints91.insets = new Insets(0, 0, 0, 5); gridBagConstraints91.gridx = 0; gridBagConstraints91.anchor = GridBagConstraints.EAST; gridBagConstraints91.gridy = 18; jLabel14 = new JLabel(); jLabel14.setText("Country"); GridBagConstraints gridBagConstraints81 = new GridBagConstraints(); gridBagConstraints81.insets = new Insets(0, 0, 0, 5); gridBagConstraints81.gridx = 0; gridBagConstraints81.anchor = GridBagConstraints.EAST; gridBagConstraints81.gridy = 16; jLabel13 = new JLabel(); jLabel13.setText("Verbatim Locality"); GridBagConstraints gridBagConstraints71 = new GridBagConstraints(); gridBagConstraints71.insets = new Insets(0, 0, 0, 5); gridBagConstraints71.fill = GridBagConstraints.BOTH; gridBagConstraints71.gridy = 15; gridBagConstraints71.weightx = 1.0; gridBagConstraints71.anchor = GridBagConstraints.WEST; gridBagConstraints71.gridx = 1; GridBagConstraints gridBagConstraints61 = new GridBagConstraints(); gridBagConstraints61.insets = new Insets(0, 0, 0, 5); gridBagConstraints61.gridx = 0; gridBagConstraints61.anchor = GridBagConstraints.EAST; gridBagConstraints61.gridy = 15; jLabel12 = new JLabel(); jLabel12.setText("DrawerNumber"); GridBagConstraints gridBagConstraints52 = new GridBagConstraints(); gridBagConstraints52.insets = new Insets(0, 0, 0, 0); gridBagConstraints52.fill = GridBagConstraints.BOTH; gridBagConstraints52.gridy = 43; gridBagConstraints52.weightx = 1.0; gridBagConstraints52.weighty = 1.0; gridBagConstraints52.gridwidth = 8; gridBagConstraints52.gridx = 0; GridBagConstraints gridBagConstraints43 = new GridBagConstraints(); gridBagConstraints43.gridheight = 2; gridBagConstraints43.gridx = 0; gridBagConstraints43.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints43.ipady = 0; gridBagConstraints43.insets = new Insets(0, 0, 0, 5); gridBagConstraints43.gridy = 23; GridBagConstraints gridBagConstraints33 = new GridBagConstraints(); gridBagConstraints33.insets = new Insets(0, 0, 0, 5); gridBagConstraints33.gridx = 0; gridBagConstraints33.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints33.gridy = 4; GridBagConstraints gridBagConstraints25 = new GridBagConstraints(); gridBagConstraints25.insets = new Insets(0, 0, 0, 5); gridBagConstraints25.fill = GridBagConstraints.BOTH; gridBagConstraints25.gridy = 3; gridBagConstraints25.weightx = 1.0; gridBagConstraints25.weighty = 0.0; gridBagConstraints25.gridheight = 3; gridBagConstraints25.gridwidth = 6; gridBagConstraints25.gridx = 1; GridBagConstraints gridBagConstraints15 = new GridBagConstraints(); gridBagConstraints15.insets = new Insets(0, 0, 0, 5); gridBagConstraints15.gridx = 0; gridBagConstraints15.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints15.gridy = 3; jLabel11 = new JLabel(); jLabel11.setText("Numbers"); GridBagConstraints gridBagConstraints42 = new GridBagConstraints(); gridBagConstraints42.insets = new Insets(0, 0, 0, 5); gridBagConstraints42.gridx = 3; gridBagConstraints42.anchor = GridBagConstraints.EAST; gridBagConstraints42.gridy = 37; jLabel10 = new JLabel(); jLabel10.setText("Date Created"); GridBagConstraints gridBagConstraints32 = new GridBagConstraints(); gridBagConstraints32.insets = new Insets(0, 0, 0, 0); gridBagConstraints32.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints32.gridy = 37; gridBagConstraints32.weightx = 1.0; gridBagConstraints32.anchor = GridBagConstraints.WEST; gridBagConstraints32.gridwidth = 4; gridBagConstraints32.gridx = 4; GridBagConstraints gridBagConstraints24 = new GridBagConstraints(); gridBagConstraints24.insets = new Insets(0, 0, 0, 5); gridBagConstraints24.gridx = 0; gridBagConstraints24.anchor = GridBagConstraints.EAST; gridBagConstraints24.gridy = 37; jLabel9 = new JLabel(); jLabel9.setText("CreatedBy"); GridBagConstraints gridBagConstraints14 = new GridBagConstraints(); gridBagConstraints14.insets = new Insets(0, 0, 0, 5); gridBagConstraints14.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints14.gridy = 37; gridBagConstraints14.weightx = 1.0; gridBagConstraints14.anchor = GridBagConstraints.WEST; gridBagConstraints14.gridx = 1; GridBagConstraints gridBagConstraints23 = new GridBagConstraints(); gridBagConstraints23.insets = new Insets(0, 0, 0, 0); gridBagConstraints23.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints23.gridy = 39; gridBagConstraints23.weightx = 1.0; gridBagConstraints23.anchor = GridBagConstraints.WEST; gridBagConstraints23.gridwidth = 4; gridBagConstraints23.gridx = 4; GridBagConstraints gridBagConstraints13 = new GridBagConstraints(); gridBagConstraints13.insets = new Insets(0, 0, 0, 5); gridBagConstraints13.gridx = 3; gridBagConstraints13.anchor = GridBagConstraints.EAST; gridBagConstraints13.gridy = 39; jLabel8 = new JLabel(); jLabel8.setText("Last Updated"); GridBagConstraints gridBagConstraints22 = new GridBagConstraints(); gridBagConstraints22.insets = new Insets(0, 0, 0, 5); gridBagConstraints22.gridx = 0; gridBagConstraints22.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints22.gridy = 22; jLabel7 = new JLabel(); jLabel7.setText("Collectors"); GridBagConstraints gridBagConstraints12 = new GridBagConstraints(); gridBagConstraints12.insets = new Insets(0, 0, 0, 5); gridBagConstraints12.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints12.gridy = 39; gridBagConstraints12.weightx = 1.0; gridBagConstraints12.anchor = GridBagConstraints.NORTHWEST; gridBagConstraints12.gridx = 1; GridBagConstraints gridBagConstraints51 = new GridBagConstraints(); gridBagConstraints51.insets = new Insets(0, 0, 0, 5); gridBagConstraints51.fill = GridBagConstraints.BOTH; gridBagConstraints51.gridy = 22; gridBagConstraints51.weightx = 1.0; gridBagConstraints51.anchor = GridBagConstraints.WEST; gridBagConstraints51.gridheight = 3; gridBagConstraints51.gridwidth = 2; gridBagConstraints51.gridx = 1; GridBagConstraints gridBagConstraints41 = new GridBagConstraints(); gridBagConstraints41.insets = new Insets(0, 0, 0, 5); gridBagConstraints41.gridx = 0; gridBagConstraints41.fill = GridBagConstraints.NONE; gridBagConstraints41.anchor = GridBagConstraints.NORTHEAST; gridBagConstraints41.gridy = 39; jLabel6 = new JLabel(); jLabel6.setText("LastUpdatedBy"); GridBagConstraints gridBagConstraints31 = new GridBagConstraints(); gridBagConstraints31.insets = new Insets(0, 0, 0, 5); gridBagConstraints31.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints31.gridy = 21; gridBagConstraints31.weightx = 1.0; gridBagConstraints31.anchor = GridBagConstraints.WEST; gridBagConstraints31.gridwidth = 6; gridBagConstraints31.gridx = 1; GridBagConstraints gridBagConstraints21 = new GridBagConstraints(); gridBagConstraints21.insets = new Insets(0, 0, 0, 5); gridBagConstraints21.gridx = 0; gridBagConstraints21.anchor = GridBagConstraints.SOUTHEAST; gridBagConstraints21.gridy = 21; jLabel5 = new JLabel(); jLabel5.setText("Collection"); GridBagConstraints gridBagConstraints10 = new GridBagConstraints(); gridBagConstraints10.insets = new Insets(0, 0, 0, 0); gridBagConstraints10.gridx = 7; gridBagConstraints10.anchor = GridBagConstraints.NORTHWEST; gridBagConstraints10.gridy = 41; gridBagConstraints10.weighty = 0.0; GridBagConstraints gridBagConstraints9 = new GridBagConstraints(); gridBagConstraints9.insets = new Insets(0, 0, 0, 5); gridBagConstraints9.gridx = 0; gridBagConstraints9.anchor = GridBagConstraints.EAST; gridBagConstraints9.gridy = 11; jLabel4 = new JLabel(); jLabel4.setText("Subspecies"); GridBagConstraints gridBagConstraints8 = new GridBagConstraints(); gridBagConstraints8.insets = new Insets(0, 0, 0, 5); gridBagConstraints8.gridx = 0; gridBagConstraints8.anchor = GridBagConstraints.EAST; gridBagConstraints8.gridy = 10; jLabel3 = new JLabel(); jLabel3.setText("Species"); GridBagConstraints gridBagConstraints7 = new GridBagConstraints(); gridBagConstraints7.insets = new Insets(0, 0, 0, 0); gridBagConstraints7.fill = GridBagConstraints.BOTH; gridBagConstraints7.gridy = 20; gridBagConstraints7.weightx = 1.0; gridBagConstraints7.anchor = GridBagConstraints.WEST; gridBagConstraints7.gridwidth = 7; gridBagConstraints7.gridx = 1; GridBagConstraints gridBagConstraints5 = new GridBagConstraints(); gridBagConstraints5.insets = new Insets(0, 0, 0, 5); gridBagConstraints5.fill = GridBagConstraints.BOTH; gridBagConstraints5.gridy = 11; gridBagConstraints5.weightx = 1.0; gridBagConstraints5.anchor = GridBagConstraints.WEST; gridBagConstraints5.gridwidth = 2; gridBagConstraints5.gridx = 1; GridBagConstraints gridBagConstraints4 = new GridBagConstraints(); gridBagConstraints4.insets = new Insets(0, 0, 0, 5); gridBagConstraints4.fill = GridBagConstraints.BOTH; gridBagConstraints4.gridy = 10; gridBagConstraints4.weightx = 1.0; gridBagConstraints4.anchor = GridBagConstraints.WEST; gridBagConstraints4.gridwidth = 2; gridBagConstraints4.gridx = 1; GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); gridBagConstraints3.insets = new Insets(0, 0, 0, 5); gridBagConstraints3.fill = GridBagConstraints.BOTH; gridBagConstraints3.gridy = 9; gridBagConstraints3.weightx = 1.0; gridBagConstraints3.anchor = GridBagConstraints.WEST; gridBagConstraints3.gridwidth = 2; gridBagConstraints3.gridx = 1; GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.insets = new Insets(0, 0, 0, 5); gridBagConstraints2.gridx = 0; gridBagConstraints2.anchor = GridBagConstraints.EAST; gridBagConstraints2.gridy = 9; jLabel2 = new JLabel(); jLabel2.setText("Genus"); GridBagConstraints gridBagConstraints11 = new GridBagConstraints(); gridBagConstraints11.gridx = 0; gridBagConstraints11.gridy = 1; GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); gridBagConstraints1.insets = new Insets(0, 0, 0, 5); gridBagConstraints1.fill = GridBagConstraints.BOTH; gridBagConstraints1.gridy = 0; gridBagConstraints1.weightx = 1.0; gridBagConstraints1.anchor = GridBagConstraints.WEST; gridBagConstraints1.gridx = 1; GridBagConstraints gridBagConstraints = new GridBagConstraints(); gridBagConstraints.insets = new Insets(0, 0, 0, 5); gridBagConstraints.gridx = 0; gridBagConstraints.anchor = GridBagConstraints.EAST; gridBagConstraints.gridy = 0; jLabel = new JLabel(); jLabel.setText("Barcode"); jPanel = new JPanel(); GridBagLayout gbl_jPanel = new GridBagLayout(); gbl_jPanel.rowWeights = new double[] { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; gbl_jPanel.rowHeights = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; gbl_jPanel.columnWidths = new int[] { 0, 0, 0, 0, 0, 0, 0, 0 }; gbl_jPanel.columnWeights = new double[] { 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0 }; jPanel.setLayout(gbl_jPanel); jPanel.add(jLabel, gridBagConstraints); jPanel.add(getJTextFieldBarcode(), gridBagConstraints1); jPanel.add(jLabel2, gridBagConstraints2); jPanel.add(getJTextField1(), gridBagConstraints3); GridBagConstraints gbc_lblNatureofid = new GridBagConstraints(); gbc_lblNatureofid.anchor = GridBagConstraints.EAST; gbc_lblNatureofid.insets = new Insets(0, 0, 0, 5); gbc_lblNatureofid.gridx = 3; gbc_lblNatureofid.gridy = 9; jPanel.add(getLblNatureofid(), gbc_lblNatureofid); jComboBoxNatureOfId = getJComboBoxNatureOfId(); GridBagConstraints gbc_jTextFieldNatureOfID = new GridBagConstraints(); gbc_jTextFieldNatureOfID.gridwidth = 4; gbc_jTextFieldNatureOfID.insets = new Insets(0, 0, 0, 0); gbc_jTextFieldNatureOfID.fill = GridBagConstraints.HORIZONTAL; gbc_jTextFieldNatureOfID.gridx = 4; gbc_jTextFieldNatureOfID.gridy = 9; jPanel.add(jComboBoxNatureOfId, gbc_jTextFieldNatureOfID); jPanel.add(getJTextField12(), gridBagConstraints4); GridBagConstraints gbc_lblIdDate = new GridBagConstraints(); gbc_lblIdDate.anchor = GridBagConstraints.EAST; gbc_lblIdDate.insets = new Insets(0, 0, 0, 5); gbc_lblIdDate.gridx = 3; gbc_lblIdDate.gridy = 10; jPanel.add(getLblIdDate(), gbc_lblIdDate); jTextFieldDateDetermined = getJTextFieldDateDetermined(); GridBagConstraints gbc_jTextFieldDateDetermined = new GridBagConstraints(); gbc_jTextFieldDateDetermined.gridwidth = 4; gbc_jTextFieldDateDetermined.insets = new Insets(0, 0, 0, 0); gbc_jTextFieldDateDetermined.fill = GridBagConstraints.HORIZONTAL; gbc_jTextFieldDateDetermined.gridx = 4; gbc_jTextFieldDateDetermined.gridy = 10; jPanel.add(jTextFieldDateDetermined, gbc_jTextFieldDateDetermined); jTextFieldDateDetermined.setColumns(10); jPanel.add(getJTextField2(), gridBagConstraints5); JLabel lblIdBy = new JLabel("Id By"); GridBagConstraints gbc_lblIdBy = new GridBagConstraints(); gbc_lblIdBy.anchor = GridBagConstraints.EAST; gbc_lblIdBy.insets = new Insets(0, 0, 0, 5); gbc_lblIdBy.gridx = 3; gbc_lblIdBy.gridy = 11; jPanel.add(lblIdBy, gbc_lblIdBy); jCBDeterminer = getJCBDeterminer(); GridBagConstraints gbc_jTextFieldDeterminer = new GridBagConstraints(); gbc_jTextFieldDeterminer.gridwidth = 4; gbc_jTextFieldDeterminer.insets = new Insets(0, 0, 0, 0); gbc_jTextFieldDeterminer.fill = GridBagConstraints.HORIZONTAL; gbc_jTextFieldDeterminer.gridx = 4; gbc_jTextFieldDeterminer.gridy = 11; jPanel.add(jCBDeterminer, gbc_jTextFieldDeterminer); GridBagConstraints gbc_lblIdRemarks = new GridBagConstraints(); gbc_lblIdRemarks.anchor = GridBagConstraints.EAST; gbc_lblIdRemarks.insets = new Insets(0, 0, 0, 5); gbc_lblIdRemarks.gridx = 3; gbc_lblIdRemarks.gridy = 13; jPanel.add(getLblIdRemarks(), gbc_lblIdRemarks); jTextFieldIdRemarks = getJTextFieldIdRemarks(); GridBagConstraints gbc_jTextFieldIdRemarks = new GridBagConstraints(); gbc_jTextFieldIdRemarks.insets = new Insets(0, 0, 0, 0); gbc_jTextFieldIdRemarks.fill = GridBagConstraints.HORIZONTAL; gbc_jTextFieldIdRemarks.gridx = 4; gbc_jTextFieldIdRemarks.gridy = 13; gbc_jTextFieldIdRemarks.gridwidth = 4; jPanel.add(jTextFieldIdRemarks, gbc_jTextFieldIdRemarks); jTextFieldIdRemarks.setColumns(10); GridBagConstraints gbc_lblTypestatus = new GridBagConstraints(); gbc_lblTypestatus.anchor = GridBagConstraints.EAST; gbc_lblTypestatus.insets = new Insets(0, 0, 0, 5); gbc_lblTypestatus.gridx = 3; gbc_lblTypestatus.gridy = 14; jPanel.add(getLblTypestatus(), gbc_lblTypestatus); cbTypeStatus = getCbTypeStatus(); GridBagConstraints gbc_cbTypeStatus = new GridBagConstraints(); gbc_cbTypeStatus.gridwidth = 4; gbc_cbTypeStatus.insets = new Insets(0, 0, 0, 5); gbc_cbTypeStatus.fill = GridBagConstraints.HORIZONTAL; gbc_cbTypeStatus.gridx = 4; gbc_cbTypeStatus.gridy = 14; jPanel.add(cbTypeStatus, gbc_cbTypeStatus); GridBagConstraints gbc_lblHigherGeography = new GridBagConstraints(); gbc_lblHigherGeography.anchor = GridBagConstraints.EAST; gbc_lblHigherGeography.insets = new Insets(0, 0, 0, 5); gbc_lblHigherGeography.gridx = 0; gbc_lblHigherGeography.gridy = 17; jPanel.add(getLblHigherGeography(), gbc_lblHigherGeography); GridBagConstraints gbc_comboBoxElevUnits = new GridBagConstraints(); gbc_comboBoxElevUnits.insets = new Insets(0, 0, 0, 0); gbc_comboBoxElevUnits.gridwidth = 7; gbc_comboBoxElevUnits.fill = GridBagConstraints.HORIZONTAL; gbc_comboBoxElevUnits.gridx = 1; gbc_comboBoxElevUnits.gridy = 17; jPanel.add(getComboBoxHighGeog(), gbc_comboBoxElevUnits); GridBagConstraints gbc_lblTo = new GridBagConstraints(); gbc_lblTo.insets = new Insets(0, 0, 0, 5); gbc_lblTo.anchor = GridBagConstraints.EAST; gbc_lblTo.gridx = 5; gbc_lblTo.gridy = 19; jPanel.add(getLblTo(), gbc_lblTo); GridBagConstraints gbc_textFieldMaxElev = new GridBagConstraints(); gbc_textFieldMaxElev.insets = new Insets(0, 0, 0, 5); gbc_textFieldMaxElev.fill = GridBagConstraints.BOTH; gbc_textFieldMaxElev.gridx = 6; gbc_textFieldMaxElev.gridy = 19; jPanel.add(getTextFieldMaxElev(), gbc_textFieldMaxElev); GridBagConstraints gbc_comboBoxMaxElev = new GridBagConstraints(); gbc_comboBoxMaxElev.insets = new Insets(0, 0, 0, 0); gbc_comboBoxMaxElev.fill = GridBagConstraints.HORIZONTAL; gbc_comboBoxMaxElev.gridx = 7; gbc_comboBoxMaxElev.gridy = 19; jPanel.add(getComboBoxElevUnits(), gbc_comboBoxMaxElev); jPanel.add(getJTextField3(), gridBagConstraints7); jPanel.add(jLabel3, gridBagConstraints8); jPanel.add(jLabel4, gridBagConstraints9); GridBagConstraints gridBagConstraints28 = new GridBagConstraints(); gridBagConstraints28.gridwidth = 4; gridBagConstraints28.insets = new Insets(0, 0, 0, 5); gridBagConstraints28.gridx = 3; gridBagConstraints28.anchor = GridBagConstraints.WEST; gridBagConstraints28.fill = GridBagConstraints.NONE; gridBagConstraints28.gridy = 22; jLabel33 = new JLabel(); jLabel33.setText("Collecting Method"); jPanel.add(jLabel33, gridBagConstraints28); GridBagConstraints gbc_georef = new GridBagConstraints(); gbc_georef.insets = new Insets(0, 0, 0, 0); gbc_georef.gridwidth = 5; gbc_georef.fill = GridBagConstraints.HORIZONTAL; gbc_georef.gridx = 3; gbc_georef.gridy = 24; GridBagConstraints gridBagConstraints72 = new GridBagConstraints(); gridBagConstraints72.insets = new Insets(0, 0, 0, 5); gridBagConstraints72.gridx = 0; gridBagConstraints72.anchor = GridBagConstraints.EAST; gridBagConstraints72.gridy = 28; jLabel19 = new JLabel(); jLabel19.setText("Features"); jPanel.add(jLabel19, gridBagConstraints72); GridBagConstraints gridBagConstraints17 = new GridBagConstraints(); gridBagConstraints17.insets = new Insets(0, 0, 0, 5); gridBagConstraints17.fill = GridBagConstraints.VERTICAL; gridBagConstraints17.gridy = 28; gridBagConstraints17.weightx = 1.0; gridBagConstraints17.anchor = GridBagConstraints.WEST; gridBagConstraints17.gridx = 1; jPanel.add(getJComboBoxFeatures(), gridBagConstraints17); GridBagConstraints gridBagConstraints104 = new GridBagConstraints(); gridBagConstraints104.insets = new Insets(0, 0, 0, 5); gridBagConstraints104.gridx = 3; gridBagConstraints104.anchor = GridBagConstraints.EAST; gridBagConstraints104.gridy = 28; jLabel37 = new JLabel(); jLabel37.setText("Prep Type"); jPanel.add(jLabel37, gridBagConstraints104); GridBagConstraints gridBagConstraints152 = new GridBagConstraints(); gridBagConstraints152.insets = new Insets(0, 0, 0, 0); gridBagConstraints152.fill = GridBagConstraints.BOTH; gridBagConstraints152.gridy = 28; gridBagConstraints152.weightx = 1.0; gridBagConstraints152.anchor = GridBagConstraints.WEST; gridBagConstraints152.gridwidth = 4; gridBagConstraints152.gridx = 4; jPanel.add(getJTextFieldPrepType(), gridBagConstraints152); GridBagConstraints gridBagConstraintsPR = new GridBagConstraints(); gridBagConstraintsPR.insets = new Insets(0, 0, 0, 0); gridBagConstraintsPR.gridx = 0; gridBagConstraintsPR.fill = GridBagConstraints.BOTH; gridBagConstraintsPR.gridwidth = 8; gridBagConstraintsPR.weighty = 1.0; gridBagConstraintsPR.gridy = 29; jPanel.add(getJScrollPaneSpecimenParts(), gridBagConstraintsPR); GridBagConstraints gbc_lblMicrohabitat = new GridBagConstraints(); gbc_lblMicrohabitat.anchor = GridBagConstraints.EAST; gbc_lblMicrohabitat.insets = new Insets(0, 0, 0, 5); gbc_lblMicrohabitat.gridx = 0; gbc_lblMicrohabitat.gridy = 34; jPanel.add(getLblMicrohabitat(), gbc_lblMicrohabitat); GridBagConstraints gbc_textField = new GridBagConstraints(); gbc_textField.insets = new Insets(0, 0, 0, 5); gbc_textField.fill = GridBagConstraints.HORIZONTAL; gbc_textField.gridx = 1; gbc_textField.gridy = 34; jPanel.add(getTextField(), gbc_textField); jPanel.add(getJButton(), gridBagConstraints10); jPanel.add(jLabel5, gridBagConstraints21); jPanel.add(getJTextFieldCollection(), gridBagConstraints31); jPanel.add(jLabel6, gridBagConstraints41); jPanel.add(getJTextField14(), gridBagConstraints12); jPanel.add(getJScrollPaneCollectors(), gridBagConstraints51); jPanel.add(jLabel7, gridBagConstraints22); jPanel.add(jLabel8, gridBagConstraints13); jPanel.add(getJTextFieldDateUpdated(), gridBagConstraints23); jPanel.add(getJTextField22(), gridBagConstraints14); jPanel.add(jLabel9, gridBagConstraints24); jPanel.add(getJTextField32(), gridBagConstraints32); jPanel.add(jLabel10, gridBagConstraints42); jPanel.add(jLabel11, gridBagConstraints15); jPanel.add(getJScrollPaneNumbers(), gridBagConstraints25); jPanel.add(getJButtonNumbersAdd(), gridBagConstraints33); jPanel.add(getJButtonCollsAdd(), gridBagConstraints43); jPanel.add(getJScrollPaneWarn(), gridBagConstraints52); jPanel.add(jLabel12, gridBagConstraints61); jPanel.add(getJTextField(), gridBagConstraints71); jPanel.add(jLabel13, gridBagConstraints81); jPanel.add(jLabel14, gridBagConstraints91); jPanel.add(jLabel15, gridBagConstraints101); jPanel.add(getJTextField4(), gridBagConstraints111); jPanel.add(getJTextField13(), gridBagConstraints121); jPanel.add(getJTextField23(), gridBagConstraints131); jPanel.add(jLabel16, gridBagConstraints16); jPanel.add(jLabel17, gridBagConstraints26); jPanel.add(jLabelTribe, gbc_jLabelTribe); jPanel.add(getJTextField5(), gridBagConstraints44); jPanel.add(getJTextFieldSubfamily(), gridBagConstraints53); jPanel.add(getJTextFieldTribe(), gridBagConstraints62); jPanel.add(jLabel20, gridBagConstraints82); jPanel.add(jLabel21, gridBagConstraints92); jPanel.add(getJComboBoxSex(), gridBagConstraints102); jPanel.add(getJComboBoxLifeStage(), gridBagConstraints27); jPanel.add(jLabel22, gridBagConstraints35); jPanel.add(getJTextFieldVerbatimDate(), gridBagConstraints63); jPanel.add(jLabel27, gridBagConstraints110); jPanel.add(jLabel29, gridBagConstraints112); jPanel.add(getJTextFieldAuthorship(), gridBagConstraints210); jPanel.add(jLabel30, gridBagConstraints36); jPanel.add(getJTextFieldUnnamedForm(), gridBagConstraints46); jPanel.add(jLabel28, gridBagConstraints74); jPanel.add(getJTextFieldInfraspecificRank(), gridBagConstraints84); jPanel.add(getJTextFieldInfraspecificName(), gridBagConstraints93); jPanel.add(jLabel25, gridBagConstraints103); jPanel.add(jLabel26, gridBagConstraints113); jPanel.add(getJTextFieldDateEmergedIndicator(), gridBagConstraints122); jPanel.add(getJTextFieldDateCollectedIndicator(), gridBagConstraints132); jPanel.add(getJTextFieldDateEmerged(), gridBagConstraints141); jPanel.add(getJTextFieldDateCollected(), gridBagConstraints151); jPanel.add(jLabelElevation, gbc_jLabelElevation); jPanel.add(getJTextField11(), gridBagConstraints18); jPanel.add(getJTextFieldCollectingMethod(), gridBagConstraints19); jPanel.add(getJButtonGeoreference(), gbc_georef); jPanel.add(jLabel34, gridBagConstraints47); jPanel.add(jLabel35, gridBagConstraints65); jPanel.add(getJCheckBox(), gridBagConstraints83); jPanel.add(jLabel36, gridBagConstraints94); jPanel.add(jLabel38, gridBagConstraints114); jPanel.add(jLabel39, gridBagConstraints123); jPanel.add(jLabel40, gridBagConstraints133); jPanel.add(getJTextField20(), gridBagConstraints142); jPanel.add(getJTextField26(), gridBagConstraints162); jPanel.add(getJTextFieldHabitat(), gridBagConstraints172); jPanel.add(jLabel41, gridBagConstraints115); jPanel.add(getJComboBoxWorkflowStatus(), gridBagConstraints29); jPanel.add(jLabel42, gridBagConstraints37); jPanel.add(getJComboBox2(), gridBagConstraints48); jPanel.add(jLabel43, gridBagConstraints56); jPanel.add(getJTextFieldInferences(), gridBagConstraintsInfer); jPanel.add(getJButton1(), gridBagConstraints116); jPanel.add(getJPanel1(), gridBagConstraints211); jPanel.add(getJTextFieldISODate(), gridBagConstraints117); jPanel.add(getJButtonDets(), gridBagConstraints212); jPanel.add(jLabel31, gridBagConstraints118); jPanel.add(getJTextField9(), gridBagConstraints213); jPanel.add(getJButtonNext(), gridBagConstraints119); jPanel.add(getJButtonPrevious(), gridBagConstraints214); jPanel.add(getJScrollPaneNotes(), gridBagConstraints49); jPanel.add(jLabel44, gridBagConstraints120); jPanel.add(getJButton13(), gridBagConstraints215); jPanel.add(getJButton2(), gridBagConstraints38); jPanel.add(getJButtonSpecificLocality(), gridBagConstraints124); jPanel.add(getJTextFieldImgCount(), gridBagConstraintsImgCount); jPanel.add(getJLabelMigrationStatus(), gridBagConstraintsMS); } return jPanel; }
From source file:net.jradius.client.gui.JRadiusSimulator.java
/** * This method initializes sendOptionsPanel * //from ww w .j a v a2 s .c om * @return javax.swing.JPanel */ private JPanel getSendOptionsPanel() { if (sendOptionsPanel == null) { GridBagConstraints gridBagConstraints = new GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints1.weightx = 1.0; GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints2.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); gridBagConstraints3.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints3.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints3.weightx = 1.0; GridBagConstraints gridBagConstraints4 = new GridBagConstraints(); gridBagConstraints4.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints4.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints5 = new GridBagConstraints(); gridBagConstraints5.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints5.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints5.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints5.weightx = 1.0; GridBagConstraints gridBagConstraints6 = new GridBagConstraints(); gridBagConstraints6.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints6.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints7 = new GridBagConstraints(); gridBagConstraints7.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints7.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints7.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints7.weightx = 1.0; GridBagConstraints gridBagConstraints8 = new GridBagConstraints(); gridBagConstraints8.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints8.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints9 = new GridBagConstraints(); gridBagConstraints9.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints9.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints9.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints9.weightx = 1.0; GridBagConstraints gridBagConstraints10 = new GridBagConstraints(); gridBagConstraints10.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints10.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints11 = new GridBagConstraints(); gridBagConstraints11.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints11.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints11.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints11.weightx = 1.0; GridBagConstraints gridBagConstraints12 = new GridBagConstraints(); gridBagConstraints12.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints12.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints13 = new GridBagConstraints(); gridBagConstraints13.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints13.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints13.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints13.weightx = 1.0; GridBagConstraints gridBagConstraints14 = new GridBagConstraints(); gridBagConstraints14.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints14.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraints15 = new GridBagConstraints(); gridBagConstraints15.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints15.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints15.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints15.weightx = 1.0; GridBagConstraints gridBagConstraints16 = new GridBagConstraints(); gridBagConstraints16.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints16.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints16.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints16.weightx = 1.0; gridBagConstraints16.gridx = 1; JLabel authenticationProtocolLabel = new JLabel(); authenticationProtocolLabel.setText("Authentication Protocol:"); JLabel sharedSecretLabel = new JLabel(); sharedSecretLabel.setText("Shared Secret:"); radiusServerLabel = new JLabel(); radiusServerLabel.setText("RADIUS Server:"); JLabel simulationTypeLabel = new JLabel(); simulationTypeLabel.setText("Simulation Type:"); JLabel checkStandardLabel = new JLabel(); checkStandardLabel.setText("Verify Standard:"); JLabel radiusAuthPortLabel = new JLabel(); radiusAuthPortLabel.setText("Auth Port:"); JLabel radiusAcctPortLabel = new JLabel(); radiusAcctPortLabel.setText("Acct Port:"); JLabel radiusRetriesLabel = new JLabel(); radiusRetriesLabel.setText("Send Retries:"); JLabel radiusTimeoutLabel = new JLabel(); radiusTimeoutLabel.setText("Send Timeout (sec):"); JLabel radiusInterimIntervalLabel = new JLabel(); radiusInterimIntervalLabel.setText("Interim Interval (sec):"); JLabel sessionTimeLabel = new JLabel(); sessionTimeLabel.setText("Session Duration (sec):"); JLabel requestersLabel = new JLabel(); requestersLabel.setText("Requester Threads:"); JLabel requestsLabel = new JLabel(); requestsLabel.setText("Requests per Thread:"); GridBagLayout gridBagLayout = new GridBagLayout(); sendOptionsPanel = new JPanel(); sendOptionsPanel.setLayout(gridBagLayout); sendOptionsPanel.add(new JLabel("Transport"), gridBagConstraints); sendOptionsPanel.add(getTransportTypeComboBox(), gridBagConstraints1); sendOptionsPanel.add(radiusServerLabel, gridBagConstraints); sendOptionsPanel.add(getRadiusServerTextField(), gridBagConstraints1); sendOptionsPanel.add(sharedSecretLabel, gridBagConstraints2); sendOptionsPanel.add(getSharedSecretTextField(), gridBagConstraints3); sendOptionsPanel.add(radiusAuthPortLabel, gridBagConstraints8); sendOptionsPanel.add(getRadiusAuthPortTextField(), gridBagConstraints9); sendOptionsPanel.add(radiusAcctPortLabel, gridBagConstraints10); sendOptionsPanel.add(getRadiusAcctPortTextField(), gridBagConstraints11); sendOptionsPanel.add(radiusTimeoutLabel, gridBagConstraints12); sendOptionsPanel.add(getRadiusTimeoutTextField(), gridBagConstraints13); sendOptionsPanel.add(radiusRetriesLabel, gridBagConstraints12); sendOptionsPanel.add(getRadiusRetriesTextField(), gridBagConstraints13); sendOptionsPanel.add(requestersLabel, gridBagConstraints12); sendOptionsPanel.add(getRequestersTextField(), gridBagConstraints13); sendOptionsPanel.add(requestsLabel, gridBagConstraints12); sendOptionsPanel.add(getRequestsTextField(), gridBagConstraints13); sendOptionsPanel.add(simulationTypeLabel, gridBagConstraints4); sendOptionsPanel.add(getSimulationTypeComboBox(), gridBagConstraints5); sendOptionsPanel.add(authenticationProtocolLabel, gridBagConstraints6); sendOptionsPanel.add(getAuthTypeComboBox(), gridBagConstraints7); sendOptionsPanel.add(checkStandardLabel, gridBagConstraints6); sendOptionsPanel.add(getCheckStandardComboBox(), gridBagConstraints7); //sendOptionsPanel.add(sessionTimeLabel, gridBagConstraints12); //sendOptionsPanel.add(getSessionTimeTextField(), gridBagConstraints13); //sendOptionsPanel.add(radiusInterimIntervalLabel, gridBagConstraints12); //sendOptionsPanel.add(getRadiusInterimIntervalTextField(), gridBagConstraints13); sendOptionsPanel.add(getOptionsLabel(), gridBagConstraints14); sendOptionsPanel.add(getGenerateAcctSessionIdCheckBox(), gridBagConstraints15); sendOptionsPanel.add(getNotStopOnRejectCheckBox(), gridBagConstraints16); sendOptionsPanel.add(getSendClassAttributeCheckBox(), gridBagConstraints16); sendOptionsPanel.add(getDoLogCheckBox(), gridBagConstraints16); sendOptionsPanel.add(getFloodCheckBox(), gridBagConstraints16); } return sendOptionsPanel; }
From source file:org.languagetool.gui.Main.java
private void tagTextAndDisplayResults() { JLanguageTool langTool = ltSupport.getLanguageTool(); // tag text/* w ww . java 2 s.c o m*/ List<String> sentences = langTool.sentenceTokenize(textArea.getText()); StringBuilder sb = new StringBuilder(); if (taggerShowsDisambigLog) { sb.append("<table>"); sb.append("<tr>"); sb.append("<td><b>"); sb.append(messages.getString("token")); sb.append("</b></td>"); sb.append("<td><b>"); sb.append(messages.getString("disambiguatorLog")); sb.append("</b></td>"); sb.append("</tr>"); boolean odd = true; try { for (String sent : sentences) { AnalyzedSentence analyzed = langTool.getAnalyzedSentence(sent); odd = appendTagsWithDisambigLog(sb, analyzed, odd); } } catch (Exception e) { sb.append(getStackTraceAsHtml(e)); } sb.append("</table>"); } else { try { for (String sent : sentences) { AnalyzedSentence analyzed = langTool.getAnalyzedSentence(sent); String analyzedString = StringTools.escapeHTML(analyzed.toString(",")) .replace("<S>", "<S><br>").replace("[", "<font color='" + TAG_COLOR + "'>[") .replace("]", "]</font><br>"); sb.append(analyzedString).append('\n'); } } catch (Exception e) { sb.append(getStackTraceAsHtml(e)); } } SwingUtilities.invokeLater(new Runnable() { @Override public void run() { if (taggerDialog == null) { taggerDialog = new JDialog(frame); taggerDialog.setTitle(messages.getString("taggerWindowTitle")); taggerDialog.setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE); taggerDialog.setResizable(true); taggerDialog.setSize(640, 480); taggerDialog.setLocationRelativeTo(frame); KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0); ActionListener actionListener = actionEvent -> taggerDialog.setVisible(false); taggerDialog.getRootPane().registerKeyboardAction(actionListener, stroke, JComponent.WHEN_IN_FOCUSED_WINDOW); JPanel panel = new JPanel(new GridBagLayout()); taggerDialog.add(panel); taggerArea = new JTextPane(); taggerArea.setContentType("text/html"); taggerArea.setEditable(false); GridBagConstraints c = new GridBagConstraints(); c.gridx = 0; c.gridwidth = 2; c.gridy = 0; c.weightx = 1.0; c.weighty = 1.0; c.insets = new Insets(8, 8, 4, 8); c.fill = GridBagConstraints.BOTH; panel.add(new JScrollPane(taggerArea), c); c.gridwidth = 1; c.gridx = 0; c.gridy = 1; c.weightx = 0.0; c.weighty = 0.0; c.insets = new Insets(4, 8, 8, 8); c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.EAST; JCheckBox showDisAmbig = new JCheckBox(messages.getString("ShowDisambiguatorLog")); showDisAmbig.setSelected(taggerShowsDisambigLog); showDisAmbig.addItemListener((ItemEvent e) -> { taggerShowsDisambigLog = e.getStateChange() == ItemEvent.SELECTED; ltSupport.getConfig().setTaggerShowsDisambigLog(taggerShowsDisambigLog); }); panel.add(showDisAmbig, c); c.gridx = 1; JButton closeButton = new JButton(messages.getString("guiCloseButton")); closeButton.addActionListener(actionListener); panel.add(closeButton, c); } // orientation each time should be set as language may is changed taggerDialog.applyComponentOrientation( ComponentOrientation.getOrientation(languageBox.getSelectedLanguage().getLocale())); taggerDialog.setVisible(true); taggerArea.setText(HTML_FONT_START + sb + HTML_FONT_END); } }); }
From source file:com.marginallyclever.makelangelo.MainGUI.java
protected void AdjustGraphics() { final Preferences graphics_prefs = Preferences.userRoot().node("DrawBot").node("Graphics"); final JDialog driver = new JDialog(mainframe, translator.get("MenuGraphicsTitle"), true); driver.setLayout(new GridBagLayout()); //final JCheckBox allow_metrics = new JCheckBox(String.valueOf("I want to add the distance drawn to the // total")); //allow_metrics.setSelected(allowMetrics); final JCheckBox show_pen_up = new JCheckBox(translator.get("MenuGraphicsPenUp")); final JCheckBox antialias_on = new JCheckBox(translator.get("MenuGraphicsAntialias")); final JCheckBox speed_over_quality = new JCheckBox(translator.get("MenuGraphicsSpeedVSQuality")); final JCheckBox draw_all_while_running = new JCheckBox(translator.get("MenuGraphicsDrawWhileRunning")); show_pen_up.setSelected(graphics_prefs.getBoolean("show pen up", false)); antialias_on.setSelected(graphics_prefs.getBoolean("antialias", true)); speed_over_quality.setSelected(graphics_prefs.getBoolean("speed over quality", true)); draw_all_while_running.setSelected(graphics_prefs.getBoolean("Draw all while running", true)); final JButton cancel = new JButton(translator.get("Cancel")); final JButton save = new JButton(translator.get("Save")); GridBagConstraints c = new GridBagConstraints(); //c.gridwidth=4; c.gridx=0; c.gridy=0; driver.add(allow_metrics,c); int y = 0;//from w w w.j ava 2 s.co m c.anchor = GridBagConstraints.WEST; c.gridwidth = 1; c.gridx = 1; c.gridy = y; driver.add(show_pen_up, c); y++; c.anchor = GridBagConstraints.WEST; c.gridwidth = 1; c.gridx = 1; c.gridy = y; driver.add(draw_all_while_running, c); y++; c.anchor = GridBagConstraints.WEST; c.gridwidth = 1; c.gridx = 1; c.gridy = y; driver.add(antialias_on, c); y++; c.anchor = GridBagConstraints.WEST; c.gridwidth = 1; c.gridx = 1; c.gridy = y; driver.add(speed_over_quality, c); y++; c.anchor = GridBagConstraints.EAST; c.gridwidth = 1; c.gridx = 2; c.gridy = y; driver.add(save, c); c.anchor = GridBagConstraints.WEST; c.gridwidth = 1; c.gridx = 3; c.gridy = y; driver.add(cancel, c); ActionListener driveButtons = new ActionListener() { public void actionPerformed(ActionEvent e) { Object subject = e.getSource(); if (subject == save) { //allowMetrics = allow_metrics.isSelected(); graphics_prefs.putBoolean("show pen up", show_pen_up.isSelected()); graphics_prefs.putBoolean("antialias", antialias_on.isSelected()); graphics_prefs.putBoolean("speed over quality", speed_over_quality.isSelected()); graphics_prefs.putBoolean("Draw all while running", draw_all_while_running.isSelected()); previewPane.setShowPenUp(show_pen_up.isSelected()); driver.dispose(); } if (subject == cancel) { driver.dispose(); } } }; save.addActionListener(driveButtons); cancel.addActionListener(driveButtons); driver.getRootPane().setDefaultButton(save); driver.pack(); driver.setVisible(true); }
From source file:de.tor.tribes.ui.views.DSWorkbenchReportFrame.java
/** * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this * method is always regenerated by the Form Editor. *//* w w w .ja v a 2 s . c o m*/ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; jCreateStatsFrame = new javax.swing.JFrame(); jPanel2 = new javax.swing.JPanel(); jLabel6 = new javax.swing.JLabel(); jScrollPane2 = new javax.swing.JScrollPane(); jReportSetsForStatsList = new javax.swing.JList(); jButton10 = new javax.swing.JButton(); jPanel3 = new javax.swing.JPanel(); jLabel7 = new javax.swing.JLabel(); jScrollPane3 = new javax.swing.JScrollPane(); jList1 = new javax.swing.JList(); jResultTabbedPane = new javax.swing.JTabbedPane(); jPanel4 = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); jOverallStatsArea = new javax.swing.JTextPane(); jPanel5 = new javax.swing.JPanel(); jScrollPane5 = new javax.swing.JScrollPane(); jAllyStatsArea = new javax.swing.JTextPane(); jPanel6 = new javax.swing.JPanel(); jScrollPane6 = new javax.swing.JScrollPane(); jTribeStatsArea = new javax.swing.JTextPane(); capabilityInfoPanel2 = new de.tor.tribes.ui.components.CapabilityInfoPanel(); jXReportsPanel = new org.jdesktop.swingx.JXPanel(); jReportsTabbedPane = new javax.swing.JTabbedPane(); jNewPlanPanel = new javax.swing.JPanel(); jLabel10 = new javax.swing.JLabel(); jxSearchPane = new org.jdesktop.swingx.JXPanel(); jXPanel2 = new org.jdesktop.swingx.JXPanel(); jButton15 = new javax.swing.JButton(); jTextField1 = new javax.swing.JTextField(); jLabel21 = new javax.swing.JLabel(); jFilterRows = new javax.swing.JCheckBox(); jFilterCaseSensitive = new javax.swing.JCheckBox(); jScrollPane8 = new javax.swing.JScrollPane(); jXColumnList = new org.jdesktop.swingx.JXList(); jLabel22 = new javax.swing.JLabel(); jPanel7 = new javax.swing.JPanel(); jGuessUnknownLosses = new javax.swing.JCheckBox(); jUseSilentKillsBox = new javax.swing.JCheckBox(); jCheckBox3 = new javax.swing.JCheckBox(); jShowPercentsBox = new javax.swing.JCheckBox(); jAlwaysOnTopBox = new javax.swing.JCheckBox(); jReportsPanel = new javax.swing.JPanel(); capabilityInfoPanel1 = new de.tor.tribes.ui.components.CapabilityInfoPanel(); jCreateStatsFrame.setTitle("Kampfstatistiken"); jPanel2.setBackground(new java.awt.Color(239, 235, 223)); jLabel6.setText("Verwendete Berichtsets"); jScrollPane2.setPreferredSize(new java.awt.Dimension(258, 100)); jScrollPane2.setViewportView(jReportSetsForStatsList); jButton10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/ui/select.png"))); // NOI18N jButton10.setText("Auswerten"); jButton10.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { fireDoCreateStatsEvent(evt); } }); jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Ergebnisse")); jPanel3.setOpaque(false); jLabel7.setText("Angezeigte Stmme"); jScrollPane3.setMaximumSize(new java.awt.Dimension(140, 130)); jScrollPane3.setMinimumSize(new java.awt.Dimension(140, 130)); jScrollPane3.setPreferredSize(new java.awt.Dimension(140, 130)); jScrollPane3.setViewportView(jList1); jResultTabbedPane.setBackground(new java.awt.Color(239, 235, 223)); jPanel4.setOpaque(false); jPanel4.setLayout(new java.awt.BorderLayout()); jOverallStatsArea.setContentType("text/html"); // NOI18N jOverallStatsArea.setEditable(false); jScrollPane1.setViewportView(jOverallStatsArea); jPanel4.add(jScrollPane1, java.awt.BorderLayout.CENTER); jResultTabbedPane.addTab("Gesamtbersicht", new javax.swing.ImageIcon(getClass().getResource("/res/ui/chart.png")), jPanel4); // NOI18N jPanel5.setBackground(new java.awt.Color(239, 235, 223)); jPanel5.setLayout(new java.awt.BorderLayout()); jAllyStatsArea.setContentType("text/html"); // NOI18N jAllyStatsArea.setEditable(false); jScrollPane5.setViewportView(jAllyStatsArea); jPanel5.add(jScrollPane5, java.awt.BorderLayout.CENTER); jResultTabbedPane.addTab("Stmme", new javax.swing.ImageIcon(getClass().getResource("/res/ally.png")), jPanel5); // NOI18N jPanel6.setBackground(new java.awt.Color(239, 235, 223)); jPanel6.setLayout(new java.awt.BorderLayout()); jTribeStatsArea.setContentType("text/html"); // NOI18N jTribeStatsArea.setEditable(false); jScrollPane6.setViewportView(jTribeStatsArea); jPanel6.add(jScrollPane6, java.awt.BorderLayout.CENTER); jResultTabbedPane.addTab("Spieler", new javax.swing.ImageIcon(getClass().getResource("/res/face.png")), jPanel6); // NOI18N javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup(jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jResultTabbedPane, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 570, Short.MAX_VALUE) .addGroup(jPanel3Layout.createSequentialGroup().addComponent(jLabel7) .addGap(18, 18, 18).addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 457, Short.MAX_VALUE))) .addContainerGap())); jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel7).addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jResultTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 215, Short.MAX_VALUE) .addContainerGap())); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup(jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jPanel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup().addComponent(jLabel6) .addGap(18, 18, 18).addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE)) .addComponent(jButton10)) .addContainerGap())); jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel6).addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jButton10) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())); capabilityInfoPanel2.setCopyable(false); capabilityInfoPanel2.setDeletable(false); capabilityInfoPanel2.setPastable(false); capabilityInfoPanel2.setSearchable(false); javax.swing.GroupLayout jCreateStatsFrameLayout = new javax.swing.GroupLayout( jCreateStatsFrame.getContentPane()); jCreateStatsFrame.getContentPane().setLayout(jCreateStatsFrameLayout); jCreateStatsFrameLayout.setHorizontalGroup( jCreateStatsFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jCreateStatsFrameLayout.createSequentialGroup().addContainerGap() .addGroup(jCreateStatsFrameLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(capabilityInfoPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap())); jCreateStatsFrameLayout.setVerticalGroup(jCreateStatsFrameLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jCreateStatsFrameLayout.createSequentialGroup().addContainerGap() .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(capabilityInfoPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); jXReportsPanel.setLayout(new java.awt.BorderLayout()); jXReportsPanel.add(jReportsTabbedPane, java.awt.BorderLayout.CENTER); jNewPlanPanel.setOpaque(false); jNewPlanPanel.setLayout(new java.awt.BorderLayout()); jLabel10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/ui/document_new_24x24.png"))); // NOI18N jLabel10.setToolTipText("Leeres Berichtset erstellen"); jLabel10.setEnabled(false); jLabel10.setMaximumSize(new java.awt.Dimension(40, 40)); jLabel10.setMinimumSize(new java.awt.Dimension(40, 40)); jLabel10.setPreferredSize(new java.awt.Dimension(40, 40)); jLabel10.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { fireEnterEvent(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { fireExitEvent(evt); } public void mouseReleased(java.awt.event.MouseEvent evt) { fireCreateAttackPlanEvent(evt); } }); jNewPlanPanel.add(jLabel10, java.awt.BorderLayout.CENTER); jxSearchPane.setOpaque(false); jxSearchPane.setLayout(new java.awt.GridBagLayout()); jXPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jXPanel2.setInheritAlpha(false); jButton15.setText("Anwenden"); jButton15.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseReleased(java.awt.event.MouseEvent evt) { jButton15fireHideGlassPaneEvent(evt); } }); jTextField1.addCaretListener(new javax.swing.event.CaretListener() { public void caretUpdate(javax.swing.event.CaretEvent evt) { jTextField1fireHighlightEvent(evt); } }); jLabel21.setText("Suchbegriff"); jFilterRows.setText("Nur gefilterte Zeilen anzeigen"); jFilterRows.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { jFilterRowsfireUpdateFilterEvent(evt); } }); jFilterCaseSensitive.setText("Gro-/Kleinschreibung beachten"); jFilterCaseSensitive.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { jFilterCaseSensitivefireUpdateFilterEvent(evt); } }); jXColumnList.setModel(new javax.swing.AbstractListModel() { String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" }; public int getSize() { return strings.length; } public Object getElementAt(int i) { return strings[i]; } }); jXColumnList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane8.setViewportView(jXColumnList); jLabel22.setText("Spalten"); javax.swing.GroupLayout jXPanel2Layout = new javax.swing.GroupLayout(jXPanel2); jXPanel2.setLayout(jXPanel2Layout); jXPanel2Layout .setHorizontalGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jXPanel2Layout.createSequentialGroup().addContainerGap().addGroup(jXPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel22, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(18, 18, 18) .addGroup(jXPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jXPanel2Layout.createSequentialGroup() .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addGroup(jXPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jXPanel2Layout.createParallelGroup( javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jFilterRows, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jFilterCaseSensitive, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(jButton15))) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 355, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jXPanel2Layout.setVerticalGroup(jXPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jXPanel2Layout.createSequentialGroup().addContainerGap().addGroup(jXPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel21) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jXPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jXPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jXPanel2Layout .createSequentialGroup().addComponent(jFilterCaseSensitive) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jFilterRows) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton15)) .addComponent(jScrollPane8, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel22)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); jxSearchPane.add(jXPanel2, new java.awt.GridBagConstraints()); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Optionen")); jPanel7.setOpaque(false); jGuessUnknownLosses.setSelected(true); jGuessUnknownLosses.setText("Gegnerische Verluste schtzen, falls unbekannt"); jGuessUnknownLosses.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { fireStatOptionsChangedEvent(evt); } }); jUseSilentKillsBox.setSelected(true); jUseSilentKillsBox.setText("Auswrtige Einheiten bei Adelung als Verlust werten"); jUseSilentKillsBox.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { fireStatOptionsChangedEvent(evt); } }); jCheckBox3.setSelected(true); jCheckBox3.setText("Verluste pro Angreifer/Verteidiger anzeigen"); jCheckBox3.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { fireStatOptionsChangedEvent(evt); } }); jShowPercentsBox.setText("Prozentuale Anteile anzeigen"); jShowPercentsBox.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { fireStatOptionsChangedEvent(evt); } }); javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup(jPanel7Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup().addContainerGap() .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jGuessUnknownLosses).addComponent(jUseSilentKillsBox) .addComponent(jCheckBox3).addComponent(jShowPercentsBox)))); jPanel7Layout.setVerticalGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup().addContainerGap().addComponent(jGuessUnknownLosses) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jUseSilentKillsBox) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jCheckBox3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jShowPercentsBox).addContainerGap(23, Short.MAX_VALUE))); setTitle("Berichtsdatenbank"); getContentPane().setLayout(new java.awt.GridBagLayout()); jAlwaysOnTopBox.setText("Immer im Vordergrund"); jAlwaysOnTopBox.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent evt) { fireAlwaysOnTopEvent(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); getContentPane().add(jAlwaysOnTopBox, gridBagConstraints); jReportsPanel.setBackground(new java.awt.Color(239, 235, 223)); jReportsPanel.setPreferredSize(new java.awt.Dimension(500, 400)); jReportsPanel.setLayout(new java.awt.BorderLayout()); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.ipadx = 500; gridBagConstraints.ipady = 400; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; getContentPane().add(jReportsPanel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); getContentPane().add(capabilityInfoPanel1, gridBagConstraints); pack(); }
From source file:net.jradius.client.gui.JRadiusSimulator.java
/** * This method initializes tlsOptionsPanel * /*from w ww.j a v a 2 s . c om*/ * @return javax.swing.JPanel */ private JPanel getKeysOptionsPanel() { if (keysOptionsPanel == null) { GridBagConstraints gridBagConstraints = new GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 5); GridBagConstraints gridBagConstraintsH = new GridBagConstraints(); gridBagConstraintsH.insets = new java.awt.Insets(10, 10, 5, 10); gridBagConstraintsH.gridwidth = java.awt.GridBagConstraints.REMAINDER; GridBagConstraints gridBagConstraints0 = new GridBagConstraints(); gridBagConstraints0.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints0.insets = new java.awt.Insets(0, 0, 0, 5); gridBagConstraints0.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints0.weightx = 1.0; GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints1.insets = new java.awt.Insets(0, 0, 0, 5); gridBagConstraints1.weightx = 1.0; GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints2.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints2.insets = new java.awt.Insets(0, 0, 0, 10); GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); gridBagConstraints3.anchor = java.awt.GridBagConstraints.WEST; gridBagConstraints3.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints3.insets = new java.awt.Insets(0, 0, 0, 10); gridBagConstraints3.gridx = 1; GridBagConstraints gridBagConstraints4 = new GridBagConstraints(); gridBagConstraints4.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints4.insets = new java.awt.Insets(0, 0, 0, 5); GridBagLayout gridBagLayout = new GridBagLayout(); keysOptionsPanel = new JPanel(); keysOptionsPanel.setLayout(gridBagLayout); keysOptionsPanel.add(new JLabel("Client Certificate Java Keystore"), gridBagConstraintsH); keysOptionsPanel.add(new JLabel("File:"), gridBagConstraints); keysOptionsPanel.add(getTLSKeyFileTextField(), gridBagConstraints0); keysOptionsPanel.add(new JLabel("Password:"), gridBagConstraints); keysOptionsPanel.add(getTLSKeyPasswordTextField(), gridBagConstraints1); keysOptionsPanel.add(new JLabel("Type:"), gridBagConstraints4); keysOptionsPanel.add(getTLSKeyFileTypeComboBox(), gridBagConstraints2); keysOptionsPanel.add(new JLabel("Root CA Chain Java Keystore"), gridBagConstraintsH); keysOptionsPanel.add(new JLabel("File:"), gridBagConstraints); keysOptionsPanel.add(getTLSCAFileTextField(), gridBagConstraints0); keysOptionsPanel.add(new JLabel("Password:"), gridBagConstraints); keysOptionsPanel.add(getTLSCAPasswordTextField(), gridBagConstraints1); keysOptionsPanel.add(new JLabel("Type:"), gridBagConstraints4); keysOptionsPanel.add(getTLSCAFileTypeComboBox(), gridBagConstraints2); keysOptionsPanel.add(getOptionsLabel(), gridBagConstraints); //tlsOptionsPanel.add(getUseJavaRootCAChainCheckBox(), gridBagConstraints2); keysOptionsPanel.add(getTLSTrustAllCheckBox(), gridBagConstraints2); } return keysOptionsPanel; }
From source file:tufts.vue.ui.InspectorPane.java
/** labels & values must be of same length */ private void addLabelTextRows(int starty, JLabel[] labels, JComponent[] values, Container gridBag, Font labelFace, Font fieldFace) { // Note that the resulting alignment ends up being somehow FONT dependent! // E.g., works great with Lucida Grand (MacOSX), but with system default, // if the field value is a wrapping JTextPane (thus gets taller as window // gets narrower), the first line of text rises slightly and is no longer // in line with it's label. GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.EAST; c.weighty = 0;/*from w ww. j a v a2 s. c o m*/ c.gridheight = 1; for (int i = 0; i < labels.length; i++) { //out("ALTR[" + i + "] label=" + GUI.name(labels[i]) + " value=" + GUI.name(values[i])); boolean centerLabelVertically = false; final JLabel label = labels[i]; final JComponent field = values[i]; if (labelFace != null) GUI.apply(labelFace, label); if (field instanceof JTextComponent) { if (field instanceof JTextField) centerLabelVertically = true; // JTextComponent textField = (JTextComponent) field; // editable = textField.isEditable(); // if (field instanceof JTextArea) { // JTextArea textArea = (JTextArea) field; // c.gridheight = textArea.getRows(); // } else if (field instanceof JTextField) } else { if (fieldFace != null) GUI.apply(fieldFace, field); } //------------------------------------------------------- // Add the field label //------------------------------------------------------- c.gridx = 0; c.gridy = starty++; c.insets = labelInsets; c.gridwidth = GridBagConstraints.RELATIVE; // next-to-last in row c.fill = GridBagConstraints.NONE; // the label never grows if (centerLabelVertically) c.anchor = GridBagConstraints.EAST; else c.anchor = GridBagConstraints.NORTHEAST; c.weightx = 0.0; // do not expand gridBag.add(label, c); //------------------------------------------------------- // Add the field value //------------------------------------------------------- c.gridx = 1; c.gridwidth = GridBagConstraints.REMAINDER; // last in row c.fill = GridBagConstraints.HORIZONTAL; c.anchor = GridBagConstraints.CENTER; //c.anchor = GridBagConstraints.NORTH; c.insets = fieldInsets; c.weightx = 1.0; // field value expands horizontally to use all space gridBag.add(field, c); } // add a default vertical expander to take up extra space // (so the above stack isn't vertically centered if it // doesn't fill the space). c.weighty = 1; c.weightx = 1; c.gridx = 0; c.fill = GridBagConstraints.BOTH; c.gridwidth = GridBagConstraints.REMAINDER; JComponent defaultExpander = new JPanel(); defaultExpander.setPreferredSize(new Dimension(Short.MAX_VALUE, 1)); if (DEBUG.BOXES) { defaultExpander.setOpaque(true); defaultExpander.setBackground(Color.red); } else defaultExpander.setOpaque(false); gridBag.add(defaultExpander, c); }
From source file:com.maxl.java.amikodesk.AMiKoDesk.java
private static void createAndShowLightGUI() { // Create and setup window final JFrame jframe = new JFrame(Constants.APP_NAME); int min_width = CML_OPT_WIDTH; int min_height = CML_OPT_HEIGHT; jframe.setPreferredSize(new Dimension(min_width, min_height)); jframe.setMinimumSize(new Dimension(min_width, min_height)); Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); int x = (screen.width - min_width) / 2; int y = (screen.height - min_height) / 2; jframe.setBounds(x, y, min_width, min_height); // Action listeners jframe.addWindowListener(new WindowListener() { // Use WindowAdapter! @Override//from w w w .jav a2 s . c om public void windowOpened(WindowEvent e) { } @Override public void windowClosed(WindowEvent e) { m_web_panel.dispose(); Runtime.getRuntime().exit(0); } @Override public void windowClosing(WindowEvent e) { } @Override public void windowIconified(WindowEvent e) { } @Override public void windowDeiconified(WindowEvent e) { } @Override public void windowActivated(WindowEvent e) { } @Override public void windowDeactivated(WindowEvent e) { } }); // Container final Container container = jframe.getContentPane(); container.setBackground(Color.WHITE); container.setLayout(new BorderLayout()); // ==== Light panel ==== JPanel light_panel = new JPanel(); light_panel.setBackground(Color.WHITE); light_panel.setLayout(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); gbc.fill = GridBagConstraints.BOTH; gbc.anchor = GridBagConstraints.CENTER; gbc.insets = new Insets(2, 2, 2, 2); // ---- Section titles ---- m_section_titles = null; if (Utilities.appLanguage().equals("de")) { m_section_titles = new IndexPanel(SectionTitle_DE); } else if (Utilities.appLanguage().equals("fr")) { m_section_titles = new IndexPanel(SectionTitle_FR); } gbc.fill = GridBagConstraints.BOTH; gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 1; gbc.gridheight = 8; gbc.weightx = gbc.weighty = 0.0; // --> container.add(m_section_titles, gbc); if (m_section_titles != null) light_panel.add(m_section_titles, gbc); // ---- Fachinformation ---- m_web_panel = new WebPanel2(); gbc.fill = GridBagConstraints.BOTH; gbc.gridx = 1; gbc.gridy = 0; gbc.gridwidth = 3; gbc.gridheight = 20; gbc.weightx = 2.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.EAST; // --> container.add(m_web_panel, gbc); light_panel.add(m_web_panel, gbc); // ---- Add panel to main container ---- container.add(light_panel, BorderLayout.CENTER); // Display window jframe.pack(); // jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // jframe.setAlwaysOnTop(true); jframe.setVisible(true); // If command line options are provided start app with a particular // title or eancode if (commandLineOptionsProvided()) { final JToggleButton but_dummy = new JToggleButton("dummy_button"); if (!CML_OPT_TITLE.isEmpty()) startAppWithTitle(but_dummy); else if (!CML_OPT_EANCODE.isEmpty()) startAppWithEancode(but_dummy); else if (!CML_OPT_REGNR.isEmpty()) startAppWithRegnr(but_dummy); else if (CML_OPT_SERVER == true) { // Start thread that reads data from TCP server Thread server_thread = new Thread() { public void run() { while (true) { String tcpServerInput = ""; // Wait until new data is available from input stream // Note: the TCP client defines the update rate! // System.out.print("Waiting for input..."); while ((tcpServerInput = mTcpServer.getInput()).isEmpty()) ; /* * Important note: we use invokeLater to post a "job" to Swing, which will then be run on the * event dispatch thread at Swing's next convenience. Failing to do so will freeze the main thread. */ // Detect type of search (t=title, e=eancode, r=regnr) char typeOfSearch = tcpServerInput.charAt(0); if (typeOfSearch == 't') { // Extract title from received string CML_OPT_TITLE = tcpServerInput.substring(2); // System.out.println(" title -> " + // CML_OPT_TITLE); // Post a "job" to Swing, which will be run on // the event dispatch thread // at its next convenience. SwingUtilities.invokeLater(new Runnable() { public void run() { startAppWithTitle(but_dummy); } }); } else if (typeOfSearch == 'e') { // Extract ean code from received string CML_OPT_EANCODE = tcpServerInput.substring(2); // System.out.println(" eancode -> " + // CML_OPT_EANCODE); // Post a "job" to Swing, which will be run on // the event dispatch thread // at its next convenience. SwingUtilities.invokeLater(new Runnable() { public void run() { startAppWithEancode(but_dummy); } }); } else if (typeOfSearch == 'r') { // Extract registration number from received // string CML_OPT_REGNR = tcpServerInput.substring(2); // System.out.println(" regnr -> " + // CML_OPT_REGNR); // Post a "job" to Swing, which will be run on // the event dispatch thread // at its next convenience. SwingUtilities.invokeLater(new Runnable() { public void run() { startAppWithRegnr(but_dummy); } }); } } } }; server_thread.start(); } } }
From source file:net.jradius.client.gui.JRadiusSimulator.java
/** * This method initializes openUrlContentPane * /*www .j av a 2s . c o m*/ * @return javax.swing.JPanel */ private JPanel getOpenUrlContentPane() { if (openUrlContentPane == null) { GridBagConstraints gridBagConstraints = new GridBagConstraints(); gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints.insets = new java.awt.Insets(25, 25, 10, 25); GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); gridBagConstraints1.insets = new java.awt.Insets(0, 25, 0, 5); gridBagConstraints1.anchor = java.awt.GridBagConstraints.EAST; GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints2.insets = new java.awt.Insets(0, 0, 0, 25); gridBagConstraints2.weightx = 1.0; GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints3.gridwidth = java.awt.GridBagConstraints.REMAINDER; gridBagConstraints3.insets = new java.awt.Insets(0, 25, 25, 25); JLabel openUrlLabel = new JLabel(); openUrlLabel.setText("URL:"); openUrlStatusLabel = new JLabel(); GridBagLayout gridBagLayout = new GridBagLayout(); openUrlContentPane = new JPanel(); openUrlContentPane.setLayout(gridBagLayout); JPanel buttonPanel = new JPanel(); buttonPanel.add(getOpenUrlButton(), null); buttonPanel.add(getCancelUrlButton(), null); openUrlContentPane.add(openUrlStatusLabel, gridBagConstraints); openUrlContentPane.add(openUrlLabel, gridBagConstraints1); openUrlContentPane.add(getOpenUrlTextField(), gridBagConstraints2); openUrlContentPane.add(buttonPanel, gridBagConstraints3); } return openUrlContentPane; }
From source file:org.wso2.appserver.sample.flickr.client.FlickrServiceFrame.java
private void setupUI() { panel1 = new JPanel(); panel1.setLayout(new GridBagLayout()); panel1.setMaximumSize(new Dimension(900, 700)); panel1.setMinimumSize(new Dimension(900, 700)); panel1.setPreferredSize(new Dimension(900, 700)); panel1.setRequestFocusEnabled(false); tabbedPane1 = new JTabbedPane(); tabbedPane1.setPreferredSize(new Dimension(900, 700)); GridBagConstraints gbc;/* w w w . ja v a 2 s. c om*/ gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel1.add(tabbedPane1, gbc); final JPanel panel2 = new JPanel(); panel2.setLayout(new GridBagLayout()); tabbedPane1.addTab("People", panel2); peopleOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel2.add(peopleOperationPane, gbc); final JPanel panel3 = new JPanel(); panel3.setLayout(new GridBagLayout()); peopleOperationPane.addTab("FindByEmail", panel3); final JLabel label1 = new JLabel(); label1.setFont(new Font(label1.getFont().getName(), Font.BOLD, label1.getFont().getSize())); label1.setHorizontalAlignment(0); label1.setHorizontalTextPosition(0); label1.setMaximumSize(new Dimension(400, 50)); label1.setMinimumSize(new Dimension(400, 50)); label1.setPreferredSize(new Dimension(400, 50)); label1.setText("Return a user's NSID, given their email address"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel3.add(label1, gbc); final JLabel label2 = new JLabel(); label2.setFont(new Font(label2.getFont().getName(), Font.BOLD, label2.getFont().getSize())); label2.setHorizontalAlignment(4); label2.setMaximumSize(new Dimension(400, 25)); label2.setMinimumSize(new Dimension(400, 25)); label2.setPreferredSize(new Dimension(400, 25)); label2.setText("E-Mail :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; panel3.add(label2, gbc); txtPeopleEmail = new JTextField(); txtPeopleEmail.setEditable(true); txtPeopleEmail.setMaximumSize(new Dimension(200, 25)); txtPeopleEmail.setMinimumSize(new Dimension(200, 25)); txtPeopleEmail.setPreferredSize(new Dimension(200, 25)); txtPeopleEmail.setRequestFocusEnabled(true); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel3.add(txtPeopleEmail, gbc); final JScrollPane scrollPane1 = new JScrollPane(); scrollPane1.setBackground(new Color(-3355444)); scrollPane1.setMaximumSize(new Dimension(550, 225)); scrollPane1.setMinimumSize(new Dimension(550, 225)); scrollPane1.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel3.add(scrollPane1, gbc); findByEmailOutput = new JTextArea(); findByEmailOutput.setBackground(new Color(-3355444)); findByEmailOutput.setEditable(false); findByEmailOutput.setText(""); scrollPane1.setViewportView(findByEmailOutput); findByEmailInvoke = new JButton(); findByEmailInvoke.setFocusCycleRoot(true); findByEmailInvoke.setFont( new Font(findByEmailInvoke.getFont().getName(), Font.BOLD, findByEmailInvoke.getFont().getSize())); findByEmailInvoke.setMaximumSize(new Dimension(100, 30)); findByEmailInvoke.setMinimumSize(new Dimension(100, 30)); findByEmailInvoke.setPreferredSize(new Dimension(100, 30)); findByEmailInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel3.add(findByEmailInvoke, gbc); final JPanel panel4 = new JPanel(); panel4.setLayout(new GridBagLayout()); peopleOperationPane.addTab("FindByUsername", panel4); final JLabel label3 = new JLabel(); label3.setFont(new Font(label3.getFont().getName(), Font.BOLD, label3.getFont().getSize())); label3.setHorizontalAlignment(0); label3.setHorizontalTextPosition(0); label3.setMaximumSize(new Dimension(400, 50)); label3.setMinimumSize(new Dimension(400, 50)); label3.setPreferredSize(new Dimension(400, 50)); label3.setText("Return a user's NSID, given their username."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 3; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel4.add(label3, gbc); final JPanel panel5 = new JPanel(); panel5.setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 3; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel4.add(panel5, gbc); findByUsernameInvoke = new JButton(); findByUsernameInvoke.setFont(new Font(findByUsernameInvoke.getFont().getName(), Font.BOLD, findByUsernameInvoke.getFont().getSize())); findByUsernameInvoke.setMaximumSize(new Dimension(100, 30)); findByUsernameInvoke.setMinimumSize(new Dimension(100, 30)); findByUsernameInvoke.setPreferredSize(new Dimension(100, 30)); findByUsernameInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.insets = new Insets(50, 0, 50, 0); panel5.add(findByUsernameInvoke, gbc); final JScrollPane scrollPane2 = new JScrollPane(); scrollPane2.setBackground(new Color(-3355444)); scrollPane2.setMaximumSize(new Dimension(550, 225)); scrollPane2.setMinimumSize(new Dimension(550, 225)); scrollPane2.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; panel5.add(scrollPane2, gbc); findByUsernameOutput = new JEditorPane(); findByUsernameOutput.setBackground(new Color(-3355444)); findByUsernameOutput.setEditable(false); findByUsernameOutput.setForeground(new Color(-16777216)); findByUsernameOutput.setText(""); scrollPane2.setViewportView(findByUsernameOutput); final JLabel label4 = new JLabel(); label4.setFont(new Font(label4.getFont().getName(), Font.BOLD, label4.getFont().getSize())); label4.setHorizontalAlignment(4); label4.setMaximumSize(new Dimension(400, 25)); label4.setMinimumSize(new Dimension(400, 25)); label4.setPreferredSize(new Dimension(400, 25)); label4.setText("Username :"); label4.setVerifyInputWhenFocusTarget(false); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel4.add(label4, gbc); txtPeopleUsername = new JTextField(); txtPeopleUsername.setMaximumSize(new Dimension(200, 25)); txtPeopleUsername.setMinimumSize(new Dimension(200, 25)); txtPeopleUsername.setOpaque(true); txtPeopleUsername.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel4.add(txtPeopleUsername, gbc); final JPanel panel6 = new JPanel(); panel6.setLayout(new GridBagLayout()); peopleOperationPane.addTab("GetInfo", panel6); final JLabel label5 = new JLabel(); label5.setFont(new Font(label5.getFont().getName(), Font.BOLD, label5.getFont().getSize())); label5.setHorizontalAlignment(0); label5.setHorizontalTextPosition(0); label5.setMaximumSize(new Dimension(400, 50)); label5.setMinimumSize(new Dimension(400, 50)); label5.setPreferredSize(new Dimension(400, 50)); label5.setText("Get information about a user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel6.add(label5, gbc); txtUserID = new JLabel(); txtUserID.setFont(new Font(txtUserID.getFont().getName(), Font.BOLD, txtUserID.getFont().getSize())); txtUserID.setHorizontalAlignment(4); txtUserID.setMaximumSize(new Dimension(400, 25)); txtUserID.setMinimumSize(new Dimension(400, 25)); txtUserID.setPreferredSize(new Dimension(400, 25)); txtUserID.setText("User ID :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; panel6.add(txtUserID, gbc); txtPeopleGetInfo = new JTextField(); txtPeopleGetInfo.setMaximumSize(new Dimension(200, 25)); txtPeopleGetInfo.setMinimumSize(new Dimension(200, 25)); txtPeopleGetInfo.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel6.add(txtPeopleGetInfo, gbc); getInfoInvoke = new JButton(); getInfoInvoke .setFont(new Font(getInfoInvoke.getFont().getName(), Font.BOLD, getInfoInvoke.getFont().getSize())); getInfoInvoke.setMaximumSize(new Dimension(100, 30)); getInfoInvoke.setMinimumSize(new Dimension(100, 30)); getInfoInvoke.setPreferredSize(new Dimension(100, 30)); getInfoInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel6.add(getInfoInvoke, gbc); final JScrollPane scrollPane3 = new JScrollPane(); scrollPane3.setHorizontalScrollBarPolicy(30); scrollPane3.setMaximumSize(new Dimension(550, 225)); scrollPane3.setMinimumSize(new Dimension(550, 225)); scrollPane3.setPreferredSize(new Dimension(550, 225)); scrollPane3.setVerticalScrollBarPolicy(20); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel6.add(scrollPane3, gbc); getInfoOutput = new JTextArea(); getInfoOutput.setAutoscrolls(false); getInfoOutput.setBackground(new Color(-3355444)); getInfoOutput.setEditable(false); scrollPane3.setViewportView(getInfoOutput); final JPanel panel7 = new JPanel(); panel7.setLayout(new GridBagLayout()); peopleOperationPane.addTab("GetPublicGroups", panel7); final JLabel label6 = new JLabel(); label6.setFont(new Font(label6.getFont().getName(), Font.BOLD, label6.getFont().getSize())); label6.setHorizontalAlignment(0); label6.setHorizontalTextPosition(0); label6.setMaximumSize(new Dimension(400, 50)); label6.setMinimumSize(new Dimension(400, 50)); label6.setPreferredSize(new Dimension(400, 50)); label6.setText("Returns the list of public groups a user is a member of."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel7.add(label6, gbc); final JLabel label7 = new JLabel(); label7.setFont(new Font(label7.getFont().getName(), Font.BOLD, label7.getFont().getSize())); label7.setHorizontalAlignment(4); label7.setMaximumSize(new Dimension(400, 25)); label7.setMinimumSize(new Dimension(400, 25)); label7.setPreferredSize(new Dimension(400, 25)); label7.setText("User ID :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel7.add(label7, gbc); txtGetPublicGroups = new JTextField(); txtGetPublicGroups.setMaximumSize(new Dimension(200, 25)); txtGetPublicGroups.setMinimumSize(new Dimension(200, 25)); txtGetPublicGroups.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel7.add(txtGetPublicGroups, gbc); getPublicGroupsInvoke = new JButton(); getPublicGroupsInvoke.setFont(new Font(getPublicGroupsInvoke.getFont().getName(), Font.BOLD, getPublicGroupsInvoke.getFont().getSize())); getPublicGroupsInvoke.setLabel("Invoke"); getPublicGroupsInvoke.setMaximumSize(new Dimension(100, 30)); getPublicGroupsInvoke.setMinimumSize(new Dimension(100, 30)); getPublicGroupsInvoke.setPreferredSize(new Dimension(100, 30)); getPublicGroupsInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel7.add(getPublicGroupsInvoke, gbc); final JScrollPane scrollPane4 = new JScrollPane(); scrollPane4.setMaximumSize(new Dimension(550, 225)); scrollPane4.setMinimumSize(new Dimension(550, 225)); scrollPane4.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel7.add(scrollPane4, gbc); getPublicGroupsOutput = new JTextArea(); getPublicGroupsOutput.setBackground(new Color(-3355444)); getPublicGroupsOutput.setEditable(false); scrollPane4.setViewportView(getPublicGroupsOutput); final JPanel panel8 = new JPanel(); panel8.setLayout(new GridBagLayout()); peopleOperationPane.addTab("GetPublicPhotos", panel8); final JLabel label8 = new JLabel(); label8.setFont(new Font(label8.getFont().getName(), Font.BOLD, label8.getFont().getSize())); label8.setHorizontalAlignment(0); label8.setMaximumSize(new Dimension(400, 50)); label8.setMinimumSize(new Dimension(400, 50)); label8.setPreferredSize(new Dimension(400, 50)); label8.setText("Get a list of public photos for the given user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel8.add(label8, gbc); final JLabel label9 = new JLabel(); label9.setFont(new Font(label9.getFont().getName(), Font.BOLD, label9.getFont().getSize())); label9.setHorizontalAlignment(4); label9.setHorizontalTextPosition(4); label9.setMaximumSize(new Dimension(400, 25)); label9.setMinimumSize(new Dimension(400, 25)); label9.setPreferredSize(new Dimension(400, 25)); label9.setText("User ID :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel8.add(label9, gbc); txtGetPublicPhotos = new JTextField(); txtGetPublicPhotos.setMaximumSize(new Dimension(200, 25)); txtGetPublicPhotos.setMinimumSize(new Dimension(200, 25)); txtGetPublicPhotos.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel8.add(txtGetPublicPhotos, gbc); getPublicPhotosInvoke = new JButton(); getPublicPhotosInvoke.setActionCommand("Button"); getPublicPhotosInvoke.setFont(new Font(getPublicPhotosInvoke.getFont().getName(), Font.BOLD, getPublicPhotosInvoke.getFont().getSize())); getPublicPhotosInvoke.setMaximumSize(new Dimension(100, 30)); getPublicPhotosInvoke.setMinimumSize(new Dimension(100, 30)); getPublicPhotosInvoke.setOpaque(true); getPublicPhotosInvoke.setPreferredSize(new Dimension(100, 30)); getPublicPhotosInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel8.add(getPublicPhotosInvoke, gbc); final JScrollPane scrollPane5 = new JScrollPane(); scrollPane5.setMaximumSize(new Dimension(550, 225)); scrollPane5.setMinimumSize(new Dimension(550, 225)); scrollPane5.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel8.add(scrollPane5, gbc); getPublicPhotosOutput = new JTextArea(); getPublicPhotosOutput.setBackground(new Color(-3355444)); getPublicPhotosOutput.setEditable(false); getPublicPhotosOutput.setText(""); scrollPane5.setViewportView(getPublicPhotosOutput); final JPanel panel9 = new JPanel(); panel9.setLayout(new GridBagLayout()); peopleOperationPane.addTab("GetUploadStatus", panel9); final JLabel label10 = new JLabel(); label10.setFont(new Font(label10.getFont().getName(), Font.BOLD, label10.getFont().getSize())); label10.setHorizontalAlignment(0); label10.setMaximumSize(new Dimension(475, 50)); label10.setMinimumSize(new Dimension(475, 50)); label10.setPreferredSize(new Dimension(475, 50)); label10.setText("Returns information for the calling user related to photo uploads."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel9.add(label10, gbc); getUploadStatusInvoke = new JButton(); getUploadStatusInvoke.setFont(new Font(getUploadStatusInvoke.getFont().getName(), Font.BOLD, getUploadStatusInvoke.getFont().getSize())); getUploadStatusInvoke.setMaximumSize(new Dimension(100, 30)); getUploadStatusInvoke.setMinimumSize(new Dimension(100, 30)); getUploadStatusInvoke.setPreferredSize(new Dimension(100, 30)); getUploadStatusInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel9.add(getUploadStatusInvoke, gbc); final JScrollPane scrollPane6 = new JScrollPane(); scrollPane6.setMaximumSize(new Dimension(550, 225)); scrollPane6.setMinimumSize(new Dimension(550, 225)); scrollPane6.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel9.add(scrollPane6, gbc); getUploadStatusOutput = new JTextArea(); getUploadStatusOutput.setBackground(new Color(-3355444)); getUploadStatusOutput.setEditable(false); getUploadStatusOutput.setText(""); scrollPane6.setViewportView(getUploadStatusOutput); populateOperationPane(); final JPanel panel44 = new JPanel(); panel44.setLayout(new GridBagLayout()); tabbedPane1.addTab("Activity", panel44); activityOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel44.add(activityOperationPane, gbc); final JPanel panel45 = new JPanel(); panel45.setLayout(new GridBagLayout()); activityOperationPane.addTab("UserComments", panel45); final JLabel label127 = new JLabel(); label127.setFont(new Font(label127.getFont().getName(), Font.BOLD, label127.getFont().getSize())); label127.setHorizontalAlignment(0); label127.setMaximumSize(new Dimension(800, 50)); label127.setMinimumSize(new Dimension(800, 50)); label127.setPreferredSize(new Dimension(800, 50)); label127.setText( "Returns a list of recent activity on photos commented on by the calling user. Do not poll this method more than once an hour."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel45.add(label127, gbc); final JLabel label128 = new JLabel(); label128.setHorizontalAlignment(4); label128.setMaximumSize(new Dimension(400, 25)); label128.setMinimumSize(new Dimension(400, 25)); label128.setPreferredSize(new Dimension(400, 25)); label128.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel45.add(label128, gbc); txtUserCommentsPage = new JTextField(); txtUserCommentsPage.setMaximumSize(new Dimension(200, 25)); txtUserCommentsPage.setMinimumSize(new Dimension(200, 25)); txtUserCommentsPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel45.add(txtUserCommentsPage, gbc); final JLabel label129 = new JLabel(); label129.setHorizontalAlignment(4); label129.setMaximumSize(new Dimension(400, 25)); label129.setMinimumSize(new Dimension(400, 25)); label129.setPreferredSize(new Dimension(400, 25)); label129.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; panel45.add(label129, gbc); cmbUserCommentsPerPage = new JComboBox(); cmbUserCommentsPerPage.setMaximumSize(new Dimension(200, 25)); cmbUserCommentsPerPage.setMinimumSize(new Dimension(200, 25)); cmbUserCommentsPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel45.add(cmbUserCommentsPerPage, gbc); userCommentsInvoke = new JButton(); userCommentsInvoke.setFont(new Font(userCommentsInvoke.getFont().getName(), Font.BOLD, userCommentsInvoke.getFont().getSize())); userCommentsInvoke.setMaximumSize(new Dimension(100, 30)); userCommentsInvoke.setMinimumSize(new Dimension(100, 30)); userCommentsInvoke.setPreferredSize(new Dimension(100, 30)); userCommentsInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel45.add(userCommentsInvoke, gbc); final JScrollPane scrollPane31 = new JScrollPane(); scrollPane31.setMaximumSize(new Dimension(550, 225)); scrollPane31.setMinimumSize(new Dimension(550, 225)); scrollPane31.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel45.add(scrollPane31, gbc); userCommentsOutput = new JTextArea(); userCommentsOutput.setBackground(new Color(-3355444)); scrollPane31.setViewportView(userCommentsOutput); final JPanel panel46 = new JPanel(); panel46.setLayout(new GridBagLayout()); activityOperationPane.addTab("UserPhotos", panel46); final JLabel label130 = new JLabel(); label130.setFont(new Font(label130.getFont().getName(), Font.BOLD, label130.getFont().getSize())); label130.setHorizontalAlignment(0); label130.setMaximumSize(new Dimension(800, 50)); label130.setMinimumSize(new Dimension(800, 50)); label130.setPreferredSize(new Dimension(800, 50)); label130.setText( "Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel46.add(label130, gbc); final JLabel label131 = new JLabel(); label131.setFont(new Font(label131.getFont().getName(), Font.BOLD, label131.getFont().getSize())); label131.setHorizontalAlignment(4); label131.setMaximumSize(new Dimension(400, 25)); label131.setMinimumSize(new Dimension(400, 25)); label131.setPreferredSize(new Dimension(400, 25)); label131.setText("TimeFrame : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel46.add(label131, gbc); txtUserPhotosTimeFrame = new JTextField(); txtUserPhotosTimeFrame.setMaximumSize(new Dimension(200, 25)); txtUserPhotosTimeFrame.setMinimumSize(new Dimension(200, 25)); txtUserPhotosTimeFrame.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel46.add(txtUserPhotosTimeFrame, gbc); final JLabel label132 = new JLabel(); label132.setHorizontalAlignment(4); label132.setMaximumSize(new Dimension(400, 25)); label132.setMinimumSize(new Dimension(400, 25)); label132.setPreferredSize(new Dimension(400, 25)); label132.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel46.add(label132, gbc); txtUserPhotosPage = new JTextField(); txtUserPhotosPage.setMaximumSize(new Dimension(200, 25)); txtUserPhotosPage.setMinimumSize(new Dimension(200, 25)); txtUserPhotosPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel46.add(txtUserPhotosPage, gbc); final JLabel label133 = new JLabel(); label133.setHorizontalAlignment(4); label133.setMaximumSize(new Dimension(400, 25)); label133.setMinimumSize(new Dimension(400, 25)); label133.setPreferredSize(new Dimension(400, 25)); label133.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; panel46.add(label133, gbc); cmbUserPhotosPerPage = new JComboBox(); cmbUserPhotosPerPage.setMaximumSize(new Dimension(200, 25)); cmbUserPhotosPerPage.setMinimumSize(new Dimension(200, 25)); cmbUserPhotosPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel46.add(cmbUserPhotosPerPage, gbc); userPhotosInvoke = new JButton(); userPhotosInvoke.setFont( new Font(userPhotosInvoke.getFont().getName(), Font.BOLD, userPhotosInvoke.getFont().getSize())); userPhotosInvoke.setMaximumSize(new Dimension(100, 30)); userPhotosInvoke.setMinimumSize(new Dimension(100, 30)); userPhotosInvoke.setPreferredSize(new Dimension(100, 30)); userPhotosInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel46.add(userPhotosInvoke, gbc); final JScrollPane scrollPane32 = new JScrollPane(); scrollPane32.setMaximumSize(new Dimension(550, 225)); scrollPane32.setMinimumSize(new Dimension(550, 225)); scrollPane32.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.weighty = 1.0; panel46.add(scrollPane32, gbc); userPhotosOutput = new JTextArea(); userPhotosOutput.setBackground(new Color(-3355444)); scrollPane32.setViewportView(userPhotosOutput); final JPanel panel47 = new JPanel(); panel47.setLayout(new GridBagLayout()); tabbedPane1.addTab("Blogs", panel47); blogsOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel47.add(blogsOperationPane, gbc); final JPanel panel48 = new JPanel(); panel48.setLayout(new GridBagLayout()); blogsOperationPane.addTab("GetList", panel48); final JLabel label134 = new JLabel(); label134.setFont(new Font(label134.getFont().getName(), Font.BOLD, label134.getFont().getSize())); label134.setHorizontalAlignment(0); label134.setHorizontalTextPosition(0); label134.setMaximumSize(new Dimension(400, 50)); label134.setMinimumSize(new Dimension(400, 50)); label134.setPreferredSize(new Dimension(400, 50)); label134.setText("Get a list of configured blogs for the calling user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel48.add(label134, gbc); final JScrollPane scrollPane33 = new JScrollPane(); scrollPane33.setBackground(new Color(-3355444)); scrollPane33.setMaximumSize(new Dimension(550, 225)); scrollPane33.setMinimumSize(new Dimension(550, 225)); scrollPane33.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weighty = 1.0; panel48.add(scrollPane33, gbc); blogsGetListOutput = new JTextArea(); blogsGetListOutput.setBackground(new Color(-3355444)); blogsGetListOutput.setEditable(false); blogsGetListOutput.setText(""); scrollPane33.setViewportView(blogsGetListOutput); blogsGetListInvoke = new JButton(); blogsGetListInvoke.setFocusCycleRoot(true); blogsGetListInvoke.setFont(new Font(blogsGetListInvoke.getFont().getName(), Font.BOLD, blogsGetListInvoke.getFont().getSize())); blogsGetListInvoke.setMaximumSize(new Dimension(100, 30)); blogsGetListInvoke.setMinimumSize(new Dimension(100, 30)); blogsGetListInvoke.setPreferredSize(new Dimension(100, 30)); blogsGetListInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel48.add(blogsGetListInvoke, gbc); final JPanel panel49 = new JPanel(); panel49.setLayout(new GridBagLayout()); blogsOperationPane.addTab("PostPhoto", panel49); final JLabel label135 = new JLabel(); label135.setFont(new Font(label135.getFont().getName(), Font.BOLD, label135.getFont().getSize())); label135.setHorizontalAlignment(0); label135.setMaximumSize(new Dimension(600, 50)); label135.setMinimumSize(new Dimension(600, 50)); label135.setPreferredSize(new Dimension(600, 50)); label135.setText("Post a photo to a Blog."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(25, 0, 25, 0); panel49.add(label135, gbc); final JLabel label136 = new JLabel(); label136.setFont(new Font(label136.getFont().getName(), Font.BOLD, label136.getFont().getSize())); label136.setHorizontalAlignment(4); label136.setMaximumSize(new Dimension(400, 25)); label136.setMinimumSize(new Dimension(400, 25)); label136.setPreferredSize(new Dimension(400, 25)); label136.setText("Blog ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel49.add(label136, gbc); txtPostPhotoBlogID = new JTextField(); txtPostPhotoBlogID.setMaximumSize(new Dimension(200, 25)); txtPostPhotoBlogID.setMinimumSize(new Dimension(200, 25)); txtPostPhotoBlogID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel49.add(txtPostPhotoBlogID, gbc); final JLabel label137 = new JLabel(); label137.setFont(new Font(label137.getFont().getName(), Font.BOLD, label137.getFont().getSize())); label137.setHorizontalAlignment(4); label137.setMaximumSize(new Dimension(400, 25)); label137.setMinimumSize(new Dimension(400, 25)); label137.setPreferredSize(new Dimension(400, 25)); label137.setText("Photo ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel49.add(label137, gbc); txtPostPhotoPhotoID = new JTextField(); txtPostPhotoPhotoID.setMaximumSize(new Dimension(200, 25)); txtPostPhotoPhotoID.setMinimumSize(new Dimension(200, 25)); txtPostPhotoPhotoID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel49.add(txtPostPhotoPhotoID, gbc); postPhotoInvoke = new JButton(); postPhotoInvoke.setFont( new Font(postPhotoInvoke.getFont().getName(), Font.BOLD, postPhotoInvoke.getFont().getSize())); postPhotoInvoke.setMaximumSize(new Dimension(100, 30)); postPhotoInvoke.setMinimumSize(new Dimension(100, 30)); postPhotoInvoke.setPreferredSize(new Dimension(100, 30)); postPhotoInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 6; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 25, 0); panel49.add(postPhotoInvoke, gbc); final JScrollPane scrollPane34 = new JScrollPane(); scrollPane34.setMaximumSize(new Dimension(550, 225)); scrollPane34.setMinimumSize(new Dimension(550, 225)); scrollPane34.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 7; gbc.gridwidth = 2; gbc.weighty = 1.0; panel49.add(scrollPane34, gbc); postPhotoOutput = new JTextArea(); postPhotoOutput.setBackground(new Color(-3355444)); scrollPane34.setViewportView(postPhotoOutput); txtPostPhotoTitle = new JTextField(); txtPostPhotoTitle.setMaximumSize(new Dimension(200, 25)); txtPostPhotoTitle.setMinimumSize(new Dimension(200, 25)); txtPostPhotoTitle.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel49.add(txtPostPhotoTitle, gbc); final JLabel label138 = new JLabel(); label138.setFont(new Font(label138.getFont().getName(), Font.BOLD, label138.getFont().getSize())); label138.setHorizontalAlignment(4); label138.setMaximumSize(new Dimension(400, 25)); label138.setMinimumSize(new Dimension(400, 25)); label138.setPreferredSize(new Dimension(400, 25)); label138.setText("Title : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel49.add(label138, gbc); final JLabel label139 = new JLabel(); label139.setHorizontalAlignment(4); label139.setMaximumSize(new Dimension(400, 25)); label139.setMinimumSize(new Dimension(400, 25)); label139.setPreferredSize(new Dimension(400, 25)); label139.setText("Blog Password : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.anchor = GridBagConstraints.WEST; panel49.add(label139, gbc); txtPostPhotoPassword = new JTextField(); txtPostPhotoPassword.setMaximumSize(new Dimension(200, 25)); txtPostPhotoPassword.setMinimumSize(new Dimension(200, 25)); txtPostPhotoPassword.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 5; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel49.add(txtPostPhotoPassword, gbc); txtPostPhotoDescription = new JTextField(); txtPostPhotoDescription.setMaximumSize(new Dimension(200, 25)); txtPostPhotoDescription.setMinimumSize(new Dimension(200, 25)); txtPostPhotoDescription.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 4; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel49.add(txtPostPhotoDescription, gbc); final JLabel label140 = new JLabel(); label140.setFont(new Font(label140.getFont().getName(), Font.BOLD, label140.getFont().getSize())); label140.setHorizontalAlignment(4); label140.setMaximumSize(new Dimension(400, 25)); label140.setMinimumSize(new Dimension(400, 25)); label140.setPreferredSize(new Dimension(400, 25)); label140.setText("Description : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel49.add(label140, gbc); final JPanel panel50 = new JPanel(); panel50.setLayout(new GridBagLayout()); tabbedPane1.addTab("PhotoSetsComments", panel50); photoSetsCommentsOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel50.add(photoSetsCommentsOperationPane, gbc); final JPanel panel51 = new JPanel(); panel51.setLayout(new GridBagLayout()); photoSetsCommentsOperationPane.addTab("AddComment", panel51); final JLabel label141 = new JLabel(); label141.setFont(new Font(label141.getFont().getName(), Font.BOLD, label141.getFont().getSize())); label141.setHorizontalAlignment(4); label141.setMaximumSize(new Dimension(400, 25)); label141.setMinimumSize(new Dimension(400, 25)); label141.setPreferredSize(new Dimension(400, 25)); label141.setText("PhotoSet ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 25, 0); panel51.add(label141, gbc); txtPhotoSetsCommAddID = new JTextField(); txtPhotoSetsCommAddID.setMaximumSize(new Dimension(200, 25)); txtPhotoSetsCommAddID.setMinimumSize(new Dimension(200, 25)); txtPhotoSetsCommAddID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 25, 0); panel51.add(txtPhotoSetsCommAddID, gbc); final JLabel label142 = new JLabel(); label142.setHorizontalAlignment(4); label142.setMaximumSize(new Dimension(400, 25)); label142.setMinimumSize(new Dimension(400, 25)); label142.setPreferredSize(new Dimension(400, 25)); label142.setText("Comment :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 25, 0); panel51.add(label142, gbc); PhotoSetsCommAddComment = new JTextField(); PhotoSetsCommAddComment.setMaximumSize(new Dimension(200, 25)); PhotoSetsCommAddComment.setMinimumSize(new Dimension(200, 25)); PhotoSetsCommAddComment.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 25, 0); panel51.add(PhotoSetsCommAddComment, gbc); photoSetsCommAddInvoke = new JButton(); photoSetsCommAddInvoke.setFont(new Font(photoSetsCommAddInvoke.getFont().getName(), Font.BOLD, photoSetsCommAddInvoke.getFont().getSize())); photoSetsCommAddInvoke.setLabel("Invoke"); photoSetsCommAddInvoke.setMaximumSize(new Dimension(100, 30)); photoSetsCommAddInvoke.setMinimumSize(new Dimension(100, 30)); photoSetsCommAddInvoke.setPreferredSize(new Dimension(100, 30)); photoSetsCommAddInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 50, 0); panel51.add(photoSetsCommAddInvoke, gbc); final JLabel label143 = new JLabel(); label143.setFont(new Font(label143.getFont().getName(), Font.BOLD, label143.getFont().getSize())); label143.setHorizontalAlignment(0); label143.setMaximumSize(new Dimension(600, 50)); label143.setMinimumSize(new Dimension(600, 50)); label143.setPreferredSize(new Dimension(600, 50)); label143.setText("Add a comment to a photoset."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel51.add(label143, gbc); final JScrollPane scrollPane35 = new JScrollPane(); scrollPane35.setMaximumSize(new Dimension(550, 225)); scrollPane35.setMinimumSize(new Dimension(550, 225)); scrollPane35.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel51.add(scrollPane35, gbc); photoSetsCommAddOutput = new JTextArea(); photoSetsCommAddOutput.setBackground(new Color(-3355444)); scrollPane35.setViewportView(photoSetsCommAddOutput); final JPanel panel52 = new JPanel(); panel52.setLayout(new GridBagLayout()); photoSetsCommentsOperationPane.addTab("DeleteComment", panel52); final JLabel label144 = new JLabel(); label144.setFont(new Font(label144.getFont().getName(), Font.BOLD, label144.getFont().getSize())); label144.setHorizontalAlignment(0); label144.setMaximumSize(new Dimension(600, 50)); label144.setMinimumSize(new Dimension(600, 50)); label144.setPreferredSize(new Dimension(600, 50)); label144.setText("Delete a photoset comment as the currently authenticated user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel52.add(label144, gbc); final JLabel label145 = new JLabel(); label145.setFont(new Font(label145.getFont().getName(), Font.BOLD, label145.getFont().getSize())); label145.setHorizontalAlignment(4); label145.setMaximumSize(new Dimension(400, 25)); label145.setMinimumSize(new Dimension(400, 25)); label145.setPreferredSize(new Dimension(400, 25)); label145.setText("Comment ID : "); label145.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel52.add(label145, gbc); txtPhotoSetsCommDelID = new JTextField(); txtPhotoSetsCommDelID.setMaximumSize(new Dimension(200, 25)); txtPhotoSetsCommDelID.setMinimumSize(new Dimension(200, 25)); txtPhotoSetsCommDelID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel52.add(txtPhotoSetsCommDelID, gbc); photoSetsCommDelInvoke = new JButton(); photoSetsCommDelInvoke.setFont(new Font(photoSetsCommDelInvoke.getFont().getName(), Font.BOLD, photoSetsCommDelInvoke.getFont().getSize())); photoSetsCommDelInvoke.setMaximumSize(new Dimension(100, 30)); photoSetsCommDelInvoke.setMinimumSize(new Dimension(100, 30)); photoSetsCommDelInvoke.setPreferredSize(new Dimension(100, 30)); photoSetsCommDelInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel52.add(photoSetsCommDelInvoke, gbc); final JScrollPane scrollPane36 = new JScrollPane(); scrollPane36.setMaximumSize(new Dimension(550, 225)); scrollPane36.setMinimumSize(new Dimension(550, 225)); scrollPane36.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel52.add(scrollPane36, gbc); photoSetsCommDelOutput = new JTextArea(); photoSetsCommDelOutput.setBackground(new Color(-3355444)); photoSetsCommDelOutput.setEditable(false); scrollPane36.setViewportView(photoSetsCommDelOutput); final JPanel panel53 = new JPanel(); panel53.setLayout(new GridBagLayout()); photoSetsCommentsOperationPane.addTab("EditComment", panel53); final JLabel label146 = new JLabel(); label146.setFont(new Font(label146.getFont().getName(), Font.BOLD, label146.getFont().getSize())); label146.setHorizontalAlignment(4); label146.setMaximumSize(new Dimension(400, 25)); label146.setMinimumSize(new Dimension(400, 25)); label146.setPreferredSize(new Dimension(400, 25)); label146.setText("Comment ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 25, 0); panel53.add(label146, gbc); txtPhotoSetsCommEditID = new JTextField(); txtPhotoSetsCommEditID.setMaximumSize(new Dimension(200, 25)); txtPhotoSetsCommEditID.setMinimumSize(new Dimension(200, 25)); txtPhotoSetsCommEditID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 25, 0); panel53.add(txtPhotoSetsCommEditID, gbc); final JLabel label147 = new JLabel(); label147.setHorizontalAlignment(4); label147.setMaximumSize(new Dimension(400, 25)); label147.setMinimumSize(new Dimension(400, 25)); label147.setPreferredSize(new Dimension(400, 25)); label147.setText("Comment :"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 25, 0); panel53.add(label147, gbc); txtPhotoSetsCommEditComment = new JTextField(); txtPhotoSetsCommEditComment.setMaximumSize(new Dimension(200, 25)); txtPhotoSetsCommEditComment.setMinimumSize(new Dimension(200, 25)); txtPhotoSetsCommEditComment.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 25, 0); panel53.add(txtPhotoSetsCommEditComment, gbc); photoSetsCommEditInvoke = new JButton(); photoSetsCommEditInvoke.setFont(new Font(photoSetsCommEditInvoke.getFont().getName(), Font.BOLD, photoSetsCommEditInvoke.getFont().getSize())); photoSetsCommEditInvoke.setLabel("Invoke"); photoSetsCommEditInvoke.setMaximumSize(new Dimension(100, 30)); photoSetsCommEditInvoke.setMinimumSize(new Dimension(100, 30)); photoSetsCommEditInvoke.setPreferredSize(new Dimension(100, 30)); photoSetsCommEditInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 50, 0); panel53.add(photoSetsCommEditInvoke, gbc); final JLabel label148 = new JLabel(); label148.setFont(new Font(label148.getFont().getName(), Font.BOLD, label148.getFont().getSize())); label148.setHorizontalAlignment(0); label148.setMaximumSize(new Dimension(600, 50)); label148.setMinimumSize(new Dimension(600, 50)); label148.setPreferredSize(new Dimension(600, 50)); label148.setText("Edit the text of a comment as the currently authenticated user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel53.add(label148, gbc); final JScrollPane scrollPane37 = new JScrollPane(); scrollPane37.setMaximumSize(new Dimension(550, 225)); scrollPane37.setMinimumSize(new Dimension(550, 225)); scrollPane37.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel53.add(scrollPane37, gbc); PhotoSetsCommEditOutput = new JTextArea(); PhotoSetsCommEditOutput.setBackground(new Color(-3355444)); scrollPane37.setViewportView(PhotoSetsCommEditOutput); final JPanel panel54 = new JPanel(); panel54.setLayout(new GridBagLayout()); photoSetsCommentsOperationPane.addTab("GetList", panel54); final JLabel label149 = new JLabel(); label149.setFont(new Font(label149.getFont().getName(), Font.BOLD, label149.getFont().getSize())); label149.setHorizontalAlignment(0); label149.setMaximumSize(new Dimension(600, 50)); label149.setMinimumSize(new Dimension(600, 50)); label149.setPreferredSize(new Dimension(600, 50)); label149.setText("Returns the comments for a photoset."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel54.add(label149, gbc); final JLabel label150 = new JLabel(); label150.setFont(new Font(label150.getFont().getName(), Font.BOLD, label150.getFont().getSize())); label150.setHorizontalAlignment(4); label150.setMaximumSize(new Dimension(400, 25)); label150.setMinimumSize(new Dimension(400, 25)); label150.setPreferredSize(new Dimension(400, 25)); label150.setText("PhotoSet ID : "); label150.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel54.add(label150, gbc); txtPhotoSetsCommGetID = new JTextField(); txtPhotoSetsCommGetID.setMaximumSize(new Dimension(200, 25)); txtPhotoSetsCommGetID.setMinimumSize(new Dimension(200, 25)); txtPhotoSetsCommGetID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel54.add(txtPhotoSetsCommGetID, gbc); photoSetsCommGetInvoke = new JButton(); photoSetsCommGetInvoke.setFont(new Font(photoSetsCommGetInvoke.getFont().getName(), Font.BOLD, photoSetsCommGetInvoke.getFont().getSize())); photoSetsCommGetInvoke.setMaximumSize(new Dimension(100, 30)); photoSetsCommGetInvoke.setMinimumSize(new Dimension(100, 30)); photoSetsCommGetInvoke.setPreferredSize(new Dimension(100, 30)); photoSetsCommGetInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel54.add(photoSetsCommGetInvoke, gbc); final JScrollPane scrollPane38 = new JScrollPane(); scrollPane38.setMaximumSize(new Dimension(550, 225)); scrollPane38.setMinimumSize(new Dimension(550, 225)); scrollPane38.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel54.add(scrollPane38, gbc); photoSetsCommGetOutput = new JTextArea(); photoSetsCommGetOutput.setBackground(new Color(-3355444)); photoSetsCommGetOutput.setEditable(false); scrollPane38.setViewportView(photoSetsCommGetOutput); final JPanel panel55 = new JPanel(); panel55.setLayout(new GridBagLayout()); tabbedPane1.addTab("Contacts", panel55); contactsOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel55.add(contactsOperationPane, gbc); final JPanel panel56 = new JPanel(); panel56.setLayout(new GridBagLayout()); contactsOperationPane.addTab("GetList", panel56); final JLabel label151 = new JLabel(); label151.setFont(new Font(label151.getFont().getName(), Font.BOLD, label151.getFont().getSize())); label151.setHorizontalAlignment(0); label151.setMaximumSize(new Dimension(600, 50)); label151.setMinimumSize(new Dimension(600, 50)); label151.setPreferredSize(new Dimension(600, 50)); label151.setText("Get a list of contacts for the calling user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel56.add(label151, gbc); final JLabel label152 = new JLabel(); label152.setFont(new Font(label152.getFont().getName(), label152.getFont().getStyle(), label152.getFont().getSize())); label152.setHorizontalAlignment(4); label152.setMaximumSize(new Dimension(400, 25)); label152.setMinimumSize(new Dimension(400, 25)); label152.setPreferredSize(new Dimension(400, 25)); label152.setText("Filter : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel56.add(label152, gbc); final JLabel label153 = new JLabel(); label153.setHorizontalAlignment(4); label153.setMaximumSize(new Dimension(400, 25)); label153.setMinimumSize(new Dimension(400, 25)); label153.setPreferredSize(new Dimension(400, 25)); label153.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel56.add(label153, gbc); txtContactsGetPage = new JTextField(); txtContactsGetPage.setMaximumSize(new Dimension(200, 25)); txtContactsGetPage.setMinimumSize(new Dimension(200, 25)); txtContactsGetPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel56.add(txtContactsGetPage, gbc); final JLabel label154 = new JLabel(); label154.setHorizontalAlignment(4); label154.setMaximumSize(new Dimension(400, 25)); label154.setMinimumSize(new Dimension(400, 25)); label154.setPreferredSize(new Dimension(400, 25)); label154.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; panel56.add(label154, gbc); cmbContactsGetPerPage = new JComboBox(); cmbContactsGetPerPage.setMaximumSize(new Dimension(200, 25)); cmbContactsGetPerPage.setMinimumSize(new Dimension(200, 25)); cmbContactsGetPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel56.add(cmbContactsGetPerPage, gbc); contactsGetInvoke = new JButton(); contactsGetInvoke.setFont( new Font(contactsGetInvoke.getFont().getName(), Font.BOLD, contactsGetInvoke.getFont().getSize())); contactsGetInvoke.setMaximumSize(new Dimension(100, 30)); contactsGetInvoke.setMinimumSize(new Dimension(100, 30)); contactsGetInvoke.setPreferredSize(new Dimension(100, 30)); contactsGetInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel56.add(contactsGetInvoke, gbc); final JScrollPane scrollPane39 = new JScrollPane(); scrollPane39.setMaximumSize(new Dimension(550, 225)); scrollPane39.setMinimumSize(new Dimension(550, 225)); scrollPane39.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.weighty = 1.0; panel56.add(scrollPane39, gbc); contactsGetOutput = new JTextArea(); contactsGetOutput.setBackground(new Color(-3355444)); scrollPane39.setViewportView(contactsGetOutput); cmbContactsGetFilter = new JComboBox(); cmbContactsGetFilter.setMaximumSize(new Dimension(200, 25)); cmbContactsGetFilter.setMinimumSize(new Dimension(200, 25)); cmbContactsGetFilter.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel56.add(cmbContactsGetFilter, gbc); final JPanel panel57 = new JPanel(); panel57.setLayout(new GridBagLayout()); contactsOperationPane.addTab("GetPublicList ", panel57); final JLabel label155 = new JLabel(); label155.setFont(new Font(label155.getFont().getName(), Font.BOLD, label155.getFont().getSize())); label155.setHorizontalAlignment(0); label155.setMaximumSize(new Dimension(600, 50)); label155.setMinimumSize(new Dimension(600, 50)); label155.setPreferredSize(new Dimension(600, 50)); label155.setText("Get the contact list for a user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel57.add(label155, gbc); final JLabel label156 = new JLabel(); label156.setFont(new Font(label156.getFont().getName(), Font.BOLD, label156.getFont().getSize())); label156.setHorizontalAlignment(4); label156.setMaximumSize(new Dimension(400, 25)); label156.setMinimumSize(new Dimension(400, 25)); label156.setPreferredSize(new Dimension(400, 25)); label156.setText("User ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel57.add(label156, gbc); final JLabel label157 = new JLabel(); label157.setHorizontalAlignment(4); label157.setMaximumSize(new Dimension(400, 25)); label157.setMinimumSize(new Dimension(400, 25)); label157.setPreferredSize(new Dimension(400, 25)); label157.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel57.add(label157, gbc); txtContactsGetPubPage = new JTextField(); txtContactsGetPubPage.setMaximumSize(new Dimension(200, 25)); txtContactsGetPubPage.setMinimumSize(new Dimension(200, 25)); txtContactsGetPubPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel57.add(txtContactsGetPubPage, gbc); final JLabel label158 = new JLabel(); label158.setHorizontalAlignment(4); label158.setMaximumSize(new Dimension(400, 25)); label158.setMinimumSize(new Dimension(400, 25)); label158.setPreferredSize(new Dimension(400, 25)); label158.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; panel57.add(label158, gbc); cmbContactsGetPubPerPage = new JComboBox(); cmbContactsGetPubPerPage.setMaximumSize(new Dimension(200, 25)); cmbContactsGetPubPerPage.setMinimumSize(new Dimension(200, 25)); cmbContactsGetPubPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel57.add(cmbContactsGetPubPerPage, gbc); contactsGetPubInvoke = new JButton(); contactsGetPubInvoke.setFont(new Font(contactsGetPubInvoke.getFont().getName(), Font.BOLD, contactsGetPubInvoke.getFont().getSize())); contactsGetPubInvoke.setMaximumSize(new Dimension(100, 30)); contactsGetPubInvoke.setMinimumSize(new Dimension(100, 30)); contactsGetPubInvoke.setPreferredSize(new Dimension(100, 30)); contactsGetPubInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel57.add(contactsGetPubInvoke, gbc); final JScrollPane scrollPane40 = new JScrollPane(); scrollPane40.setMaximumSize(new Dimension(550, 225)); scrollPane40.setMinimumSize(new Dimension(550, 225)); scrollPane40.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.weighty = 1.0; panel57.add(scrollPane40, gbc); contactsGetPubOutput = new JTextArea(); contactsGetPubOutput.setBackground(new Color(-3355444)); scrollPane40.setViewportView(contactsGetPubOutput); txtContactsGetPubID = new JTextField(); txtContactsGetPubID.setMaximumSize(new Dimension(200, 25)); txtContactsGetPubID.setMinimumSize(new Dimension(200, 25)); txtContactsGetPubID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel57.add(txtContactsGetPubID, gbc); final JPanel panel58 = new JPanel(); panel58.setLayout(new GridBagLayout()); tabbedPane1.addTab("Favorites", panel58); favoritesOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel58.add(favoritesOperationPane, gbc); final JPanel panel59 = new JPanel(); panel59.setLayout(new GridBagLayout()); favoritesOperationPane.addTab("Add", panel59); final JLabel label159 = new JLabel(); label159.setFont(new Font(label159.getFont().getName(), Font.BOLD, label159.getFont().getSize())); label159.setHorizontalAlignment(0); label159.setMaximumSize(new Dimension(600, 50)); label159.setMinimumSize(new Dimension(600, 50)); label159.setPreferredSize(new Dimension(600, 50)); label159.setText("Adds a photo to a user's favorites list."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel59.add(label159, gbc); final JLabel label160 = new JLabel(); label160.setFont(new Font(label160.getFont().getName(), Font.BOLD, label160.getFont().getSize())); label160.setHorizontalAlignment(4); label160.setMaximumSize(new Dimension(400, 25)); label160.setMinimumSize(new Dimension(400, 25)); label160.setPreferredSize(new Dimension(400, 25)); label160.setText("Photo ID : "); label160.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel59.add(label160, gbc); txtFavoritesAddID = new JTextField(); txtFavoritesAddID.setMaximumSize(new Dimension(200, 25)); txtFavoritesAddID.setMinimumSize(new Dimension(200, 25)); txtFavoritesAddID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel59.add(txtFavoritesAddID, gbc); favoritesAddInvoke = new JButton(); favoritesAddInvoke.setFont(new Font(favoritesAddInvoke.getFont().getName(), Font.BOLD, favoritesAddInvoke.getFont().getSize())); favoritesAddInvoke.setMaximumSize(new Dimension(100, 30)); favoritesAddInvoke.setMinimumSize(new Dimension(100, 30)); favoritesAddInvoke.setPreferredSize(new Dimension(100, 30)); favoritesAddInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel59.add(favoritesAddInvoke, gbc); final JScrollPane scrollPane41 = new JScrollPane(); scrollPane41.setMaximumSize(new Dimension(550, 225)); scrollPane41.setMinimumSize(new Dimension(550, 225)); scrollPane41.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel59.add(scrollPane41, gbc); favoritesAddOutput = new JTextArea(); favoritesAddOutput.setBackground(new Color(-3355444)); favoritesAddOutput.setEditable(false); scrollPane41.setViewportView(favoritesAddOutput); final JPanel panel60 = new JPanel(); panel60.setLayout(new GridBagLayout()); favoritesOperationPane.addTab("GetList", panel60); final JLabel label161 = new JLabel(); label161.setFont(new Font(label161.getFont().getName(), Font.BOLD, label161.getFont().getSize())); label161.setHorizontalAlignment(0); label161.setMaximumSize(new Dimension(800, 50)); label161.setMinimumSize(new Dimension(800, 50)); label161.setPreferredSize(new Dimension(800, 50)); label161.setText( "Returns a list of the user's favorite photos. Only photos which the calling user has permission to see are returned."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(25, 0, 25, 0); panel60.add(label161, gbc); txtFavoritesGetPage = new JTextField(); txtFavoritesGetPage.setMaximumSize(new Dimension(200, 25)); txtFavoritesGetPage.setMinimumSize(new Dimension(200, 25)); txtFavoritesGetPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel60.add(txtFavoritesGetPage, gbc); final JLabel label162 = new JLabel(); label162.setHorizontalAlignment(4); label162.setMaximumSize(new Dimension(400, 25)); label162.setMinimumSize(new Dimension(400, 25)); label162.setPreferredSize(new Dimension(400, 25)); label162.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel60.add(label162, gbc); cmbFavoritesGetPerPage = new JComboBox(); cmbFavoritesGetPerPage.setMaximumSize(new Dimension(200, 25)); cmbFavoritesGetPerPage.setMinimumSize(new Dimension(200, 25)); cmbFavoritesGetPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel60.add(cmbFavoritesGetPerPage, gbc); favoritesGetInvoke = new JButton(); favoritesGetInvoke.setFont(new Font(favoritesGetInvoke.getFont().getName(), Font.BOLD, favoritesGetInvoke.getFont().getSize())); favoritesGetInvoke.setMaximumSize(new Dimension(100, 30)); favoritesGetInvoke.setMinimumSize(new Dimension(100, 30)); favoritesGetInvoke.setPreferredSize(new Dimension(100, 30)); favoritesGetInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 0, 0); panel60.add(favoritesGetInvoke, gbc); final JPanel panel61 = new JPanel(); panel61.setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.fill = GridBagConstraints.BOTH; panel60.add(panel61, gbc); final JLabel label163 = new JLabel(); label163.setFont(new Font(label163.getFont().getName(), Font.BOLD, label163.getFont().getSize())); label163.setMaximumSize(new Dimension(400, 25)); label163.setMinimumSize(new Dimension(400, 25)); label163.setPreferredSize(new Dimension(400, 25)); label163.setText("Extra information to fetch for each returned record"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 5; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(label163, gbc); chkFavoritesGetLicense = new JCheckBox(); chkFavoritesGetLicense.setText("license"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetLicense, gbc); chkFavoritesGetDateUp = new JCheckBox(); chkFavoritesGetDateUp.setText("date_upload"); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetDateUp, gbc); chkFavoritesGetDateTak = new JCheckBox(); chkFavoritesGetDateTak.setText("date_taken"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetDateTak, gbc); chkFavoritesGetOwner = new JCheckBox(); chkFavoritesGetOwner.setText("owner_name"); gbc = new GridBagConstraints(); gbc.gridx = 3; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetOwner, gbc); chkFavoritesGetServer = new JCheckBox(); chkFavoritesGetServer.setText("icon_server"); gbc = new GridBagConstraints(); gbc.gridx = 4; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetServer, gbc); chkFavoritesGetOriginal = new JCheckBox(); chkFavoritesGetOriginal.setText("original_format"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetOriginal, gbc); chkFavoritesGetLastUp = new JCheckBox(); chkFavoritesGetLastUp.setText("last_update"); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetLastUp, gbc); chkFavoritesGetGeo = new JCheckBox(); chkFavoritesGetGeo.setText("geo"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetGeo, gbc); chkFavoritesGetTags = new JCheckBox(); chkFavoritesGetTags.setText("tags"); gbc = new GridBagConstraints(); gbc.gridx = 3; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetTags, gbc); chkFavoritesGetMachine = new JCheckBox(); chkFavoritesGetMachine.setText("machine_tags"); gbc = new GridBagConstraints(); gbc.gridx = 4; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel61.add(chkFavoritesGetMachine, gbc); final JScrollPane scrollPane42 = new JScrollPane(); scrollPane42.setMaximumSize(new Dimension(550, 225)); scrollPane42.setMinimumSize(new Dimension(550, 225)); scrollPane42.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 6; gbc.gridwidth = 2; gbc.weighty = 1.0; panel60.add(scrollPane42, gbc); favoritesGetOutput = new JTextArea(); favoritesGetOutput.setBackground(new Color(-3355444)); scrollPane42.setViewportView(favoritesGetOutput); final JLabel label164 = new JLabel(); label164.setHorizontalAlignment(4); label164.setMaximumSize(new Dimension(400, 25)); label164.setMinimumSize(new Dimension(400, 25)); label164.setPreferredSize(new Dimension(400, 25)); label164.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel60.add(label164, gbc); txtFavoritesGetID = new JTextField(); txtFavoritesGetID.setMaximumSize(new Dimension(200, 25)); txtFavoritesGetID.setMinimumSize(new Dimension(200, 25)); txtFavoritesGetID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel60.add(txtFavoritesGetID, gbc); final JLabel label165 = new JLabel(); label165.setHorizontalAlignment(4); label165.setMaximumSize(new Dimension(400, 25)); label165.setMinimumSize(new Dimension(400, 25)); label165.setPreferredSize(new Dimension(400, 25)); label165.setText("User ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel60.add(label165, gbc); final JPanel panel62 = new JPanel(); panel62.setLayout(new GridBagLayout()); favoritesOperationPane.addTab("GetPublicList", panel62); final JLabel label166 = new JLabel(); label166.setFont(new Font(label166.getFont().getName(), Font.BOLD, label166.getFont().getSize())); label166.setHorizontalAlignment(0); label166.setMaximumSize(new Dimension(800, 50)); label166.setMinimumSize(new Dimension(800, 50)); label166.setPreferredSize(new Dimension(800, 50)); label166.setText("Returns a list of favorite public photos for the given user."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(25, 0, 25, 0); panel62.add(label166, gbc); txtFavoritesGetPubPage = new JTextField(); txtFavoritesGetPubPage.setMaximumSize(new Dimension(200, 25)); txtFavoritesGetPubPage.setMinimumSize(new Dimension(200, 25)); txtFavoritesGetPubPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel62.add(txtFavoritesGetPubPage, gbc); final JLabel label167 = new JLabel(); label167.setHorizontalAlignment(4); label167.setMaximumSize(new Dimension(400, 25)); label167.setMinimumSize(new Dimension(400, 25)); label167.setPreferredSize(new Dimension(400, 25)); label167.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel62.add(label167, gbc); cmbFavoritesGetPubPerPage = new JComboBox(); cmbFavoritesGetPubPerPage.setMaximumSize(new Dimension(200, 25)); cmbFavoritesGetPubPerPage.setMinimumSize(new Dimension(200, 25)); cmbFavoritesGetPubPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel62.add(cmbFavoritesGetPubPerPage, gbc); favoritesGetPubInvoke = new JButton(); favoritesGetPubInvoke.setFont(new Font(favoritesGetPubInvoke.getFont().getName(), Font.BOLD, favoritesGetPubInvoke.getFont().getSize())); favoritesGetPubInvoke.setMaximumSize(new Dimension(100, 30)); favoritesGetPubInvoke.setMinimumSize(new Dimension(100, 30)); favoritesGetPubInvoke.setPreferredSize(new Dimension(100, 30)); favoritesGetPubInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 0, 0); panel62.add(favoritesGetPubInvoke, gbc); final JPanel panel63 = new JPanel(); panel63.setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.fill = GridBagConstraints.BOTH; panel62.add(panel63, gbc); final JLabel label168 = new JLabel(); label168.setFont(new Font(label168.getFont().getName(), Font.BOLD, label168.getFont().getSize())); label168.setMaximumSize(new Dimension(400, 25)); label168.setMinimumSize(new Dimension(400, 25)); label168.setPreferredSize(new Dimension(400, 25)); label168.setText("Extra information to fetch for each returned record"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 5; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(label168, gbc); chkFavoritesGetPubLicense = new JCheckBox(); chkFavoritesGetPubLicense.setText("license"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubLicense, gbc); chkFavoritesGetPubDateUp = new JCheckBox(); chkFavoritesGetPubDateUp.setText("date_upload"); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubDateUp, gbc); chkFavoritesGetPubDateTak = new JCheckBox(); chkFavoritesGetPubDateTak.setText("date_taken"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubDateTak, gbc); chkFavoritesGetPubOwner = new JCheckBox(); chkFavoritesGetPubOwner.setText("owner_name"); gbc = new GridBagConstraints(); gbc.gridx = 3; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubOwner, gbc); chkFavoritesGetPubServer = new JCheckBox(); chkFavoritesGetPubServer.setText("icon_server"); gbc = new GridBagConstraints(); gbc.gridx = 4; gbc.gridy = 1; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubServer, gbc); chkFavoritesGetPubOriginal = new JCheckBox(); chkFavoritesGetPubOriginal.setText("original_format"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubOriginal, gbc); chkFavoritesGetPubLastUp = new JCheckBox(); chkFavoritesGetPubLastUp.setText("last_update"); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubLastUp, gbc); chkFavoritesGetPubGeo = new JCheckBox(); chkFavoritesGetPubGeo.setText("geo"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubGeo, gbc); chkFavoritesGetPubTags = new JCheckBox(); chkFavoritesGetPubTags.setText("tags"); gbc = new GridBagConstraints(); gbc.gridx = 3; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubTags, gbc); chkFavoritesGetPubMachine = new JCheckBox(); chkFavoritesGetPubMachine.setText("machine_tags"); gbc = new GridBagConstraints(); gbc.gridx = 4; gbc.gridy = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel63.add(chkFavoritesGetPubMachine, gbc); final JScrollPane scrollPane43 = new JScrollPane(); scrollPane43.setMaximumSize(new Dimension(550, 225)); scrollPane43.setMinimumSize(new Dimension(550, 225)); scrollPane43.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 6; gbc.gridwidth = 2; gbc.weighty = 1.0; panel62.add(scrollPane43, gbc); favoritesGetPubOutput = new JTextArea(); favoritesGetPubOutput.setBackground(new Color(-3355444)); scrollPane43.setViewportView(favoritesGetPubOutput); final JLabel label169 = new JLabel(); label169.setHorizontalAlignment(4); label169.setMaximumSize(new Dimension(400, 25)); label169.setMinimumSize(new Dimension(400, 25)); label169.setPreferredSize(new Dimension(400, 25)); label169.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel62.add(label169, gbc); txtFavoritesGetPubID = new JTextField(); txtFavoritesGetPubID.setMaximumSize(new Dimension(200, 25)); txtFavoritesGetPubID.setMinimumSize(new Dimension(200, 25)); txtFavoritesGetPubID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel62.add(txtFavoritesGetPubID, gbc); final JLabel label170 = new JLabel(); label170.setHorizontalAlignment(4); label170.setMaximumSize(new Dimension(400, 25)); label170.setMinimumSize(new Dimension(400, 25)); label170.setPreferredSize(new Dimension(400, 25)); label170.setText("User ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel62.add(label170, gbc); final JPanel panel64 = new JPanel(); panel64.setLayout(new GridBagLayout()); favoritesOperationPane.addTab("Remove", panel64); final JLabel label171 = new JLabel(); label171.setFont(new Font(label171.getFont().getName(), Font.BOLD, label171.getFont().getSize())); label171.setHorizontalAlignment(0); label171.setMaximumSize(new Dimension(600, 50)); label171.setMinimumSize(new Dimension(600, 50)); label171.setPreferredSize(new Dimension(600, 50)); label171.setText("Removes a photo from a user's favorites list."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel64.add(label171, gbc); final JLabel label172 = new JLabel(); label172.setFont(new Font(label172.getFont().getName(), Font.BOLD, label172.getFont().getSize())); label172.setHorizontalAlignment(4); label172.setMaximumSize(new Dimension(400, 25)); label172.setMinimumSize(new Dimension(400, 25)); label172.setPreferredSize(new Dimension(400, 25)); label172.setText("Photo ID : "); label172.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel64.add(label172, gbc); txtFavoritesRmvID = new JTextField(); txtFavoritesRmvID.setMaximumSize(new Dimension(200, 25)); txtFavoritesRmvID.setMinimumSize(new Dimension(200, 25)); txtFavoritesRmvID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel64.add(txtFavoritesRmvID, gbc); favoritesRmvInvoke = new JButton(); favoritesRmvInvoke.setFont(new Font(favoritesRmvInvoke.getFont().getName(), Font.BOLD, favoritesRmvInvoke.getFont().getSize())); favoritesRmvInvoke.setMaximumSize(new Dimension(100, 30)); favoritesRmvInvoke.setMinimumSize(new Dimension(100, 30)); favoritesRmvInvoke.setPreferredSize(new Dimension(100, 30)); favoritesRmvInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel64.add(favoritesRmvInvoke, gbc); final JScrollPane scrollPane44 = new JScrollPane(); scrollPane44.setMaximumSize(new Dimension(550, 225)); scrollPane44.setMinimumSize(new Dimension(550, 225)); scrollPane44.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel64.add(scrollPane44, gbc); favoritesRmvOutput = new JTextArea(); favoritesRmvOutput.setBackground(new Color(-3355444)); favoritesRmvOutput.setEditable(false); scrollPane44.setViewportView(favoritesRmvOutput); final JPanel panel65 = new JPanel(); panel65.setLayout(new GridBagLayout()); tabbedPane1.addTab("Geo", panel65); geoOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel65.add(geoOperationPane, gbc); final JPanel panel66 = new JPanel(); panel66.setLayout(new GridBagLayout()); geoOperationPane.addTab("GetLocation ", panel66); final JLabel label173 = new JLabel(); label173.setFont(new Font(label173.getFont().getName(), Font.BOLD, label173.getFont().getSize())); label173.setHorizontalAlignment(0); label173.setMaximumSize(new Dimension(600, 50)); label173.setMinimumSize(new Dimension(600, 50)); label173.setPreferredSize(new Dimension(600, 50)); label173.setText("Get the geo data (latitude and longitude and the accuracy level) for a photo."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel66.add(label173, gbc); final JLabel label174 = new JLabel(); label174.setFont(new Font(label174.getFont().getName(), Font.BOLD, label174.getFont().getSize())); label174.setHorizontalAlignment(4); label174.setMaximumSize(new Dimension(400, 25)); label174.setMinimumSize(new Dimension(400, 25)); label174.setPreferredSize(new Dimension(400, 25)); label174.setText("Photo ID : "); label174.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel66.add(label174, gbc); txtGeoGetLocID = new JTextField(); txtGeoGetLocID.setMaximumSize(new Dimension(200, 25)); txtGeoGetLocID.setMinimumSize(new Dimension(200, 25)); txtGeoGetLocID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel66.add(txtGeoGetLocID, gbc); geoGetLocInvoke = new JButton(); geoGetLocInvoke.setFont( new Font(geoGetLocInvoke.getFont().getName(), Font.BOLD, geoGetLocInvoke.getFont().getSize())); geoGetLocInvoke.setMaximumSize(new Dimension(100, 30)); geoGetLocInvoke.setMinimumSize(new Dimension(100, 30)); geoGetLocInvoke.setPreferredSize(new Dimension(100, 30)); geoGetLocInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel66.add(geoGetLocInvoke, gbc); final JScrollPane scrollPane45 = new JScrollPane(); scrollPane45.setMaximumSize(new Dimension(550, 225)); scrollPane45.setMinimumSize(new Dimension(550, 225)); scrollPane45.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel66.add(scrollPane45, gbc); geoGetLocOutput = new JTextArea(); geoGetLocOutput.setBackground(new Color(-3355444)); geoGetLocOutput.setEditable(false); scrollPane45.setViewportView(geoGetLocOutput); final JPanel panel67 = new JPanel(); panel67.setLayout(new GridBagLayout()); geoOperationPane.addTab("GetPerms", panel67); final JLabel label175 = new JLabel(); label175.setFont(new Font(label175.getFont().getName(), Font.BOLD, label175.getFont().getSize())); label175.setHorizontalAlignment(0); label175.setMaximumSize(new Dimension(600, 50)); label175.setMinimumSize(new Dimension(600, 50)); label175.setPreferredSize(new Dimension(600, 50)); label175.setText("Get permissions for who may view geo data for a photo."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel67.add(label175, gbc); final JLabel label176 = new JLabel(); label176.setFont(new Font(label176.getFont().getName(), Font.BOLD, label176.getFont().getSize())); label176.setHorizontalAlignment(4); label176.setMaximumSize(new Dimension(400, 25)); label176.setMinimumSize(new Dimension(400, 25)); label176.setPreferredSize(new Dimension(400, 25)); label176.setText("Photo ID : "); label176.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel67.add(label176, gbc); txtGeoGetPermsID = new JTextField(); txtGeoGetPermsID.setMaximumSize(new Dimension(200, 25)); txtGeoGetPermsID.setMinimumSize(new Dimension(200, 25)); txtGeoGetPermsID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel67.add(txtGeoGetPermsID, gbc); geoGetPermsInvoke = new JButton(); geoGetPermsInvoke.setFont( new Font(geoGetPermsInvoke.getFont().getName(), Font.BOLD, geoGetPermsInvoke.getFont().getSize())); geoGetPermsInvoke.setMaximumSize(new Dimension(100, 30)); geoGetPermsInvoke.setMinimumSize(new Dimension(100, 30)); geoGetPermsInvoke.setPreferredSize(new Dimension(100, 30)); geoGetPermsInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel67.add(geoGetPermsInvoke, gbc); final JScrollPane scrollPane46 = new JScrollPane(); scrollPane46.setMaximumSize(new Dimension(550, 225)); scrollPane46.setMinimumSize(new Dimension(550, 225)); scrollPane46.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel67.add(scrollPane46, gbc); geoGetPermsOutput = new JTextArea(); geoGetPermsOutput.setBackground(new Color(-3355444)); geoGetPermsOutput.setEditable(false); scrollPane46.setViewportView(geoGetPermsOutput); final JPanel panel68 = new JPanel(); panel68.setLayout(new GridBagLayout()); geoOperationPane.addTab("RemoveLocation", panel68); final JLabel label177 = new JLabel(); label177.setFont(new Font(label177.getFont().getName(), Font.BOLD, label177.getFont().getSize())); label177.setHorizontalAlignment(0); label177.setMaximumSize(new Dimension(600, 50)); label177.setMinimumSize(new Dimension(600, 50)); label177.setPreferredSize(new Dimension(600, 50)); label177.setText("Removes the geo data associated with a photo."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel68.add(label177, gbc); final JLabel label178 = new JLabel(); label178.setFont(new Font(label178.getFont().getName(), Font.BOLD, label178.getFont().getSize())); label178.setHorizontalAlignment(4); label178.setMaximumSize(new Dimension(400, 25)); label178.setMinimumSize(new Dimension(400, 25)); label178.setPreferredSize(new Dimension(400, 25)); label178.setText("Photo ID : "); label178.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel68.add(label178, gbc); txtGeoRmvLocID = new JTextField(); txtGeoRmvLocID.setMaximumSize(new Dimension(200, 25)); txtGeoRmvLocID.setMinimumSize(new Dimension(200, 25)); txtGeoRmvLocID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel68.add(txtGeoRmvLocID, gbc); geoRmvLocInvoke = new JButton(); geoRmvLocInvoke.setFont( new Font(geoRmvLocInvoke.getFont().getName(), Font.BOLD, geoRmvLocInvoke.getFont().getSize())); geoRmvLocInvoke.setMaximumSize(new Dimension(100, 30)); geoRmvLocInvoke.setMinimumSize(new Dimension(100, 30)); geoRmvLocInvoke.setPreferredSize(new Dimension(100, 30)); geoRmvLocInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel68.add(geoRmvLocInvoke, gbc); final JScrollPane scrollPane47 = new JScrollPane(); scrollPane47.setMaximumSize(new Dimension(550, 225)); scrollPane47.setMinimumSize(new Dimension(550, 225)); scrollPane47.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel68.add(scrollPane47, gbc); geoRmvLocOutput = new JTextArea(); geoRmvLocOutput.setBackground(new Color(-3355444)); geoRmvLocOutput.setEditable(false); scrollPane47.setViewportView(geoRmvLocOutput); final JPanel panel69 = new JPanel(); panel69.setLayout(new GridBagLayout()); geoOperationPane.addTab("SetLocation", panel69); final JLabel label179 = new JLabel(); label179.setFont(new Font(label179.getFont().getName(), Font.BOLD, label179.getFont().getSize())); label179.setHorizontalAlignment(0); label179.setMaximumSize(new Dimension(600, 50)); label179.setMinimumSize(new Dimension(600, 50)); label179.setPreferredSize(new Dimension(600, 50)); label179.setText( "Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel69.add(label179, gbc); final JLabel label180 = new JLabel(); label180.setFont(new Font(label180.getFont().getName(), Font.BOLD, label180.getFont().getSize())); label180.setHorizontalAlignment(4); label180.setMaximumSize(new Dimension(400, 25)); label180.setMinimumSize(new Dimension(400, 25)); label180.setPreferredSize(new Dimension(400, 25)); label180.setText("Latitude : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel69.add(label180, gbc); final JLabel label181 = new JLabel(); label181.setHorizontalAlignment(4); label181.setMaximumSize(new Dimension(400, 25)); label181.setMinimumSize(new Dimension(400, 25)); label181.setPreferredSize(new Dimension(400, 25)); label181.setText("Accuracy : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.anchor = GridBagConstraints.WEST; panel69.add(label181, gbc); cmbGeoSetLocAccuracy = new JComboBox(); cmbGeoSetLocAccuracy.setMaximumSize(new Dimension(200, 25)); cmbGeoSetLocAccuracy.setMinimumSize(new Dimension(200, 25)); cmbGeoSetLocAccuracy.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 4; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel69.add(cmbGeoSetLocAccuracy, gbc); geoSetLocInvoke = new JButton(); geoSetLocInvoke.setFont( new Font(geoSetLocInvoke.getFont().getName(), Font.BOLD, geoSetLocInvoke.getFont().getSize())); geoSetLocInvoke.setMaximumSize(new Dimension(100, 30)); geoSetLocInvoke.setMinimumSize(new Dimension(100, 30)); geoSetLocInvoke.setPreferredSize(new Dimension(100, 30)); geoSetLocInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.insets = new Insets(25, 0, 25, 0); panel69.add(geoSetLocInvoke, gbc); final JScrollPane scrollPane48 = new JScrollPane(); scrollPane48.setMaximumSize(new Dimension(550, 225)); scrollPane48.setMinimumSize(new Dimension(550, 225)); scrollPane48.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 6; gbc.gridwidth = 2; gbc.weighty = 1.0; panel69.add(scrollPane48, gbc); geoSetLocOutput = new JTextArea(); geoSetLocOutput.setBackground(new Color(-3355444)); scrollPane48.setViewportView(geoSetLocOutput); cmbGeoSetLocLatitude = new JComboBox(); cmbGeoSetLocLatitude.setMaximumSize(new Dimension(200, 25)); cmbGeoSetLocLatitude.setMinimumSize(new Dimension(200, 25)); final DefaultComboBoxModel defaultComboBoxModel14 = new DefaultComboBoxModel(); cmbGeoSetLocLatitude.setModel(defaultComboBoxModel14); cmbGeoSetLocLatitude.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel69.add(cmbGeoSetLocLatitude, gbc); final JLabel label182 = new JLabel(); label182.setFont(new Font(label182.getFont().getName(), Font.BOLD, label182.getFont().getSize())); label182.setHorizontalAlignment(4); label182.setMaximumSize(new Dimension(400, 25)); label182.setMinimumSize(new Dimension(400, 25)); label182.setPreferredSize(new Dimension(400, 25)); label182.setText("Longitude : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel69.add(label182, gbc); cmbGeoSetLocLongitude = new JComboBox(); cmbGeoSetLocLongitude.setMaximumSize(new Dimension(200, 25)); cmbGeoSetLocLongitude.setMinimumSize(new Dimension(200, 25)); final DefaultComboBoxModel defaultComboBoxModel15 = new DefaultComboBoxModel(); cmbGeoSetLocLongitude.setModel(defaultComboBoxModel15); cmbGeoSetLocLongitude.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel69.add(cmbGeoSetLocLongitude, gbc); final JLabel label183 = new JLabel(); label183.setFont(new Font(label183.getFont().getName(), Font.BOLD, label183.getFont().getSize())); label183.setHorizontalAlignment(4); label183.setMaximumSize(new Dimension(400, 25)); label183.setMinimumSize(new Dimension(400, 25)); label183.setPreferredSize(new Dimension(400, 25)); label183.setText("Photo ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel69.add(label183, gbc); txtGeoSetLocID = new JTextField(); txtGeoSetLocID.setMaximumSize(new Dimension(200, 25)); txtGeoSetLocID.setMinimumSize(new Dimension(200, 25)); txtGeoSetLocID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel69.add(txtGeoSetLocID, gbc); final JPanel panel70 = new JPanel(); panel70.setLayout(new GridBagLayout()); geoOperationPane.addTab("SetPerms", panel70); final JLabel label184 = new JLabel(); label184.setFont(new Font(label184.getFont().getName(), Font.BOLD, label184.getFont().getSize())); label184.setHorizontalAlignment(0); label184.setMaximumSize(new Dimension(600, 50)); label184.setMinimumSize(new Dimension(600, 50)); label184.setPreferredSize(new Dimension(600, 50)); label184.setText("Set the permission for who may view the geo data associated with a photo."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 4; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(25, 0, 25, 0); panel70.add(label184, gbc); final JLabel label185 = new JLabel(); label185.setFont(new Font(label185.getFont().getName(), Font.BOLD, label185.getFont().getSize())); label185.setHorizontalAlignment(4); label185.setMaximumSize(new Dimension(400, 25)); label185.setMinimumSize(new Dimension(400, 25)); label185.setPreferredSize(new Dimension(400, 25)); label185.setText("Photo ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel70.add(label185, gbc); chkGeoSetPermsPublic = new JCheckBox(); chkGeoSetPermsPublic.setFont(new Font(chkGeoSetPermsPublic.getFont().getName(), Font.BOLD, chkGeoSetPermsPublic.getFont().getSize())); chkGeoSetPermsPublic.setHorizontalAlignment(4); chkGeoSetPermsPublic.setMaximumSize(new Dimension(300, 25)); chkGeoSetPermsPublic.setMinimumSize(new Dimension(300, 25)); chkGeoSetPermsPublic.setPreferredSize(new Dimension(300, 25)); chkGeoSetPermsPublic.setText("Is Public "); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel70.add(chkGeoSetPermsPublic, gbc); chkGeoSetPermsFriend = new JCheckBox(); chkGeoSetPermsFriend.setFont(new Font(chkGeoSetPermsFriend.getFont().getName(), Font.BOLD, chkGeoSetPermsFriend.getFont().getSize())); chkGeoSetPermsFriend.setMaximumSize(new Dimension(200, 25)); chkGeoSetPermsFriend.setMinimumSize(new Dimension(200, 25)); chkGeoSetPermsFriend.setPreferredSize(new Dimension(200, 25)); chkGeoSetPermsFriend.setText("Is Friend"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel70.add(chkGeoSetPermsFriend, gbc); final JScrollPane scrollPane49 = new JScrollPane(); scrollPane49.setMaximumSize(new Dimension(550, 225)); scrollPane49.setMinimumSize(new Dimension(550, 225)); scrollPane49.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 4; gbc.weighty = 1.0; panel70.add(scrollPane49, gbc); geoSetPermsOutput = new JTextArea(); geoSetPermsOutput.setBackground(new Color(-3355444)); scrollPane49.setViewportView(geoSetPermsOutput); geoSetPermsInvoke = new JButton(); geoSetPermsInvoke.setFont( new Font(geoSetPermsInvoke.getFont().getName(), Font.BOLD, geoSetPermsInvoke.getFont().getSize())); geoSetPermsInvoke.setLabel("Invoke"); geoSetPermsInvoke.setMaximumSize(new Dimension(100, 30)); geoSetPermsInvoke.setMinimumSize(new Dimension(100, 30)); geoSetPermsInvoke.setPreferredSize(new Dimension(100, 30)); geoSetPermsInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 4; gbc.insets = new Insets(10, 0, 0, 0); panel70.add(geoSetPermsInvoke, gbc); chkGeoSetPermsContact = new JCheckBox(); chkGeoSetPermsContact.setFont(new Font(chkGeoSetPermsContact.getFont().getName(), Font.BOLD, chkGeoSetPermsContact.getFont().getSize())); chkGeoSetPermsContact.setHorizontalAlignment(4); chkGeoSetPermsContact.setLabel("Is Contact"); chkGeoSetPermsContact.setMaximumSize(new Dimension(300, 25)); chkGeoSetPermsContact.setMinimumSize(new Dimension(300, 25)); chkGeoSetPermsContact.setPreferredSize(new Dimension(300, 25)); chkGeoSetPermsContact.setText("Is Contact"); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 10, 0); panel70.add(chkGeoSetPermsContact, gbc); txtGeoSetPermsID = new JTextField(); txtGeoSetPermsID.setMaximumSize(new Dimension(200, 25)); txtGeoSetPermsID.setMinimumSize(new Dimension(200, 25)); txtGeoSetPermsID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel70.add(txtGeoSetPermsID, gbc); chkGeoSetPermsFamily = new JCheckBox(); chkGeoSetPermsFamily.setFont(new Font(chkGeoSetPermsFamily.getFont().getName(), Font.BOLD, chkGeoSetPermsFamily.getFont().getSize())); chkGeoSetPermsFamily.setMaximumSize(new Dimension(200, 25)); chkGeoSetPermsFamily.setMinimumSize(new Dimension(200, 25)); chkGeoSetPermsFamily.setPreferredSize(new Dimension(200, 25)); chkGeoSetPermsFamily.setText("Is Family"); gbc = new GridBagConstraints(); gbc.gridx = 2; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 10, 0); panel70.add(chkGeoSetPermsFamily, gbc); final JPanel panel71 = new JPanel(); panel71.setLayout(new GridBagLayout()); tabbedPane1.addTab("Groups", panel71); groupsOperationPane = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel71.add(groupsOperationPane, gbc); final JPanel panel72 = new JPanel(); panel72.setLayout(new GridBagLayout()); groupsOperationPane.addTab("Browse", panel72); final JLabel label186 = new JLabel(); label186.setFont(new Font(label186.getFont().getName(), Font.BOLD, label186.getFont().getSize())); label186.setHorizontalAlignment(0); label186.setMaximumSize(new Dimension(600, 50)); label186.setMinimumSize(new Dimension(600, 50)); label186.setPreferredSize(new Dimension(600, 50)); label186.setText("Browse the group category tree, finding groups and sub-categories."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel72.add(label186, gbc); final JLabel label187 = new JLabel(); label187.setFont(new Font(label187.getFont().getName(), Font.BOLD, label187.getFont().getSize())); label187.setHorizontalAlignment(4); label187.setMaximumSize(new Dimension(400, 25)); label187.setMinimumSize(new Dimension(400, 25)); label187.setPreferredSize(new Dimension(400, 25)); label187.setText("Category ID : "); label187.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel72.add(label187, gbc); txtGroupsBrowseID = new JTextField(); txtGroupsBrowseID.setMaximumSize(new Dimension(200, 25)); txtGroupsBrowseID.setMinimumSize(new Dimension(200, 25)); txtGroupsBrowseID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel72.add(txtGroupsBrowseID, gbc); groupsBrowseInvoke = new JButton(); groupsBrowseInvoke.setFont(new Font(groupsBrowseInvoke.getFont().getName(), Font.BOLD, groupsBrowseInvoke.getFont().getSize())); groupsBrowseInvoke.setMaximumSize(new Dimension(100, 30)); groupsBrowseInvoke.setMinimumSize(new Dimension(100, 30)); groupsBrowseInvoke.setPreferredSize(new Dimension(100, 30)); groupsBrowseInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel72.add(groupsBrowseInvoke, gbc); final JScrollPane scrollPane50 = new JScrollPane(); scrollPane50.setMaximumSize(new Dimension(550, 225)); scrollPane50.setMinimumSize(new Dimension(550, 225)); scrollPane50.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel72.add(scrollPane50, gbc); groupsBrowseOutput = new JTextArea(); groupsBrowseOutput.setBackground(new Color(-3355444)); groupsBrowseOutput.setEditable(false); scrollPane50.setViewportView(groupsBrowseOutput); final JPanel panel73 = new JPanel(); panel73.setLayout(new GridBagLayout()); groupsOperationPane.addTab("GetInfo", panel73); final JLabel label188 = new JLabel(); label188.setFont(new Font(label188.getFont().getName(), Font.BOLD, label188.getFont().getSize())); label188.setHorizontalAlignment(0); label188.setMaximumSize(new Dimension(600, 50)); label188.setMinimumSize(new Dimension(600, 50)); label188.setPreferredSize(new Dimension(600, 50)); label188.setText("Get information about a group."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel73.add(label188, gbc); final JLabel label189 = new JLabel(); label189.setFont(new Font(label189.getFont().getName(), Font.BOLD, label189.getFont().getSize())); label189.setHorizontalAlignment(4); label189.setMaximumSize(new Dimension(400, 25)); label189.setMinimumSize(new Dimension(400, 25)); label189.setPreferredSize(new Dimension(400, 25)); label189.setText("Group ID : "); label189.setVerticalAlignment(0); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.EAST; panel73.add(label189, gbc); txtGroupsGetInfoID = new JTextField(); txtGroupsGetInfoID.setMaximumSize(new Dimension(200, 25)); txtGroupsGetInfoID.setMinimumSize(new Dimension(200, 25)); txtGroupsGetInfoID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel73.add(txtGroupsGetInfoID, gbc); groupsGetInfoInvoke = new JButton(); groupsGetInfoInvoke.setFont(new Font(groupsGetInfoInvoke.getFont().getName(), Font.BOLD, groupsGetInfoInvoke.getFont().getSize())); groupsGetInfoInvoke.setMaximumSize(new Dimension(100, 30)); groupsGetInfoInvoke.setMinimumSize(new Dimension(100, 30)); groupsGetInfoInvoke.setPreferredSize(new Dimension(100, 30)); groupsGetInfoInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel73.add(groupsGetInfoInvoke, gbc); final JScrollPane scrollPane51 = new JScrollPane(); scrollPane51.setMaximumSize(new Dimension(550, 225)); scrollPane51.setMinimumSize(new Dimension(550, 225)); scrollPane51.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.weightx = 1.0; gbc.weighty = 1.0; panel73.add(scrollPane51, gbc); groupsGetInfoOutput = new JTextArea(); groupsGetInfoOutput.setBackground(new Color(-3355444)); groupsGetInfoOutput.setEditable(false); scrollPane51.setViewportView(groupsGetInfoOutput); final JPanel panel74 = new JPanel(); panel74.setLayout(new GridBagLayout()); groupsOperationPane.addTab("Search", panel74); final JLabel label190 = new JLabel(); label190.setFont(new Font(label190.getFont().getName(), Font.BOLD, label190.getFont().getSize())); label190.setHorizontalAlignment(0); label190.setMaximumSize(new Dimension(800, 50)); label190.setMinimumSize(new Dimension(800, 50)); label190.setPreferredSize(new Dimension(800, 50)); label190.setText( "Search for groups. 18+ groups will only be returned for authenticated calls where the authenticated user is over 18."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel74.add(label190, gbc); final JLabel label191 = new JLabel(); label191.setFont(new Font(label191.getFont().getName(), label191.getFont().getStyle(), label191.getFont().getSize())); label191.setHorizontalAlignment(4); label191.setMaximumSize(new Dimension(400, 25)); label191.setMinimumSize(new Dimension(400, 25)); label191.setPreferredSize(new Dimension(400, 25)); label191.setText("Text : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel74.add(label191, gbc); final JLabel label192 = new JLabel(); label192.setHorizontalAlignment(4); label192.setMaximumSize(new Dimension(400, 25)); label192.setMinimumSize(new Dimension(400, 25)); label192.setPreferredSize(new Dimension(400, 25)); label192.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel74.add(label192, gbc); txtGroupsSearchPage = new JTextField(); txtGroupsSearchPage.setMaximumSize(new Dimension(200, 25)); txtGroupsSearchPage.setMinimumSize(new Dimension(200, 25)); txtGroupsSearchPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel74.add(txtGroupsSearchPage, gbc); final JLabel label193 = new JLabel(); label193.setHorizontalAlignment(4); label193.setMaximumSize(new Dimension(400, 25)); label193.setMinimumSize(new Dimension(400, 25)); label193.setPreferredSize(new Dimension(400, 25)); label193.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.anchor = GridBagConstraints.WEST; panel74.add(label193, gbc); cmbGroupsSearchPerPage = new JComboBox(); cmbGroupsSearchPerPage.setMaximumSize(new Dimension(200, 25)); cmbGroupsSearchPerPage.setMinimumSize(new Dimension(200, 25)); cmbGroupsSearchPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 3; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel74.add(cmbGroupsSearchPerPage, gbc); groupsSearchInvoke = new JButton(); groupsSearchInvoke.setFont(new Font(groupsSearchInvoke.getFont().getName(), Font.BOLD, groupsSearchInvoke.getFont().getSize())); groupsSearchInvoke.setMaximumSize(new Dimension(100, 30)); groupsSearchInvoke.setMinimumSize(new Dimension(100, 30)); groupsSearchInvoke.setPreferredSize(new Dimension(100, 30)); groupsSearchInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel74.add(groupsSearchInvoke, gbc); final JScrollPane scrollPane52 = new JScrollPane(); scrollPane52.setMaximumSize(new Dimension(550, 225)); scrollPane52.setMinimumSize(new Dimension(550, 225)); scrollPane52.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 5; gbc.gridwidth = 2; gbc.weighty = 1.0; panel74.add(scrollPane52, gbc); groupsSearchOutput = new JTextArea(); groupsSearchOutput.setBackground(new Color(-3355444)); scrollPane52.setViewportView(groupsSearchOutput); txtGroupsSearchText = new JTextField(); txtGroupsSearchText.setMaximumSize(new Dimension(200, 25)); txtGroupsSearchText.setMinimumSize(new Dimension(200, 25)); txtGroupsSearchText.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel74.add(txtGroupsSearchText, gbc); final JPanel panel75 = new JPanel(); panel75.setLayout(new GridBagLayout()); tabbedPane1.addTab("GroupsPools", panel75); tabbedPane2 = new JTabbedPane(); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.fill = GridBagConstraints.BOTH; panel75.add(tabbedPane2, gbc); final JPanel panel76 = new JPanel(); panel76.setLayout(new GridBagLayout()); tabbedPane2.addTab("Add", panel76); final JLabel label194 = new JLabel(); label194.setFont(new Font(label194.getFont().getName(), Font.BOLD, label194.getFont().getSize())); label194.setHorizontalAlignment(0); label194.setMaximumSize(new Dimension(600, 50)); label194.setMinimumSize(new Dimension(600, 50)); label194.setPreferredSize(new Dimension(600, 50)); label194.setText("Add a photo to a group's pool."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel76.add(label194, gbc); final JLabel label195 = new JLabel(); label195.setFont(new Font(label195.getFont().getName(), Font.BOLD, label195.getFont().getSize())); label195.setHorizontalAlignment(4); label195.setMaximumSize(new Dimension(400, 25)); label195.setMinimumSize(new Dimension(400, 25)); label195.setPreferredSize(new Dimension(400, 25)); label195.setText("Photo ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel76.add(label195, gbc); final JLabel label196 = new JLabel(); label196.setFont(new Font(label196.getFont().getName(), Font.BOLD, label196.getFont().getSize())); label196.setHorizontalAlignment(4); label196.setMaximumSize(new Dimension(400, 25)); label196.setMinimumSize(new Dimension(400, 25)); label196.setPreferredSize(new Dimension(400, 25)); label196.setText("Group ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel76.add(label196, gbc); txtGrpPoolsAddGroupID = new JTextField(); txtGrpPoolsAddGroupID.setMaximumSize(new Dimension(200, 25)); txtGrpPoolsAddGroupID.setMinimumSize(new Dimension(200, 25)); txtGrpPoolsAddGroupID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel76.add(txtGrpPoolsAddGroupID, gbc); grpPoolsAddInvoke = new JButton(); grpPoolsAddInvoke.setFont( new Font(grpPoolsAddInvoke.getFont().getName(), Font.BOLD, grpPoolsAddInvoke.getFont().getSize())); grpPoolsAddInvoke.setMaximumSize(new Dimension(100, 30)); grpPoolsAddInvoke.setMinimumSize(new Dimension(100, 30)); grpPoolsAddInvoke.setPreferredSize(new Dimension(100, 30)); grpPoolsAddInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel76.add(grpPoolsAddInvoke, gbc); final JScrollPane scrollPane53 = new JScrollPane(); scrollPane53.setMaximumSize(new Dimension(550, 225)); scrollPane53.setMinimumSize(new Dimension(550, 225)); scrollPane53.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel76.add(scrollPane53, gbc); grpPoolsAddOutput = new JTextArea(); grpPoolsAddOutput.setBackground(new Color(-3355444)); scrollPane53.setViewportView(grpPoolsAddOutput); txtGrpPoolsAddPhotoID = new JTextField(); txtGrpPoolsAddPhotoID.setMaximumSize(new Dimension(200, 25)); txtGrpPoolsAddPhotoID.setMinimumSize(new Dimension(200, 25)); txtGrpPoolsAddPhotoID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel76.add(txtGrpPoolsAddPhotoID, gbc); final JPanel panel77 = new JPanel(); panel77.setLayout(new GridBagLayout()); tabbedPane2.addTab("GetContext", panel77); final JLabel label197 = new JLabel(); label197.setFont(new Font(label197.getFont().getName(), Font.BOLD, label197.getFont().getSize())); label197.setHorizontalAlignment(0); label197.setMaximumSize(new Dimension(600, 50)); label197.setMinimumSize(new Dimension(600, 50)); label197.setPreferredSize(new Dimension(600, 50)); label197.setText("Returns next and previous photos for a photo in a group pool."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel77.add(label197, gbc); final JLabel label198 = new JLabel(); label198.setFont(new Font(label198.getFont().getName(), Font.BOLD, label198.getFont().getSize())); label198.setHorizontalAlignment(4); label198.setMaximumSize(new Dimension(400, 25)); label198.setMinimumSize(new Dimension(400, 25)); label198.setPreferredSize(new Dimension(400, 25)); label198.setText("Photo ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel77.add(label198, gbc); final JLabel label199 = new JLabel(); label199.setFont(new Font(label199.getFont().getName(), Font.BOLD, label199.getFont().getSize())); label199.setHorizontalAlignment(4); label199.setMaximumSize(new Dimension(400, 25)); label199.setMinimumSize(new Dimension(400, 25)); label199.setPreferredSize(new Dimension(400, 25)); label199.setText("Group ID : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel77.add(label199, gbc); txtGrpPoolsContextGrpID = new JTextField(); txtGrpPoolsContextGrpID.setMaximumSize(new Dimension(200, 25)); txtGrpPoolsContextGrpID.setMinimumSize(new Dimension(200, 25)); txtGrpPoolsContextGrpID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel77.add(txtGrpPoolsContextGrpID, gbc); grpPoolsContextInvoke = new JButton(); grpPoolsContextInvoke.setFont(new Font(grpPoolsContextInvoke.getFont().getName(), Font.BOLD, grpPoolsContextInvoke.getFont().getSize())); grpPoolsContextInvoke.setMaximumSize(new Dimension(100, 30)); grpPoolsContextInvoke.setMinimumSize(new Dimension(100, 30)); grpPoolsContextInvoke.setPreferredSize(new Dimension(100, 30)); grpPoolsContextInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel77.add(grpPoolsContextInvoke, gbc); final JScrollPane scrollPane54 = new JScrollPane(); scrollPane54.setMaximumSize(new Dimension(550, 225)); scrollPane54.setMinimumSize(new Dimension(550, 225)); scrollPane54.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel77.add(scrollPane54, gbc); grpPoolsContextOutput = new JTextArea(); grpPoolsContextOutput.setBackground(new Color(-3355444)); scrollPane54.setViewportView(grpPoolsContextOutput); txtGrpPoolsContextPhotoID = new JTextField(); txtGrpPoolsContextPhotoID.setMaximumSize(new Dimension(200, 25)); txtGrpPoolsContextPhotoID.setMinimumSize(new Dimension(200, 25)); txtGrpPoolsContextPhotoID.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel77.add(txtGrpPoolsContextPhotoID, gbc); final JPanel panel78 = new JPanel(); panel78.setLayout(new GridBagLayout()); tabbedPane2.addTab("GetGroups", panel78); final JLabel label200 = new JLabel(); label200.setFont(new Font(label200.getFont().getName(), Font.BOLD, label200.getFont().getSize())); label200.setHorizontalAlignment(0); label200.setMaximumSize(new Dimension(800, 50)); label200.setMinimumSize(new Dimension(800, 50)); label200.setPreferredSize(new Dimension(800, 50)); label200.setText("Returns a list of groups to which you can add photos."); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 0; gbc.gridwidth = 2; gbc.anchor = GridBagConstraints.NORTH; gbc.insets = new Insets(50, 0, 50, 0); panel78.add(label200, gbc); final JLabel label201 = new JLabel(); label201.setHorizontalAlignment(4); label201.setMaximumSize(new Dimension(400, 25)); label201.setMinimumSize(new Dimension(400, 25)); label201.setPreferredSize(new Dimension(400, 25)); label201.setText("Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 1; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 0, 15, 0); panel78.add(label201, gbc); txtGrpPoolsGrpsPage = new JTextField(); txtGrpPoolsGrpsPage.setMaximumSize(new Dimension(200, 25)); txtGrpPoolsGrpsPage.setMinimumSize(new Dimension(200, 25)); txtGrpPoolsGrpsPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 1; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 15, 0); panel78.add(txtGrpPoolsGrpsPage, gbc); final JLabel label202 = new JLabel(); label202.setHorizontalAlignment(4); label202.setMaximumSize(new Dimension(400, 25)); label202.setMinimumSize(new Dimension(400, 25)); label202.setPreferredSize(new Dimension(400, 25)); label202.setText("Per Page : "); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 2; gbc.anchor = GridBagConstraints.WEST; panel78.add(label202, gbc); cmbGrpPoolsGrpsPerPage = new JComboBox(); cmbGrpPoolsGrpsPerPage.setMaximumSize(new Dimension(200, 25)); cmbGrpPoolsGrpsPerPage.setMinimumSize(new Dimension(200, 25)); cmbGrpPoolsGrpsPerPage.setPreferredSize(new Dimension(200, 25)); gbc = new GridBagConstraints(); gbc.gridx = 1; gbc.gridy = 2; gbc.weightx = 1.0; gbc.anchor = GridBagConstraints.WEST; gbc.insets = new Insets(0, 100, 0, 0); panel78.add(cmbGrpPoolsGrpsPerPage, gbc); grpPoolsGrpsInvoke = new JButton(); grpPoolsGrpsInvoke.setFont(new Font(grpPoolsGrpsInvoke.getFont().getName(), Font.BOLD, grpPoolsGrpsInvoke.getFont().getSize())); grpPoolsGrpsInvoke.setMaximumSize(new Dimension(100, 30)); grpPoolsGrpsInvoke.setMinimumSize(new Dimension(100, 30)); grpPoolsGrpsInvoke.setPreferredSize(new Dimension(100, 30)); grpPoolsGrpsInvoke.setText("Invoke"); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 3; gbc.gridwidth = 2; gbc.insets = new Insets(50, 0, 50, 0); panel78.add(grpPoolsGrpsInvoke, gbc); final JScrollPane scrollPane55 = new JScrollPane(); scrollPane55.setMaximumSize(new Dimension(550, 225)); scrollPane55.setMinimumSize(new Dimension(550, 225)); scrollPane55.setPreferredSize(new Dimension(550, 225)); gbc = new GridBagConstraints(); gbc.gridx = 0; gbc.gridy = 4; gbc.gridwidth = 2; gbc.weighty = 1.0; panel78.add(scrollPane55, gbc); grpPoolsGrpsOutput = new JTextArea(); grpPoolsGrpsOutput.setBackground(new Color(-3355444)); scrollPane55.setViewportView(grpPoolsGrpsOutput); findByEmailOutput.setNextFocusableComponent(tabbedPane1); blogsGetListOutput.setNextFocusableComponent(tabbedPane1); }