55 java.awt.GridBagConstraints gridBagConstraints;
57 javax.swing.JLabel descriptionLabel =
new javax.swing.JLabel();
58 javax.swing.JLabel docsLabel =
new javax.swing.JLabel();
59 link =
new javax.swing.JLabel();
60 javax.swing.JPanel paddingPanel =
new javax.swing.JPanel();
61 javax.swing.JButton okButton =
new javax.swing.JButton();
63 setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
67 getContentPane().setLayout(
new java.awt.GridBagLayout());
69 org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel, org.openide.util.NbBundle.getMessage(
CTIntegrationMissingDialog.class,
"CTIntegrationMissingDialog.descriptionLabel.text"));
70 descriptionLabel.setMinimumSize(
new java.awt.Dimension(483, 116));
71 gridBagConstraints =
new java.awt.GridBagConstraints();
72 gridBagConstraints.gridx = 0;
73 gridBagConstraints.gridy = 0;
74 gridBagConstraints.gridwidth = 2;
75 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
76 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
77 gridBagConstraints.weightx = 1.0;
78 gridBagConstraints.insets =
new java.awt.Insets(5, 5, 5, 5);
79 getContentPane().add(descriptionLabel, gridBagConstraints);
81 org.openide.awt.Mnemonics.setLocalizedText(docsLabel, org.openide.util.NbBundle.getMessage(
CTIntegrationMissingDialog.class,
"CTIntegrationMissingDialog.docsLabel.text"));
82 docsLabel.setMinimumSize(
new java.awt.Dimension(312, 16));
83 gridBagConstraints =
new java.awt.GridBagConstraints();
84 gridBagConstraints.gridx = 0;
85 gridBagConstraints.gridy = 1;
86 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
87 gridBagConstraints.insets =
new java.awt.Insets(0, 5, 5, 0);
88 getContentPane().add(docsLabel, gridBagConstraints);
90 org.openide.awt.Mnemonics.setLocalizedText(
link,
"<html><span style=\"color: blue; text-decoration: underline\">" +
DOCS_PAGE_URL +
"</span></html>");
91 link.setCursor(
new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
92 link.addMouseListener(
new java.awt.event.MouseAdapter() {
93 public void mouseClicked(java.awt.event.MouseEvent evt) {
94 linkMouseClicked(evt);
97 gridBagConstraints =
new java.awt.GridBagConstraints();
98 gridBagConstraints.gridx = 1;
99 gridBagConstraints.gridy = 1;
100 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
101 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
102 gridBagConstraints.weightx = 1.0;
103 gridBagConstraints.insets =
new java.awt.Insets(0, 5, 5, 5);
104 getContentPane().add(
link, gridBagConstraints);
106 javax.swing.GroupLayout paddingPanelLayout =
new javax.swing.GroupLayout(paddingPanel);
107 paddingPanel.setLayout(paddingPanelLayout);
108 paddingPanelLayout.setHorizontalGroup(
109 paddingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
110 .addGap(0, 0, Short.MAX_VALUE)
112 paddingPanelLayout.setVerticalGroup(
113 paddingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
114 .addGap(0, 0, Short.MAX_VALUE)
117 gridBagConstraints =
new java.awt.GridBagConstraints();
118 gridBagConstraints.gridx = 0;
119 gridBagConstraints.gridy = 2;
120 gridBagConstraints.gridwidth = 2;
121 gridBagConstraints.weighty = 1.0;
122 getContentPane().add(paddingPanel, gridBagConstraints);
124 org.openide.awt.Mnemonics.setLocalizedText(okButton, org.openide.util.NbBundle.getMessage(
CTIntegrationMissingDialog.class,
"CTIntegrationMissingDialog.okButton.text"));
125 okButton.addActionListener(
new java.awt.event.ActionListener() {
126 public void actionPerformed(java.awt.event.ActionEvent evt) {
127 okButtonActionPerformed(evt);
130 gridBagConstraints =
new java.awt.GridBagConstraints();
131 gridBagConstraints.gridx = 1;
132 gridBagConstraints.gridy = 2;
133 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
134 gridBagConstraints.insets =
new java.awt.Insets(10, 5, 5, 5);
135 getContentPane().add(okButton, gridBagConstraints);