Lines 13-18
Link Here
|
13 |
|
13 |
|
14 |
package org.netbeans.modules.welcome; |
14 |
package org.netbeans.modules.welcome; |
15 |
|
15 |
|
|
|
16 |
import java.awt.Font; |
16 |
/** |
17 |
/** |
17 |
* |
18 |
* |
18 |
* @author Richard Gregor |
19 |
* @author Richard Gregor |
Lines 22-27
Link Here
|
22 |
/** Creates new form ControlPanel */ |
23 |
/** Creates new form ControlPanel */ |
23 |
public ControlPanel() { |
24 |
public ControlPanel() { |
24 |
initComponents(); |
25 |
initComponents(); |
|
|
26 |
Font f= tipPanel1.getTextFont(); |
27 |
tipLBL.setFont(f); |
28 |
customizingLBL.setFont(f); |
29 |
helpLBL.setFont(f); |
30 |
|
25 |
} |
31 |
} |
26 |
|
32 |
|
27 |
/** This method is called from within the constructor to |
33 |
/** This method is called from within the constructor to |
Lines 33-41
Link Here
|
33 |
java.awt.GridBagConstraints gridBagConstraints; |
39 |
java.awt.GridBagConstraints gridBagConstraints; |
34 |
|
40 |
|
35 |
helpPanel2 = new org.netbeans.modules.welcome.HelpPanel(); |
41 |
helpPanel2 = new org.netbeans.modules.welcome.HelpPanel(); |
36 |
custLBL = new javax.swing.JLabel(); |
42 |
customizingLBL = new org.netbeans.modules.welcome.ControlLabel(); |
37 |
helpLBL = new javax.swing.JLabel(); |
43 |
helpLBL = new org.netbeans.modules.welcome.ControlLabel(); |
38 |
tipLBL = new javax.swing.JLabel(); |
44 |
tipLBL = new org.netbeans.modules.welcome.ControlLabel(); |
39 |
setupButton1 = new org.netbeans.modules.welcome.SetupButton(); |
45 |
setupButton1 = new org.netbeans.modules.welcome.SetupButton(); |
40 |
updateButton1 = new org.netbeans.modules.welcome.UpdateButton(); |
46 |
updateButton1 = new org.netbeans.modules.welcome.UpdateButton(); |
41 |
helpPanel1 = new org.netbeans.modules.welcome.HelpPanel(); |
47 |
helpPanel1 = new org.netbeans.modules.welcome.HelpPanel(); |
Lines 49-74
Link Here
|
49 |
setLayout(new java.awt.GridBagLayout()); |
55 |
setLayout(new java.awt.GridBagLayout()); |
50 |
|
56 |
|
51 |
setBackground(new java.awt.Color(255, 255, 255)); |
57 |
setBackground(new java.awt.Color(255, 255, 255)); |
52 |
custLBL.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/modules/welcome/pages/images/customizing.gif"))); |
58 |
|
|
|
59 |
customizingLBL.setPreferredSize(new java.awt.Dimension(162, 17)); |
60 |
customizingLBL.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/welcome/Bundle").getString("Customizing_LBL")); |
53 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
61 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
|
62 |
gridBagConstraints.gridx = 0; |
63 |
gridBagConstraints.gridy = 0; |
54 |
gridBagConstraints.gridwidth = 2; |
64 |
gridBagConstraints.gridwidth = 2; |
55 |
gridBagConstraints.insets = new java.awt.Insets(24, 0, 12, 8); |
65 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
56 |
add(custLBL, gridBagConstraints); |
66 |
gridBagConstraints.insets = new java.awt.Insets(24, 0, 12, 14); |
|
|
67 |
add(customizingLBL, gridBagConstraints); |
57 |
|
68 |
|
58 |
helpLBL.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/modules/welcome/pages/images/help.gif"))); |
69 |
helpLBL.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/welcome/Bundle").getString("Help_LBL")); |
59 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
70 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
60 |
gridBagConstraints.gridx = 0; |
71 |
gridBagConstraints.gridx = 0; |
61 |
gridBagConstraints.gridy = 3; |
72 |
gridBagConstraints.gridy = 3; |
62 |
gridBagConstraints.gridwidth = 2; |
73 |
gridBagConstraints.gridwidth = 2; |
63 |
gridBagConstraints.insets = new java.awt.Insets(12, 0, 12, 8); |
74 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
|
|
75 |
gridBagConstraints.insets = new java.awt.Insets(10, 0, 6, 14); |
64 |
add(helpLBL, gridBagConstraints); |
76 |
add(helpLBL, gridBagConstraints); |
65 |
|
77 |
|
66 |
tipLBL.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/modules/welcome/pages/images/tip.gif"))); |
78 |
tipLBL.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/welcome/Bundle").getString("TipLBL")); |
67 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
79 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
68 |
gridBagConstraints.gridx = 0; |
80 |
gridBagConstraints.gridx = 0; |
69 |
gridBagConstraints.gridy = 5; |
81 |
gridBagConstraints.gridy = 5; |
70 |
gridBagConstraints.gridwidth = 2; |
82 |
gridBagConstraints.gridwidth = 2; |
71 |
gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 8); |
83 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
|
|
84 |
gridBagConstraints.insets = new java.awt.Insets(6, 0, 6, 14); |
72 |
add(tipLBL, gridBagConstraints); |
85 |
add(tipLBL, gridBagConstraints); |
73 |
|
86 |
|
74 |
setupButton1.setLayout(null); |
87 |
setupButton1.setLayout(null); |
Lines 91-104
Link Here
|
91 |
|
104 |
|
92 |
helpPanel1.setLayout(null); |
105 |
helpPanel1.setLayout(null); |
93 |
|
106 |
|
94 |
helpPanel1.setMinimumSize(new java.awt.Dimension(142, 80)); |
107 |
helpPanel1.setMinimumSize(new java.awt.Dimension(142, 90)); |
95 |
helpPanel1.setPreferredSize(new java.awt.Dimension(142, 80)); |
108 |
helpPanel1.setPreferredSize(new java.awt.Dimension(142, 90)); |
96 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
109 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
97 |
gridBagConstraints.gridx = 0; |
110 |
gridBagConstraints.gridx = 0; |
98 |
gridBagConstraints.gridy = 4; |
111 |
gridBagConstraints.gridy = 4; |
99 |
gridBagConstraints.gridwidth = 2; |
112 |
gridBagConstraints.gridwidth = 2; |
100 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
113 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
101 |
gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 8); |
114 |
gridBagConstraints.insets = new java.awt.Insets(0, 7, 0, 9); |
102 |
add(helpPanel1, gridBagConstraints); |
115 |
add(helpPanel1, gridBagConstraints); |
103 |
|
116 |
|
104 |
update.setFont(new java.awt.Font("Dialog", 0, 10)); |
117 |
update.setFont(new java.awt.Font("Dialog", 0, 10)); |
Lines 121-132
Link Here
|
121 |
|
134 |
|
122 |
jPanel1.setBackground(new java.awt.Color(255, 255, 255)); |
135 |
jPanel1.setBackground(new java.awt.Color(255, 255, 255)); |
123 |
|
136 |
|
124 |
tipPanel1.setPreferredSize(new java.awt.Dimension(160, 203)); |
|
|
125 |
jPanel1.add(tipPanel1); |
137 |
jPanel1.add(tipPanel1); |
126 |
|
138 |
|
127 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
139 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
128 |
gridBagConstraints.gridx = 0; |
140 |
gridBagConstraints.gridx = 0; |
129 |
gridBagConstraints.gridy = 7; |
141 |
gridBagConstraints.gridy = 6; |
130 |
gridBagConstraints.gridwidth = 2; |
142 |
gridBagConstraints.gridwidth = 2; |
131 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
143 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
132 |
gridBagConstraints.weighty = 1.0; |
144 |
gridBagConstraints.weighty = 1.0; |
Lines 136-152
Link Here
|
136 |
|
148 |
|
137 |
|
149 |
|
138 |
// Variables declaration - do not modify//GEN-BEGIN:variables |
150 |
// Variables declaration - do not modify//GEN-BEGIN:variables |
139 |
private javax.swing.JLabel setup; |
151 |
private org.netbeans.modules.welcome.SetupButton setupButton1; |
140 |
private javax.swing.JPanel jPanel1; |
152 |
private javax.swing.JLabel update; |
141 |
private org.netbeans.modules.welcome.UpdateButton updateButton1; |
|
|
142 |
private javax.swing.JLabel helpLBL; |
143 |
private org.netbeans.modules.welcome.TipPanel tipPanel1; |
153 |
private org.netbeans.modules.welcome.TipPanel tipPanel1; |
144 |
private javax.swing.JLabel custLBL; |
154 |
private org.netbeans.modules.welcome.UpdateButton updateButton1; |
145 |
private javax.swing.JLabel tipLBL; |
155 |
private org.netbeans.modules.welcome.ControlLabel tipLBL; |
|
|
156 |
private org.netbeans.modules.welcome.ControlLabel customizingLBL; |
157 |
private org.netbeans.modules.welcome.ControlLabel helpLBL; |
158 |
private javax.swing.JLabel setup; |
146 |
private org.netbeans.modules.welcome.HelpPanel helpPanel2; |
159 |
private org.netbeans.modules.welcome.HelpPanel helpPanel2; |
|
|
160 |
private javax.swing.JPanel jPanel1; |
147 |
private org.netbeans.modules.welcome.HelpPanel helpPanel1; |
161 |
private org.netbeans.modules.welcome.HelpPanel helpPanel1; |
148 |
private javax.swing.JLabel update; |
|
|
149 |
private org.netbeans.modules.welcome.SetupButton setupButton1; |
150 |
// End of variables declaration//GEN-END:variables |
162 |
// End of variables declaration//GEN-END:variables |
151 |
|
163 |
|
152 |
} |
164 |
} |