- annsettingsPanel.setBounds(new Rectangle(173, 34, 300, 61));
- annsettingsPanel.setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
- annsettingsPanel.add(autoAnnotSettings1);
- annsettingsPanel.add(autoAnnotSettings2);
- annsettingsPanel.add(autoAnnotSettings3);
- autoAnnotSettings1.setLayout(new GridLayout(3, 1, 0, 0));
- autoAnnotSettings2.setLayout(new GridLayout(3, 1, 0, 0));
- autoAnnotSettings3.setLayout(new GridLayout(3, 1, 0, 0));
- visualTab.add(annsettingsPanel);
- Border jb = new EmptyBorder(1, 1, 4, 5);
- quality.setBorder(jb);
- conservation.setBorder(jb);
- identity.setBorder(jb);
- showConsensbits.setBorder(jb);
- showGroupbits.setBorder(jb);
- showGroupConsensus.setBorder(jb);
- showGroupConservation.setBorder(jb);
- showConsensHistogram.setBorder(jb);
- showConsensLogo.setBorder(jb);
-
- autoAnnotSettings2.add(conservation);
- autoAnnotSettings1.add(quality);
- autoAnnotSettings3.add(identity);
- autoAnnotSettings1.add(showGroupbits);
- autoAnnotSettings3.add(showGroupConsensus);
- autoAnnotSettings2.add(showGroupConservation);
- autoAnnotSettings1.add(showConsensbits);
- autoAnnotSettings2.add(showConsensHistogram);
- autoAnnotSettings3.add(showConsensLogo);
-
- JPanel tooltipSettings = new JPanel();
- tooltipSettings.setBorder(new TitledBorder(MessageManager
- .getString("label.sequence_id_tooltip")));
- tooltipSettings.setBounds(173, 130, 200, 62);
- tooltipSettings.setLayout(new GridLayout(2, 1));
- tooltipSettings.add(showDbRefTooltip);
- tooltipSettings.add(showNpTooltip);
- visualTab.add(tooltipSettings);
- visualTab.add(jPanel2);
- JvSwingUtils.addtoLayout(visual2Tab, MessageManager
- .getString("label.default_colour_scheme_for_alignment"),
- colourLabel, colour);
- JPanel annotationShding = new JPanel();
- annotationShding.setBorder(new TitledBorder(MessageManager
- .getString("label.annotation_shading_default")));
- annotationShding.setLayout(new GridLayout(1, 2));
- JvSwingUtils.addtoLayout(annotationShding, MessageManager
- .getString("label.default_minimum_colour_annotation_shading"),
- mincolourLabel, minColour);
- JvSwingUtils.addtoLayout(annotationShding, MessageManager
- .getString("label.default_maximum_colour_annotation_shading"),
- maxcolourLabel, maxColour);
- visual2Tab.add(annotationShding); // , FlowLayout.LEFT);
-
- // visual2panel.add(minColour);
- // visual2panel.add(maxColour);
- // visual2Tab.add(visual2panel);
-
- linkPanel.add(editLinkButtons, BorderLayout.EAST);
- editLinkButtons.add(newLink, null);
- editLinkButtons.add(editLink, null);
- editLinkButtons.add(deleteLink, null);
- linkPanel.add(linkScrollPane, BorderLayout.CENTER);
- linkScrollPane.getViewport().add(linkPanel2, null);
- linkPanel2.add(linkURLList, BorderLayout.CENTER);
- linkPanel2.add(linkNameList, BorderLayout.WEST);
- okCancelPanel.add(ok);
- okCancelPanel.add(cancel);
- this.add(tabbedPane, java.awt.BorderLayout.CENTER);
-
- this.add(okCancelPanel, java.awt.BorderLayout.SOUTH);
- jPanel1.add(serverLabel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,
- 2, 4, 0), 5, 0));
- jPanel1.add(portLabel, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,
- 0, 4, 0), 11, 6));
- connectTab.add(linkPanel, new GridBagConstraints(0, 0, 2, 1, 1.0, 1.0,
- GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(
- 16, 0, 0, 12), 359, -17));
- connectTab.add(jPanel1, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0,
- GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(
- 21, 0, 35, 12), 4, 6));
- connectTab.add(browserLabel, new GridBagConstraints(0, 1, 1, 1, 0.0,
- 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE,
- new Insets(16, 0, 0, 0), 5, 1));
- jPanel1.add(proxyPortTB, new GridBagConstraints(3, 1, 1, 1, 1.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(0, 2, 4, 2), 54, 1));
- jPanel1.add(proxyServerTB, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(0, 2, 4, 0), 263, 1));
- connectTab.add(defaultBrowser, new GridBagConstraints(1, 1, 1, 1, 1.0,
- 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(15, 0, 0, 15), 307, 1));
- connectTab.add(usagestats, new GridBagConstraints(0, 4, 1, 1, 1.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(0, 2, 4, 2), 70, 1));
- connectTab.add(questionnaire, new GridBagConstraints(1, 4, 1, 1, 1.0,
- 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(0, 2, 4, 2), 70, 1));
- connectTab.add(versioncheck, new GridBagConstraints(0, 5, 1, 1, 1.0,
- 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
- new Insets(0, 2, 4, 2), 70, 1));
-
- jPanel1.add(useProxy, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0,
- GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0,
- 2, 5, 185), 2, -4));
- DefaultListCellRenderer dlcr = new DefaultListCellRenderer();
- dlcr.setHorizontalAlignment(DefaultListCellRenderer.CENTER);
- gapSymbolCB.setRenderer(dlcr);
-
- tabbedPane.add(visualTab, MessageManager.getString("label.visual"));
- tabbedPane.add(visual2Tab, MessageManager.getString("label.colours"));
- tabbedPane.add(connectTab,
- MessageManager.getString("label.connections"));
- tabbedPane.add(exportTab, MessageManager.getString("label.output"));
- jPanel11.add(jLabel1);
- jPanel11.add(blcjv);
- jPanel11.add(clustaljv);
- jPanel11.add(fastajv);
- jPanel11.add(msfjv);
- jPanel11.add(pfamjv);
- jPanel11.add(pileupjv);
- jPanel11.add(pirjv);
- exportTab.add(autoIdWidth);
- exportTab.add(userIdWidth);
- exportTab.add(userIdWidthlabel);
- exportTab.add(modellerOutput);
- tabbedPane.add(calcTab, MessageManager.getString("label.editing"));
- calcTab.add(autoCalculateConsCheck);
- calcTab.add(padGaps);
- calcTab.add(sortByTree);
-
- tabbedPane
- .add(dasPanel, MessageManager.getString("label.das_settings"));
- tabbedPane.add(wsPanel, MessageManager.getString("label.web_services"));
-
- exportTab.add(epsLabel);
- exportTab.add(epsRendering);
- exportTab.add(jPanel11);