/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/IBCompSciInternalAssessment Lara April 6th/src/ibcompsciinternalassessment/MainGUI.java |
1
2
3
4
5
6 package ibcompsciinternalassessment;
7 import java.util.*;
8
9
10
11 @author
12
13 public class MainGUI extends javax.swing.JFrame {
14
15
16 public static ArrayList<Contribution> contributions = new ArrayList<Contribution>();
17 static LoginScreenPopUp login = new LoginScreenPopUp();
18 static TableOfRequests requests = new TableOfRequests();
19
20
21
22
23
24
25
26
27
28
29
30 public MainGUI() {
31 initComponents();
32 login.setVisible(false);
33 requests.setVisible(false);
34 continueLabel.setVisible(false);
35 continueButton.setVisible(false);
36 incorrectCredLabel.setVisible(false);
37 AmountInfoPane.setVisible(false);
38 yearInfoPane.setVisible(false);
39 DDInfoPane.setVisible(false);
40 retroactivityInfoPane.setVisible(false);
41 GeographicInfoPane.setVisible(false);
42 thematicInfoPane.setVisible(false);
43 reportingInfoPane.setVisible(false);
44 retroactivityTrueFalseButtonGroup.add(retroactivityTrueButton);
45 retroactivityTrueFalseButtonGroup.add(retroactivityFalseButton);
46
47
48 bYErrorMsg.setVisible(false);
49 dDErrorMsg.setVisible(false);
50
51
52 }
53
Netbeans auto-generated GUI code pasted at the end of this file.
1025
1026
1027
1028 private void exitMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
1029 System.exit(0);
1030 }
1031
1032 private void MainPanelsMouseReleased(java.awt.event.MouseEvent evt) {
1033
1034 }
1035
1036 private void MainPanelsMouseClicked(java.awt.event.MouseEvent evt) {
1037
1038 }
1039
1040 private void LoginButtonMouseReleased(java.awt.event.MouseEvent evt) {
1041 login.setVisible(true);
1042 continueLabel.setVisible(true);
1043 continueButton.setVisible(true);
1044 }
1045
1046 private void continueButtonActionPerformed(java.awt.event.ActionEvent evt) {
1047 if(login.getIsCorrect()){
1048 requests.setVisible(true);
1049 requests.receiveContributions(contributions);
1050 }
1051 else{
1052 LoginButton.setVisible(true);
1053 pleaseLabel.setVisible(true);
1054 pleaseLabelTwo.setVisible(true);
1055 incorrectCredLabel.setVisible(true);
1056 }
1057 }
1058
1059
1060
1061
1062 private void reportingInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1063 reportingInfoPane .setVisible(true);
1064 }
1065
1066 private void thematicInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1067 thematicInfoPane.setVisible(true);
1068 }
1069
1070 private void geographicalInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1071 GeographicInfoPane.setVisible(true);
1072 }
1073
1074 private void retroactiveInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1075 retroactivityInfoPane.setVisible(true);
1076 }
1077
1078 private void yearInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1079 yearInfoPane.setVisible(true);
1080 }
1081
1082 private void DDInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1083 DDInfoPane.setVisible(true);
1084 }
1085
1086 private void AmountInfoButtonMouseEntered(java.awt.event.MouseEvent evt) {
1087 AmountInfoPane.setVisible(true);
1088 }
1089
1090 private void AmountInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1091 AmountInfoPane.setVisible(false);
1092 }
1093
1094 private void DDInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1095 DDInfoPane.setVisible(false);
1096 }
1097
1098 private void yearInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1099 yearInfoPane.setVisible(false);
1100 }
1101
1102 private void retroactiveInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1103 retroactivityInfoPane.setVisible(false);
1104 }
1105
1106 private void geographicalInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1107 GeographicInfoPane.setVisible(false);
1108 }
1109
1110 private void thematicInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1111 thematicInfoPane.setVisible(false);
1112 }
1113
1114 private void reportingInfoButtonMouseExited(java.awt.event.MouseEvent evt) {
1115 reportingInfoPane .setVisible(false);
1116 }
1117
1118 private void retroactivityTrueButtonPropertyChange(java.beans.PropertyChangeEvent evt) {
1119
1120 }
1121
1122 private void submitButtonMouseReleased(java.awt.event.MouseEvent evt) {
1123
1124
1125 NonEarmarkedContribution newNonContribution;
1126 EarmarkedContribution newEarContribution;
1127 Country country = new Country(geoInterestCB.getSelectedItem() +"");
1128 boolean allGood = true;
1129 DateSelfMade dueDiligence = new DateSelfMade();
1130
1131
1132 if(dueDiligenceDateChooser.getDate() != null)
1133 dueDiligence = new DateSelfMade(dueDiligenceDateChooser.getDate());
1134 else{
1135 allGood = false;
1136 dDErrorMsg.setVisible(true);
1137 }
1138
1139
1140
1141 DateSelfMade budgetYear = new DateSelfMade();
1142 if(budgetYearLeftChooser.getYear()<=budgetYearRightChooser.getYear() && DateSelfMade.getCurrentYear()<= budgetYearLeftChooser.getYear()){
1143 budgetYear = new DateSelfMade(budgetYearLeftChooser.getYear(), budgetYearRightChooser.getYear());
1144 }else{
1145 bYErrorMsg.setVisible(true);
1146 allGood = false;
1147 }
1148
1149
1150
1151 if(allGood){
1152 if(country.getName().equals("Not Applicable")){
1153
1154 newNonContribution = new NonEarmarkedContribution(donorNameTF.getText(), amountEstimateTF.getText(), dueDiligence, dDCommentsTF.getText(), budgetYear, bYCommentsTF.getText(), retroactivityTrueButton.isSelected(),
1155 retroCommentsTF.getText(), reportingTF.getText(), visibilityTF.getText(), otherCommentsTF.getText());
1156 contributions.add(newNonContribution);
1157
1158 }
1159 else{
1160
1161 newEarContribution = new EarmarkedContribution(donorNameTF.getText(), amountEstimateTF.getText(), dueDiligence, dDCommentsTF.getText(), budgetYear, bYCommentsTF.getText(), retroactivityTrueButton.isSelected(),
1162 retroCommentsTF.getText(), country, geoCommentTF.getText(), thematicTF.getText(), reportingTF.getText(), visibilityTF.getText(), otherCommentsTF.getText());
1163 contributions.add(newEarContribution);
1164 }
1165 requests.receiveContributions(contributions);
1166
1167
1168 donorNameTF.setText("");
1169 amountEstimateTF.setText("");
1170 dueDiligenceDateChooser.setDate(null);
1171 dDCommentsTF.setText("");
1172 budgetYearLeftChooser.setYear(2021);
1173 budgetYearRightChooser.setYear(2021);
1174 bYCommentsTF.setText("");
1175 retroactivityTrueFalseButtonGroup.clearSelection();
1176 retroCommentsTF.setText("");
1177 geoInterestCB.setSelectedIndex(0);
1178 geoCommentTF.setText("");
1179 thematicTF.setText("");
1180 reportingTF.setText("");
1181 visibilityTF.setText("");
1182 otherCommentsTF.setText("");
1183 bYErrorMsg.setVisible(false);
1184 dDErrorMsg.setVisible(false);
1185 }
1186 }
1187
1188
1189
1190
1191 @param args
1192
1193 public static void main(String args[]) {
1194
1195
1196
1197
1198
1199 try {
1200 for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
1201 if ("Nimbus".equals(info.getName())) {
1202 javax.swing.UIManager.setLookAndFeel(info.getClassName());
1203 break;
1204 }
1205 }
1206 } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
1207 java.util.logging.Logger.getLogger(MainGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
1208 }
1209
1210
1211
1212
1213
1214 java.awt.EventQueue.invokeLater(new Runnable() {
1215 public void run() {
1216 new MainGUI().setVisible(true);
1217
1218 }
1219 });
1220 }
Autogenerated Netbeans GUI code:
54
55 This method is called from within the constructor to initialize the form.
56
57
58
59 @SuppressWarnings("unchecked")
60 // <editor-fold defaultstate="collapsed" desc="Generated Code">
61 private void initComponents() {
62
63 retroactivityTrueFalseButtonGroup = new javax.swing.ButtonGroup();
64 MainPanels = new javax.swing.JTabbedPane();
65 InputFormScrollPanel = new javax.swing.JScrollPane();
66 InpuFormTab1 = new javax.swing.JPanel();
67 amountEstimateTF = new javax.swing.JTextField();
68 dDCommentsTF = new javax.swing.JTextField();
69 seperator3 = new javax.swing.JSeparator();
70 seperator2 = new javax.swing.JSeparator();
71 seperator5 = new javax.swing.JSeparator();
72 seperator4 = new javax.swing.JSeparator();
73 jLabel13 = new javax.swing.JLabel();
74 jLabel14 = new javax.swing.JLabel();
75 jLabel15 = new javax.swing.JLabel();
76 jLabel16 = new javax.swing.JLabel();
77 jLabel17 = new javax.swing.JLabel();
78 bYCommentsTF = new javax.swing.JTextField();
79 jLabel18 = new javax.swing.JLabel();
80 jLabel19 = new javax.swing.JLabel();
81 jLabel20 = new javax.swing.JLabel();
82 seperator6 = new javax.swing.JSeparator();
83 jLabel21 = new javax.swing.JLabel();
84 thematicTF = new javax.swing.JTextField();
85 seperator7 = new javax.swing.JSeparator();
86 jLabel22 = new javax.swing.JLabel();
87 jScrollPane5 = new javax.swing.JScrollPane();
88 reportingTF = new javax.swing.JTextArea();
89 seperator8 = new javax.swing.JSeparator();
90 jLabel23 = new javax.swing.JLabel();
91 jScrollPane6 = new javax.swing.JScrollPane();
92 visibilityTF = new javax.swing.JTextArea();
93 seperator9 = new javax.swing.JSeparator();
94 jLabel24 = new javax.swing.JLabel();
95 jScrollPane7 = new javax.swing.JScrollPane();
96 otherCommentsTF = new javax.swing.JTextArea();
97 jLabel3 = new javax.swing.JLabel();
98 seperator1 = new javax.swing.JSeparator();
99 donorNameTF = new javax.swing.JTextField();
100 AmountInfoButton = new javax.swing.JLabel();
101 DDInfoButton = new javax.swing.JLabel();
102 yearInfoButton = new javax.swing.JLabel();
103 retroactiveInfoButton = new javax.swing.JLabel();
104 geographicalInfoButton = new javax.swing.JLabel();
105 thematicInfoButton = new javax.swing.JLabel();
106 reportingInfoButton = new javax.swing.JLabel();
107 AmountInfoPane = new javax.swing.JLayeredPane();
108 jLabel12 = new javax.swing.JLabel();
109 jLabel25 = new javax.swing.JLabel();
110 DDInfoPane = new javax.swing.JLayeredPane();
111 jLabel27 = new javax.swing.JLabel();
112 yearInfoPane = new javax.swing.JLayeredPane();
113 jLabel28 = new javax.swing.JLabel();
114 GeographicInfoPane = new javax.swing.JLayeredPane();
115 jLabel29 = new javax.swing.JLabel();
116 jLabel1 = new javax.swing.JLabel();
117 retroactivityInfoPane = new javax.swing.JLayeredPane();
118 jLabel30 = new javax.swing.JLabel();
119 jLabel31 = new javax.swing.JLabel();
120 thematicInfoPane = new javax.swing.JLayeredPane();
121 jLabel33 = new javax.swing.JLabel();
122 jLabel26 = new javax.swing.JLabel();
123 reportingInfoPane = new javax.swing.JLayeredPane();
124 jLabel34 = new javax.swing.JLabel();
125 jLabel35 = new javax.swing.JLabel();
126 TitleFormLabel = new javax.swing.JLabel();
127 jLabel32 = new javax.swing.JLabel();
128 retroCommentsTF = new javax.swing.JTextField();
129 retroactivityTrueButton = new javax.swing.JRadioButton();
130 retroactivityFalseButton = new javax.swing.JRadioButton();
131 budgetYearLeftChooser = new com.toedter.calendar.JYearChooser();
132 budgetYearRightChooser = new com.toedter.calendar.JYearChooser();
133 dueDiligenceDateChooser = new com.toedter.calendar.JDateChooser();
134 submitButton = new javax.swing.JButton();
135 geoInterestCB = new javax.swing.JComboBox<>();
136 bYErrorMsg = new javax.swing.JLabel();
137 geoCommentTF = new javax.swing.JTextField();
138 jLabel36 = new javax.swing.JLabel();
139 dDErrorMsg = new javax.swing.JLabel();
140 SeeDataBasePanel = new javax.swing.JPanel();
141 LoginButton = new javax.swing.JButton();
142 continueLabel = new javax.swing.JLabel();
143 pleaseLabelTwo = new javax.swing.JLabel();
144 continueButton = new javax.swing.JButton();
145 pleaseLabel = new javax.swing.JLabel();
146 incorrectCredLabel = new javax.swing.JLabel();
147 menuBar = new javax.swing.JMenuBar();
148 fileMenu = new javax.swing.JMenu();
149 openMenuItem = new javax.swing.JMenuItem();
150 saveMenuItem = new javax.swing.JMenuItem();
151 saveAsMenuItem = new javax.swing.JMenuItem();
152 exitMenuItem = new javax.swing.JMenuItem();
153 editMenu = new javax.swing.JMenu();
154 cutMenuItem = new javax.swing.JMenuItem();
155 copyMenuItem = new javax.swing.JMenuItem();
156 pasteMenuItem = new javax.swing.JMenuItem();
157 deleteMenuItem = new javax.swing.JMenuItem();
158 helpMenu = new javax.swing.JMenu();
159 contentsMenuItem = new javax.swing.JMenuItem();
160 aboutMenuItem = new javax.swing.JMenuItem();
161
162 setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
163
164 MainPanels.addMouseListener(new java.awt.event.MouseAdapter() {
165 public void mouseClicked(java.awt.event.MouseEvent evt) {
166 MainPanelsMouseClicked(evt);
167 }
168 public void mouseReleased(java.awt.event.MouseEvent evt) {
169 MainPanelsMouseReleased(evt);
170 }
171 });
172
173 InputFormScrollPanel.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
174 InputFormScrollPanel.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
175
176 jLabel13.setText("Amount estimated");
177
178 jLabel14.setText("Due Diligence");
179
180 jLabel15.setText("Budget year");
181
182 jLabel16.setText("to");
183
184 jLabel17.setText("Comments");
185
186 jLabel18.setText("Comments");
187
188 jLabel19.setText("Retroactivity accepted");
189
190 jLabel20.setText("Geographical Interest");
191
192 jLabel21.setText("Thematic Interest");
193
194 jLabel22.setText("Reporting requirements");
195
196 reportingTF.setColumns(20);
197 reportingTF.setRows(5);
198 jScrollPane5.setViewportView(reportingTF);
199
200 jLabel23.setText("Visibility requirements");
201
202 visibilityTF.setColumns(20);
203 visibilityTF.setRows(5);
204 jScrollPane6.setViewportView(visibilityTF);
205
206 jLabel24.setText("Other Comments");
207
208 otherCommentsTF.setColumns(20);
209 otherCommentsTF.setRows(5);
210 jScrollPane7.setViewportView(otherCommentsTF);
211
212 jLabel3.setText("Donor Name");
213
214 AmountInfoButton.setBackground(new java.awt.Color(208, 203, 246));
215 AmountInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
216 AmountInfoButton.setText(" i");
217 AmountInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
218 AmountInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
219 public void mouseEntered(java.awt.event.MouseEvent evt) {
220 AmountInfoButtonMouseEntered(evt);
221 }
222 public void mouseExited(java.awt.event.MouseEvent evt) {
223 AmountInfoButtonMouseExited(evt);
224 }
225 });
226
227 DDInfoButton.setBackground(new java.awt.Color(208, 203, 246));
228 DDInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
229 DDInfoButton.setText(" i");
230 DDInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
231 DDInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
232 public void mouseEntered(java.awt.event.MouseEvent evt) {
233 DDInfoButtonMouseEntered(evt);
234 }
235 public void mouseExited(java.awt.event.MouseEvent evt) {
236 DDInfoButtonMouseExited(evt);
237 }
238 });
239
240 yearInfoButton.setBackground(new java.awt.Color(208, 203, 246));
241 yearInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
242 yearInfoButton.setText(" i");
243 yearInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
244 yearInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
245 public void mouseEntered(java.awt.event.MouseEvent evt) {
246 yearInfoButtonMouseEntered(evt);
247 }
248 public void mouseExited(java.awt.event.MouseEvent evt) {
249 yearInfoButtonMouseExited(evt);
250 }
251 });
252
253 retroactiveInfoButton.setBackground(new java.awt.Color(208, 203, 246));
254 retroactiveInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
255 retroactiveInfoButton.setText(" i");
256 retroactiveInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
257 retroactiveInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
258 public void mouseEntered(java.awt.event.MouseEvent evt) {
259 retroactiveInfoButtonMouseEntered(evt);
260 }
261 public void mouseExited(java.awt.event.MouseEvent evt) {
262 retroactiveInfoButtonMouseExited(evt);
263 }
264 });
265
266 geographicalInfoButton.setBackground(new java.awt.Color(208, 203, 246));
267 geographicalInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
268 geographicalInfoButton.setText(" i");
269 geographicalInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
270 geographicalInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
271 public void mouseEntered(java.awt.event.MouseEvent evt) {
272 geographicalInfoButtonMouseEntered(evt);
273 }
274 public void mouseExited(java.awt.event.MouseEvent evt) {
275 geographicalInfoButtonMouseExited(evt);
276 }
277 });
278
279 thematicInfoButton.setBackground(new java.awt.Color(208, 203, 246));
280 thematicInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
281 thematicInfoButton.setText(" i");
282 thematicInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
283 thematicInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
284 public void mouseEntered(java.awt.event.MouseEvent evt) {
285 thematicInfoButtonMouseEntered(evt);
286 }
287 public void mouseExited(java.awt.event.MouseEvent evt) {
288 thematicInfoButtonMouseExited(evt);
289 }
290 });
291
292 reportingInfoButton.setBackground(new java.awt.Color(208, 203, 246));
293 reportingInfoButton.setFont(new java.awt.Font("Luminari", 0, 15)); // NOI18N
294 reportingInfoButton.setText(" i");
295 reportingInfoButton.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
296 reportingInfoButton.addMouseListener(new java.awt.event.MouseAdapter() {
297 public void mouseEntered(java.awt.event.MouseEvent evt) {
298 reportingInfoButtonMouseEntered(evt);
299 }
300 public void mouseExited(java.awt.event.MouseEvent evt) {
301 reportingInfoButtonMouseExited(evt);
302 }
303 });
304
305 AmountInfoPane.setBackground(new java.awt.Color(230, 230, 230));
306 AmountInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
307
308 jLabel12.setText("USD xxx,xxx");
309
310 jLabel25.setText("please note that contributions under USD 100k should not be earmarked");
311
312 AmountInfoPane.setLayer(jLabel12, javax.swing.JLayeredPane.DEFAULT_LAYER);
313 AmountInfoPane.setLayer(jLabel25, javax.swing.JLayeredPane.DEFAULT_LAYER);
314
315 javax.swing.GroupLayout AmountInfoPaneLayout = new javax.swing.GroupLayout(AmountInfoPane);
316 AmountInfoPane.setLayout(AmountInfoPaneLayout);
317 AmountInfoPaneLayout.setHorizontalGroup(
318 AmountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
319 .addGroup(AmountInfoPaneLayout.createSequentialGroup()
320 .addContainerGap()
321 .addGroup(AmountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
322 .addComponent(jLabel12)
323 .addComponent(jLabel25))
324 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
325 );
326 AmountInfoPaneLayout.setVerticalGroup(
327 AmountInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
328 .addGroup(AmountInfoPaneLayout.createSequentialGroup()
329 .addContainerGap()
330 .addComponent(jLabel12)
331 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
332 .addComponent(jLabel25)
333 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
334 );
335
336 DDInfoPane.setBackground(new java.awt.Color(230, 230, 230));
337 DDInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
338
339 jLabel27.setText("Please insert date DD was granted or add comments as necessary.");
340
341 DDInfoPane.setLayer(jLabel27, javax.swing.JLayeredPane.DEFAULT_LAYER);
342
343 javax.swing.GroupLayout DDInfoPaneLayout = new javax.swing.GroupLayout(DDInfoPane);
344 DDInfoPane.setLayout(DDInfoPaneLayout);
345 DDInfoPaneLayout.setHorizontalGroup(
346 DDInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
347 .addGroup(DDInfoPaneLayout.createSequentialGroup()
348 .addContainerGap()
349 .addComponent(jLabel27)
350 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
351 );
352 DDInfoPaneLayout.setVerticalGroup(
353 DDInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
354 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, DDInfoPaneLayout.createSequentialGroup()
355 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
356 .addComponent(jLabel27)
357 .addContainerGap())
358 );
359
360 yearInfoPane.setBackground(new java.awt.Color(230, 230, 230));
361 yearInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
362
363 jLabel28.setText("Current year only (2021)? Or multi-year?");
364
365 yearInfoPane.setLayer(jLabel28, javax.swing.JLayeredPane.DEFAULT_LAYER);
366
367 javax.swing.GroupLayout yearInfoPaneLayout = new javax.swing.GroupLayout(yearInfoPane);
368 yearInfoPane.setLayout(yearInfoPaneLayout);
369 yearInfoPaneLayout.setHorizontalGroup(
370 yearInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
371 .addGroup(yearInfoPaneLayout.createSequentialGroup()
372 .addContainerGap()
373 .addComponent(jLabel28)
374 .addContainerGap(15, Short.MAX_VALUE))
375 );
376 yearInfoPaneLayout.setVerticalGroup(
377 yearInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
378 .addGroup(yearInfoPaneLayout.createSequentialGroup()
379 .addContainerGap()
380 .addComponent(jLabel28)
381 .addContainerGap(11, Short.MAX_VALUE))
382 );
383
384 GeographicInfoPane.setBackground(new java.awt.Color(230, 230, 230));
385 GeographicInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
386
387 jLabel29.setText("Overall? Any specific region? Any specific situation? ");
388
389 jLabel1.setText("Any specific operation(s)?");
390
391 GeographicInfoPane.setLayer(jLabel29, javax.swing.JLayeredPane.DEFAULT_LAYER);
392 GeographicInfoPane.setLayer(jLabel1, javax.swing.JLayeredPane.DEFAULT_LAYER);
393
394 javax.swing.GroupLayout GeographicInfoPaneLayout = new javax.swing.GroupLayout(GeographicInfoPane);
395 GeographicInfoPane.setLayout(GeographicInfoPaneLayout);
396 GeographicInfoPaneLayout.setHorizontalGroup(
397 GeographicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
398 .addGroup(GeographicInfoPaneLayout.createSequentialGroup()
399 .addContainerGap(12, Short.MAX_VALUE)
400 .addGroup(GeographicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
401 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, GeographicInfoPaneLayout.createSequentialGroup()
402 .addComponent(jLabel1)
403 .addGap(178, 178, 178))
404 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, GeographicInfoPaneLayout.createSequentialGroup()
405 .addComponent(jLabel29)
406 .addContainerGap())))
407 );
408 GeographicInfoPaneLayout.setVerticalGroup(
409 GeographicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
410 .addGroup(GeographicInfoPaneLayout.createSequentialGroup()
411 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
412 .addComponent(jLabel29)
413 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
414 .addComponent(jLabel1)
415 .addContainerGap())
416 );
417
418 retroactivityInfoPane.setBackground(new java.awt.Color(230, 230, 230));
419 retroactivityInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
420
421 jLabel30.setText("Will the donor accept to fund activities implemented throughout the");
422
423 jLabel31.setText("entire current budget year (from January through December 2021)?");
424
425 retroactivityInfoPane.setLayer(jLabel30, javax.swing.JLayeredPane.DEFAULT_LAYER);
426 retroactivityInfoPane.setLayer(jLabel31, javax.swing.JLayeredPane.DEFAULT_LAYER);
427
428 javax.swing.GroupLayout retroactivityInfoPaneLayout = new javax.swing.GroupLayout(retroactivityInfoPane);
429 retroactivityInfoPane.setLayout(retroactivityInfoPaneLayout);
430 retroactivityInfoPaneLayout.setHorizontalGroup(
431 retroactivityInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
432 .addGroup(retroactivityInfoPaneLayout.createSequentialGroup()
433 .addContainerGap()
434 .addGroup(retroactivityInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
435 .addComponent(jLabel31)
436 .addComponent(jLabel30))
437 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
438 );
439 retroactivityInfoPaneLayout.setVerticalGroup(
440 retroactivityInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
441 .addGroup(retroactivityInfoPaneLayout.createSequentialGroup()
442 .addContainerGap(9, Short.MAX_VALUE)
443 .addComponent(jLabel30)
444 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
445 .addComponent(jLabel31)
446 .addContainerGap())
447 );
448
449 thematicInfoPane.setBackground(new java.awt.Color(230, 230, 230));
450 thematicInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
451
452 jLabel33.setText("Please give any other details on the theme. (e.g. Livelihoods for women, Cash ");
453
454 jLabel26.setText("assistance for persons with specific needs, Education activities for girls, etc.)");
455
456 thematicInfoPane.setLayer(jLabel33, javax.swing.JLayeredPane.DEFAULT_LAYER);
457 thematicInfoPane.setLayer(jLabel26, javax.swing.JLayeredPane.DEFAULT_LAYER);
458
459 javax.swing.GroupLayout thematicInfoPaneLayout = new javax.swing.GroupLayout(thematicInfoPane);
460 thematicInfoPane.setLayout(thematicInfoPaneLayout);
461 thematicInfoPaneLayout.setHorizontalGroup(
462 thematicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
463 .addGroup(thematicInfoPaneLayout.createSequentialGroup()
464 .addContainerGap()
465 .addGroup(thematicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
466 .addComponent(jLabel33)
467 .addComponent(jLabel26))
468 .addContainerGap(10, Short.MAX_VALUE))
469 );
470 thematicInfoPaneLayout.setVerticalGroup(
471 thematicInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
472 .addGroup(thematicInfoPaneLayout.createSequentialGroup()
473 .addContainerGap()
474 .addComponent(jLabel33)
475 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
476 .addComponent(jLabel26)
477 .addContainerGap())
478 );
479
480 reportingInfoPane.setBackground(new java.awt.Color(230, 230, 230));
481 reportingInfoPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
482
483 jLabel34.setText("Any other reporting requirements besides mid-year (August 31st) ");
484
485 jLabel35.setText("and year end (available March 31st )?");
486
487 reportingInfoPane.setLayer(jLabel34, javax.swing.JLayeredPane.DEFAULT_LAYER);
488 reportingInfoPane.setLayer(jLabel35, javax.swing.JLayeredPane.DEFAULT_LAYER);
489
490 javax.swing.GroupLayout reportingInfoPaneLayout = new javax.swing.GroupLayout(reportingInfoPane);
491 reportingInfoPane.setLayout(reportingInfoPaneLayout);
492 reportingInfoPaneLayout.setHorizontalGroup(
493 reportingInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
494 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, reportingInfoPaneLayout.createSequentialGroup()
495 .addGap(0, 12, Short.MAX_VALUE)
496 .addGroup(reportingInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
497 .addComponent(jLabel35)
498 .addComponent(jLabel34)))
499 );
500 reportingInfoPaneLayout.setVerticalGroup(
501 reportingInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
502 .addGroup(reportingInfoPaneLayout.createSequentialGroup()
503 .addContainerGap(7, Short.MAX_VALUE)
504 .addComponent(jLabel34)
505 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
506 .addComponent(jLabel35)
507 .addContainerGap())
508 );
509
510 TitleFormLabel.setFont(new java.awt.Font("Malayalam MN", 0, 40)); // NOI18N
511 TitleFormLabel.setText("Contribution Profile Input Form");
512
513 jLabel32.setText("Comments");
514
515 retroactivityTrueButton.setText("Yes");
516 retroactivityTrueButton.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
517 public void propertyChange(java.beans.PropertyChangeEvent evt) {
518 retroactivityTrueButtonPropertyChange(evt);
519 }
520 });
521
522 retroactivityFalseButton.setText("No");
523
524 submitButton.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N
525 submitButton.setText("SUBMIT");
526 submitButton.addMouseListener(new java.awt.event.MouseAdapter() {
527 public void mouseReleased(java.awt.event.MouseEvent evt) {
528 submitButtonMouseReleased(evt);
529 }
530 });
531
532 geoInterestCB.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Not Applicable", "Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cabo Verde", "Cambodia", "Cameroon", "Canada", "Central African Republic (CAR)", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo, Democratic Republic of the", "Congo, Republic of the", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czechia", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Eswatini (formerly Swaziland)", "Ethiopia", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kosovo", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Mozambique", "Myanmar (formerly Burma)", "Namibia", "Nauru", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "North Korea", "North Macedonia (formerly Macedonia)", "Norway", "Oman", "Pakistan", "Palau", "Palestine", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Romania", "Russia", "Rwanda", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Korea", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates (UAE)", "United Kingdom (UK)", "United States of America (USA)", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City (Holy See)", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe" }));
533
534 bYErrorMsg.setForeground(new java.awt.Color(255, 0, 0));
535 bYErrorMsg.setText("*Please check the budget years");
536
537 jLabel36.setText("Comments");
538
539 dDErrorMsg.setForeground(new java.awt.Color(255, 0, 0));
540 dDErrorMsg.setText("*Please enter a due diligence date");
541
542 javax.swing.GroupLayout InpuFormTab1Layout = new javax.swing.GroupLayout(InpuFormTab1);
543 InpuFormTab1.setLayout(InpuFormTab1Layout);
544 InpuFormTab1Layout.setHorizontalGroup(
545 InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
546 .addGroup(InpuFormTab1Layout.createSequentialGroup()
547 .addGap(46, 46, 46)
548 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
549 .addGroup(InpuFormTab1Layout.createSequentialGroup()
550 .addGap(17, 17, 17)
551 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
552 .addGroup(InpuFormTab1Layout.createSequentialGroup()
553 .addComponent(jLabel3)
554 .addGap(81, 81, 81)
555 .addComponent(donorNameTF, javax.swing.GroupLayout.PREFERRED_SIZE, 522, javax.swing.GroupLayout.PREFERRED_SIZE)
556 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
557 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
558 .addComponent(TitleFormLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 690, javax.swing.GroupLayout.PREFERRED_SIZE)
559 .addGap(0, 0, Short.MAX_VALUE))))
560 .addGroup(InpuFormTab1Layout.createSequentialGroup()
561 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
562 .addGroup(InpuFormTab1Layout.createSequentialGroup()
563 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
564 .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
565 .addComponent(jLabel15))
566 .addGap(220, 220, 220)
567 .addComponent(budgetYearRightChooser, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)
568 .addGap(40, 40, 40)
569 .addComponent(bYErrorMsg))
570 .addGroup(InpuFormTab1Layout.createSequentialGroup()
571 .addGap(13, 13, 13)
572 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
573 .addComponent(jLabel14)
574 .addComponent(jLabel17))
575 .addGap(83, 83, 83)
576 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
577 .addComponent(dDCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 530, javax.swing.GroupLayout.PREFERRED_SIZE)
578 .addGroup(InpuFormTab1Layout.createSequentialGroup()
579 .addComponent(dueDiligenceDateChooser, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)
580 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
581 .addComponent(dDErrorMsg)))))
582 .addContainerGap(884, Short.MAX_VALUE))))
583 .addGroup(InpuFormTab1Layout.createSequentialGroup()
584 .addGap(51, 51, 51)
585 .addComponent(jLabel24)
586 .addGap(87, 87, 87)
587 .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 531, javax.swing.GroupLayout.PREFERRED_SIZE)
588 .addGap(0, 0, Short.MAX_VALUE))
589 .addGroup(InpuFormTab1Layout.createSequentialGroup()
590 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
591 .addGroup(InpuFormTab1Layout.createSequentialGroup()
592 .addGap(30, 30, 30)
593 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
594 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
595 .addComponent(seperator3, javax.swing.GroupLayout.PREFERRED_SIZE, 758, javax.swing.GroupLayout.PREFERRED_SIZE)
596 .addComponent(seperator2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 758, javax.swing.GroupLayout.PREFERRED_SIZE))
597 .addGroup(InpuFormTab1Layout.createSequentialGroup()
598 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
599 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
600 .addComponent(seperator1, javax.swing.GroupLayout.PREFERRED_SIZE, 739, javax.swing.GroupLayout.PREFERRED_SIZE)
601 .addGap(143, 143, 143))
602 .addGroup(InpuFormTab1Layout.createSequentialGroup()
603 .addGap(18, 18, 18)
604 .addComponent(jLabel23)
605 .addGap(53, 53, 53)
606 .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE))
607 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
608 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
609 .addComponent(DDInfoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
610 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
611 .addGroup(InpuFormTab1Layout.createSequentialGroup()
612 .addGap(28, 28, 28)
613 .addComponent(jLabel13)
614 .addGap(50, 50, 50)
615 .addComponent(amountEstimateTF, javax.swing.GroupLayout.PREFERRED_SIZE, 530, javax.swing.GroupLayout.PREFERRED_SIZE)
616 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
617 .addComponent(AmountInfoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
618 .addGroup(InpuFormTab1Layout.createSequentialGroup()
619 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
620 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
621 .addGroup(InpuFormTab1Layout.createSequentialGroup()
622 .addGap(18, 18, 18)
623 .addComponent(jLabel21)
624 .addGap(69, 69, 69)
625 .addComponent(thematicTF, javax.swing.GroupLayout.PREFERRED_SIZE, 536, javax.swing.GroupLayout.PREFERRED_SIZE)
626 .addGap(1, 1, 1))
627 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
628 .addGroup(InpuFormTab1Layout.createSequentialGroup()
629 .addGap(17, 17, 17)
630 .addComponent(jLabel22)
631 .addGap(34, 34, 34)
632 .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE))
633 .addGroup(InpuFormTab1Layout.createSequentialGroup()
634 .addGap(197, 197, 197)
635 .addComponent(retroCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE))
636 .addGroup(InpuFormTab1Layout.createSequentialGroup()
637 .addGap(17, 17, 17)
638 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
639 .addComponent(jLabel20)
640 .addComponent(jLabel36, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE))
641 .addGap(43, 43, 43)
642 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
643 .addComponent(geoInterestCB, javax.swing.GroupLayout.PREFERRED_SIZE, 312, javax.swing.GroupLayout.PREFERRED_SIZE)
644 .addComponent(geoCommentTF, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE)))
645 .addGroup(InpuFormTab1Layout.createSequentialGroup()
646 .addGap(193, 193, 193)
647 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
648 .addGroup(InpuFormTab1Layout.createSequentialGroup()
649 .addComponent(budgetYearLeftChooser, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE)
650 .addGap(18, 18, 18)
651 .addComponent(jLabel16))
652 .addComponent(bYCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 532, javax.swing.GroupLayout.PREFERRED_SIZE)))))
653 .addComponent(seperator6, javax.swing.GroupLayout.PREFERRED_SIZE, 758, javax.swing.GroupLayout.PREFERRED_SIZE)
654 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
655 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
656 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
657 .addComponent(seperator5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 758, Short.MAX_VALUE)
658 .addComponent(seperator4, javax.swing.GroupLayout.Alignment.LEADING))
659 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
660 .addComponent(seperator9, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 755, Short.MAX_VALUE)
661 .addComponent(seperator8, javax.swing.GroupLayout.Alignment.LEADING)
662 .addComponent(seperator7, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 747, javax.swing.GroupLayout.PREFERRED_SIZE))
663 .addGroup(InpuFormTab1Layout.createSequentialGroup()
664 .addGap(22, 22, 22)
665 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
666 .addGroup(InpuFormTab1Layout.createSequentialGroup()
667 .addComponent(jLabel19)
668 .addGap(44, 44, 44)
669 .addComponent(retroactivityTrueButton)
670 .addGap(43, 43, 43)
671 .addComponent(retroactivityFalseButton))
672 .addComponent(jLabel32, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE))))
673 .addGap(55, 55, 55)))
674 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
675 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
676 .addComponent(reportingInfoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
677 .addComponent(retroactiveInfoButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
678 .addComponent(yearInfoButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
679 .addComponent(geographicalInfoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
680 .addComponent(thematicInfoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)))))
681 .addGap(37, 37, 37)))
682 .addGap(1, 1, 1)
683 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
684 .addComponent(yearInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
685 .addComponent(DDInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
686 .addComponent(AmountInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
687 .addComponent(GeographicInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
688 .addComponent(thematicInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
689 .addComponent(reportingInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
690 .addComponent(retroactivityInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
691 .addGroup(InpuFormTab1Layout.createSequentialGroup()
692 .addGap(615, 615, 615)
693 .addComponent(submitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE)))
694 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
695 );
696 InpuFormTab1Layout.setVerticalGroup(
697 InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
698 .addGroup(InpuFormTab1Layout.createSequentialGroup()
699 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
700 .addGroup(InpuFormTab1Layout.createSequentialGroup()
701 .addGap(22, 22, 22)
702 .addComponent(TitleFormLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)
703 .addGap(34, 34, 34)
704 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
705 .addComponent(jLabel3)
706 .addComponent(donorNameTF, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
707 .addGap(17, 17, 17)
708 .addComponent(seperator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
709 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
710 .addGroup(InpuFormTab1Layout.createSequentialGroup()
711 .addGap(25, 25, 25)
712 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
713 .addComponent(amountEstimateTF, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
714 .addComponent(jLabel13))
715 .addGap(10, 10, 10))
716 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
717 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
718 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
719 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
720 .addComponent(AmountInfoButton)
721 .addGap(33, 33, 33))
722 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
723 .addComponent(AmountInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
724 .addGap(18, 18, 18)))))
725 .addComponent(seperator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
726 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
727 .addGroup(InpuFormTab1Layout.createSequentialGroup()
728 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
729 .addGroup(InpuFormTab1Layout.createSequentialGroup()
730 .addGap(9, 9, 9)
731 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
732 .addComponent(jLabel14)
733 .addComponent(dueDiligenceDateChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
734 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
735 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
736 .addComponent(dDErrorMsg)))
737 .addGap(18, 18, 18)
738 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
739 .addComponent(jLabel17)
740 .addComponent(dDCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
741 .addGroup(InpuFormTab1Layout.createSequentialGroup()
742 .addGap(28, 28, 28)
743 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
744 .addComponent(DDInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
745 .addComponent(DDInfoButton))))
746 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
747 .addComponent(seperator3, javax.swing.GroupLayout.PREFERRED_SIZE, 12, javax.swing.GroupLayout.PREFERRED_SIZE)
748 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
749 .addGroup(InpuFormTab1Layout.createSequentialGroup()
750 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
751 .addGroup(InpuFormTab1Layout.createSequentialGroup()
752 .addGap(20, 20, 20)
753 .addComponent(jLabel15))
754 .addGroup(InpuFormTab1Layout.createSequentialGroup()
755 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
756 .addComponent(budgetYearLeftChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
757 .addGroup(InpuFormTab1Layout.createSequentialGroup()
758 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
759 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
760 .addComponent(budgetYearRightChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
761 .addComponent(bYErrorMsg)))
762 .addGroup(InpuFormTab1Layout.createSequentialGroup()
763 .addGap(18, 18, 18)
764 .addComponent(jLabel16)))
765 .addGap(18, 18, 18)
766 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
767 .addComponent(jLabel18)
768 .addComponent(bYCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
769 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
770 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
771 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
772 .addComponent(yearInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
773 .addComponent(yearInfoButton))
774 .addGap(33, 33, 33)))
775 .addGap(7, 7, 7)
776 .addComponent(seperator4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
777 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
778 .addGroup(InpuFormTab1Layout.createSequentialGroup()
779 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
780 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
781 .addComponent(retroactivityTrueButton)
782 .addComponent(jLabel19))
783 .addGroup(javax.swing.GroupLayout.Alignment.LEADING, InpuFormTab1Layout.createSequentialGroup()
784 .addGap(6, 6, 6)
785 .addComponent(retroactivityFalseButton)))
786 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
787 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
788 .addComponent(jLabel32)
789 .addComponent(retroCommentsTF, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))
790 .addGroup(InpuFormTab1Layout.createSequentialGroup()
791 .addGap(15, 15, 15)
792 .addComponent(retroactiveInfoButton))
793 .addGroup(InpuFormTab1Layout.createSequentialGroup()
794 .addGap(6, 6, 6)
795 .addComponent(retroactivityInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
796 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
797 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
798 .addGroup(InpuFormTab1Layout.createSequentialGroup()
799 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
800 .addGroup(InpuFormTab1Layout.createSequentialGroup()
801 .addComponent(seperator5, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
802 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
803 .addGroup(InpuFormTab1Layout.createSequentialGroup()
804 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
805 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
806 .addComponent(jLabel20, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
807 .addComponent(geoInterestCB, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)))
808 .addGroup(InpuFormTab1Layout.createSequentialGroup()
809 .addGap(27, 27, 27)
810 .addComponent(geographicalInfoButton)))
811 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
812 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
813 .addComponent(geoCommentTF, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
814 .addComponent(jLabel36))
815 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
816 .addGroup(InpuFormTab1Layout.createSequentialGroup()
817 .addComponent(GeographicInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
818 .addGap(23, 23, 23)))
819 .addComponent(seperator6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
820 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
821 .addGroup(InpuFormTab1Layout.createSequentialGroup()
822 .addGap(15, 15, 15)
823 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
824 .addComponent(jLabel21)
825 .addComponent(thematicTF, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
826 .addGap(21, 21, 21))
827 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
828 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
829 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
830 .addComponent(thematicInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
831 .addGroup(InpuFormTab1Layout.createSequentialGroup()
832 .addComponent(thematicInfoButton)
833 .addGap(12, 12, 12)))
834 .addGap(18, 18, 18)))
835 .addGap(23, 23, 23)
836 .addComponent(jLabel22)
837 .addGap(79, 79, 79)
838 .addComponent(jLabel23)
839 .addGap(89, 89, 89))
840 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
841 .addComponent(seperator7, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
842 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
843 .addGroup(InpuFormTab1Layout.createSequentialGroup()
844 .addGap(46, 46, 46)
845 .addComponent(reportingInfoButton))
846 .addGroup(InpuFormTab1Layout.createSequentialGroup()
847 .addGap(18, 18, 18)
848 .addGroup(InpuFormTab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
849 .addComponent(reportingInfoPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
850 .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE))
851 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
852 .addComponent(seperator8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
853 .addGap(25, 25, 25)
854 .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
855 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
856 .addComponent(seperator9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
857 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
858 .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
859 .addGap(36, 36, 36))
860 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, InpuFormTab1Layout.createSequentialGroup()
861 .addContainerGap()
862 .addComponent(jLabel24)
863 .addGap(70, 70, 70)))
864 .addComponent(submitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
865 .addContainerGap(95, Short.MAX_VALUE))
866 );
867
868 InputFormScrollPanel.setViewportView(InpuFormTab1);
869
870 MainPanels.addTab("Form For Fundraisers", InputFormScrollPanel);
871
872 LoginButton.setFont(new java.awt.Font("Malayalam MN", 0, 30)); // NOI18N
873 LoginButton.setText("LOGIN");
874 LoginButton.addMouseListener(new java.awt.event.MouseAdapter() {
875 public void mouseReleased(java.awt.event.MouseEvent evt) {
876 LoginButtonMouseReleased(evt);
877 }
878 });
879
880 continueLabel.setFont(new java.awt.Font("Lucida Grande", 0, 30)); // NOI18N
881 continueLabel.setText("You may now");
882
883 pleaseLabelTwo.setFont(new java.awt.Font("Lucida Grande", 0, 30)); // NOI18N
884 pleaseLabelTwo.setText("to proceed");
885
886 continueButton.setFont(new java.awt.Font("Malayalam MN", 0, 30)); // NOI18N
887 continueButton.setText("CONTINUE");
888 continueButton.addActionListener(new java.awt.event.ActionListener() {
889 public void actionPerformed(java.awt.event.ActionEvent evt) {
890 continueButtonActionPerformed(evt);
891 }
892 });
893
894 pleaseLabel.setFont(new java.awt.Font("Lucida Grande", 0, 30)); // NOI18N
895 pleaseLabel.setText("Please");
896
897 incorrectCredLabel.setForeground(new java.awt.Color(173, 11, 38));
898 incorrectCredLabel.setText("Sorry, but you do not have permision to view these requests. Please login to continue");
899
900 javax.swing.GroupLayout SeeDataBasePanelLayout = new javax.swing.GroupLayout(SeeDataBasePanel);
901 SeeDataBasePanel.setLayout(SeeDataBasePanelLayout);
902 SeeDataBasePanelLayout.setHorizontalGroup(
903 SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
904 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
905 .addGroup(SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
906 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
907 .addGap(505, 505, 505)
908 .addComponent(continueLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 217, javax.swing.GroupLayout.PREFERRED_SIZE)
909 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
910 .addComponent(continueButton))
911 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
912 .addGap(491, 491, 491)
913 .addComponent(pleaseLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
914 .addGap(18, 18, 18)
915 .addComponent(LoginButton, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
916 .addGap(18, 18, 18)
917 .addComponent(pleaseLabelTwo))
918 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
919 .addGap(449, 449, 449)
920 .addComponent(incorrectCredLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 705, javax.swing.GroupLayout.PREFERRED_SIZE)))
921 .addContainerGap(810, Short.MAX_VALUE))
922 );
923 SeeDataBasePanelLayout.setVerticalGroup(
924 SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
925 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
926 .addGap(212, 212, 212)
927 .addGroup(SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
928 .addGroup(SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
929 .addComponent(LoginButton)
930 .addComponent(pleaseLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE))
931 .addGroup(SeeDataBasePanelLayout.createSequentialGroup()
932 .addGap(16, 16, 16)
933 .addComponent(pleaseLabelTwo)))
934 .addGap(20, 20, 20)
935 .addComponent(incorrectCredLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
936 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
937 .addGroup(SeeDataBasePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
938 .addComponent(continueLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)
939 .addComponent(continueButton, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))
940 .addContainerGap(854, Short.MAX_VALUE))
941 );
942
943 MainPanels.addTab("All requests (password required)", SeeDataBasePanel);
944
945 fileMenu.setMnemonic('f');
946 fileMenu.setText("File");
947
948 openMenuItem.setMnemonic('o');
949 openMenuItem.setText("Open");
950 fileMenu.add(openMenuItem);
951
952 saveMenuItem.setMnemonic('s');
953 saveMenuItem.setText("Save");
954 fileMenu.add(saveMenuItem);
955
956 saveAsMenuItem.setMnemonic('a');
957 saveAsMenuItem.setText("Save As ...");
958 saveAsMenuItem.setDisplayedMnemonicIndex(5);
959 fileMenu.add(saveAsMenuItem);
960
961 exitMenuItem.setMnemonic('x');
962 exitMenuItem.setText("Exit");
963 exitMenuItem.addActionListener(new java.awt.event.ActionListener() {
964 public void actionPerformed(java.awt.event.ActionEvent evt) {
965 exitMenuItemActionPerformed(evt);
966 }
967 });
968 fileMenu.add(exitMenuItem);
969
970 menuBar.add(fileMenu);
971
972 editMenu.setMnemonic('e');
973 editMenu.setText("Edit");
974
975 cutMenuItem.setMnemonic('t');
976 cutMenuItem.setText("Cut");
977 editMenu.add(cutMenuItem);
978
979 copyMenuItem.setMnemonic('y');
980 copyMenuItem.setText("Copy");
981 editMenu.add(copyMenuItem);
982
983 pasteMenuItem.setMnemonic('p');
984 pasteMenuItem.setText("Paste");
985 editMenu.add(pasteMenuItem);
986
987 deleteMenuItem.setMnemonic('d');
988 deleteMenuItem.setText("Delete");
989 editMenu.add(deleteMenuItem);
990
991 menuBar.add(editMenu);
992
993 helpMenu.setMnemonic('h');
994 helpMenu.setText("Help");
995
996 contentsMenuItem.setMnemonic('c');
997 contentsMenuItem.setText("Contents");
998 helpMenu.add(contentsMenuItem);
999
1000 aboutMenuItem.setMnemonic('a');
1001 aboutMenuItem.setText("About");
1002 helpMenu.add(aboutMenuItem);
1003
1004 menuBar.add(helpMenu);
1005
1006 setJMenuBar(menuBar);
1007
1008 javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
1009 getContentPane().setLayout(layout);
1010 layout.setHorizontalGroup(
1011 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1012 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
1013 .addComponent(MainPanels, javax.swing.GroupLayout.DEFAULT_SIZE, 1482, Short.MAX_VALUE)
1014 .addContainerGap())
1015 );
1016 layout.setVerticalGroup(
1017 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1018 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
1019 .addComponent(MainPanels, javax.swing.GroupLayout.DEFAULT_SIZE, 853, Short.MAX_VALUE)
1020 .addContainerGap())
1021 );
1022
1023 pack();
1024 }// </editor-fold>
1221
1222 // Variables declaration - do not modify
1223 private javax.swing.JLabel AmountInfoButton;
1224 private javax.swing.JLayeredPane AmountInfoPane;
1225 private javax.swing.JLabel DDInfoButton;
1226 private javax.swing.JLayeredPane DDInfoPane;
1227 private javax.swing.JLayeredPane GeographicInfoPane;
1228 private javax.swing.JPanel InpuFormTab1;
1229 private javax.swing.JScrollPane InputFormScrollPanel;
1230 private javax.swing.JButton LoginButton;
1231 private javax.swing.JTabbedPane MainPanels;
1232 private javax.swing.JPanel SeeDataBasePanel;
1233 private javax.swing.JLabel TitleFormLabel;
1234 private javax.swing.JMenuItem aboutMenuItem;
1235 private javax.swing.JTextField amountEstimateTF;
1236 private javax.swing.JTextField bYCommentsTF;
1237 private javax.swing.JLabel bYErrorMsg;
1238 private com.toedter.calendar.JYearChooser budgetYearLeftChooser;
1239 private com.toedter.calendar.JYearChooser budgetYearRightChooser;
1240 private javax.swing.JMenuItem contentsMenuItem;
1241 private javax.swing.JButton continueButton;
1242 private javax.swing.JLabel continueLabel;
1243 private javax.swing.JMenuItem copyMenuItem;
1244 private javax.swing.JMenuItem cutMenuItem;
1245 private javax.swing.JTextField dDCommentsTF;
1246 private javax.swing.JLabel dDErrorMsg;
1247 private javax.swing.JMenuItem deleteMenuItem;
1248 private javax.swing.JTextField donorNameTF;
1249 private com.toedter.calendar.JDateChooser dueDiligenceDateChooser;
1250 private javax.swing.JMenu editMenu;
1251 private javax.swing.JMenuItem exitMenuItem;
1252 private javax.swing.JMenu fileMenu;
1253 private javax.swing.JTextField geoCommentTF;
1254 private javax.swing.JComboBox<String> geoInterestCB;
1255 private javax.swing.JLabel geographicalInfoButton;
1256 private javax.swing.JMenu helpMenu;
1257 private javax.swing.JLabel incorrectCredLabel;
1258 private javax.swing.JLabel jLabel1;
1259 private javax.swing.JLabel jLabel12;
1260 private javax.swing.JLabel jLabel13;
1261 private javax.swing.JLabel jLabel14;
1262 private javax.swing.JLabel jLabel15;
1263 private javax.swing.JLabel jLabel16;
1264 private javax.swing.JLabel jLabel17;
1265 private javax.swing.JLabel jLabel18;
1266 private javax.swing.JLabel jLabel19;
1267 private javax.swing.JLabel jLabel20;
1268 private javax.swing.JLabel jLabel21;
1269 private javax.swing.JLabel jLabel22;
1270 private javax.swing.JLabel jLabel23;
1271 private javax.swing.JLabel jLabel24;
1272 private javax.swing.JLabel jLabel25;
1273 private javax.swing.JLabel jLabel26;
1274 private javax.swing.JLabel jLabel27;
1275 private javax.swing.JLabel jLabel28;
1276 private javax.swing.JLabel jLabel29;
1277 private javax.swing.JLabel jLabel3;
1278 private javax.swing.JLabel jLabel30;
1279 private javax.swing.JLabel jLabel31;
1280 private javax.swing.JLabel jLabel32;
1281 private javax.swing.JLabel jLabel33;
1282 private javax.swing.JLabel jLabel34;
1283 private javax.swing.JLabel jLabel35;
1284 private javax.swing.JLabel jLabel36;
1285 private javax.swing.JScrollPane jScrollPane5;
1286 private javax.swing.JScrollPane jScrollPane6;
1287 private javax.swing.JScrollPane jScrollPane7;
1288 private javax.swing.JMenuBar menuBar;
1289 private javax.swing.JMenuItem openMenuItem;
1290 private javax.swing.JTextArea otherCommentsTF;
1291 private javax.swing.JMenuItem pasteMenuItem;
1292 private javax.swing.JLabel pleaseLabel;
1293 private javax.swing.JLabel pleaseLabelTwo;
1294 private javax.swing.JLabel reportingInfoButton;
1295 private javax.swing.JLayeredPane reportingInfoPane;
1296 private javax.swing.JTextArea reportingTF;
1297 private javax.swing.JTextField retroCommentsTF;
1298 private javax.swing.JLabel retroactiveInfoButton;
1299 private javax.swing.JRadioButton retroactivityFalseButton;
1300 private javax.swing.JLayeredPane retroactivityInfoPane;
1301 private javax.swing.JRadioButton retroactivityTrueButton;
1302 private javax.swing.ButtonGroup retroactivityTrueFalseButtonGroup;
1303 private javax.swing.JMenuItem saveAsMenuItem;
1304 private javax.swing.JMenuItem saveMenuItem;
1305 private javax.swing.JSeparator seperator1;
1306 private javax.swing.JSeparator seperator2;
1307 private javax.swing.JSeparator seperator3;
1308 private javax.swing.JSeparator seperator4;
1309 private javax.swing.JSeparator seperator5;
1310 private javax.swing.JSeparator seperator6;
1311 private javax.swing.JSeparator seperator7;
1312 private javax.swing.JSeparator seperator8;
1313 private javax.swing.JSeparator seperator9;
1314 private javax.swing.JButton submitButton;
1315 private javax.swing.JLabel thematicInfoButton;
1316 private javax.swing.JLayeredPane thematicInfoPane;
1317 private javax.swing.JTextField thematicTF;
1318 private javax.swing.JTextArea visibilityTF;
1319 private javax.swing.JLabel yearInfoButton;
1320 private javax.swing.JLayeredPane yearInfoPane;
1321 // End of variables declaration
1322
1323 }
1324