1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
package com.buckosoft.fibs.BuckoFIBS.gui; |
50 | |
|
51 | |
import java.awt.Color; |
52 | |
import java.awt.Dimension; |
53 | |
import java.awt.Font; |
54 | |
import java.awt.GridBagConstraints; |
55 | |
import java.awt.GridBagLayout; |
56 | |
import java.awt.Insets; |
57 | |
|
58 | |
import javax.swing.BorderFactory; |
59 | |
import javax.swing.JButton; |
60 | |
import javax.swing.JCheckBox; |
61 | |
import javax.swing.JDialog; |
62 | |
import javax.swing.JFrame; |
63 | |
import javax.swing.JLabel; |
64 | |
import javax.swing.JPanel; |
65 | |
import javax.swing.border.BevelBorder; |
66 | |
import javax.swing.border.EtchedBorder; |
67 | |
|
68 | |
import com.buckosoft.fibs.BuckoFIBS.BFProperties; |
69 | |
import com.buckosoft.fibs.BuckoFIBS.CommandDispatcher; |
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | 0 | public class PreferencesForMessagesDialog extends JDialog { |
78 | |
private static final long serialVersionUID = 1L; |
79 | |
private CommandDispatcher commandDispatcher; |
80 | |
private BFProperties properties; |
81 | |
|
82 | 0 | private JPanel jContentPane = null; |
83 | 0 | private JPanel jPanelPrefs = null; |
84 | 0 | private JLabel jLabel = null; |
85 | 0 | private JLabel jLabel1 = null; |
86 | 0 | private JCheckBox jCheckBoxIgnoreShouts = null; |
87 | 0 | private JLabel jLabel2 = null; |
88 | 0 | private JCheckBox jCheckBoxShowGameMoves = null; |
89 | 0 | private JLabel jLabel3 = null; |
90 | 0 | private JCheckBox jCheckBoxOtherMatchesInfo = null; |
91 | 0 | private JLabel jLabel4 = null; |
92 | 0 | private JCheckBox jCheckBoxLoginsAndOuts = null; |
93 | 0 | private JPanel jPanelOkCancel = null; |
94 | 0 | private JButton jButtonOK = null; |
95 | 0 | private JButton jButtonCancel = null; |
96 | 0 | private JPanel jPanelPrefsDebug = null; |
97 | 0 | private JLabel jLabelShowAllReceivedMessages = null; |
98 | 0 | private JCheckBox jCheckBoxShowAllReceivedMessages = null; |
99 | 0 | private JLabel jLabelDebugLabel = null; |
100 | 0 | private JLabel jLabelShowAllTransmittedMessages = null; |
101 | 0 | private JCheckBox jCheckBoxShowAllTransmittedMessages = null; |
102 | 0 | private JLabel jLabelShowUnhandledCookies = null; |
103 | 0 | private JCheckBox jCheckBoxShowUnhandledCookies = null; |
104 | 0 | private JLabel jLabel5 = null; |
105 | 0 | private JCheckBox jCheckBoxStdoutNetMessages = null; |
106 | 0 | private JLabel jLabelShowAnimatePath = null; |
107 | 0 | private JCheckBox jCheckBoxShowAnimatePath = null; |
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
public PreferencesForMessagesDialog() { |
114 | 0 | super(); |
115 | 0 | initialize(); |
116 | 0 | } |
117 | |
|
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
public PreferencesForMessagesDialog(JFrame owner, CommandDispatcher commandDispatcher) { |
124 | 0 | super(owner, true); |
125 | 0 | this.commandDispatcher = commandDispatcher; |
126 | 0 | this.properties = commandDispatcher.getProperties(); |
127 | 0 | initialize(); |
128 | 0 | this.setLocationRelativeTo(owner); |
129 | |
|
130 | 0 | BFProperties props = this.commandDispatcher.getProperties(); |
131 | 0 | this.jCheckBoxIgnoreShouts.getModel().setSelected(props.isMsgIgnoreShouts()); |
132 | 0 | this.jCheckBoxShowGameMoves.getModel().setSelected(props.isMsgShowGameMoves()); |
133 | 0 | this.jCheckBoxOtherMatchesInfo.getModel().setSelected(props.isMsgOtherMatchInfo()); |
134 | 0 | this.jCheckBoxLoginsAndOuts.getModel().setSelected(props.isMsgLoginsAndOuts()); |
135 | |
|
136 | 0 | this.jCheckBoxShowAllReceivedMessages.getModel().setSelected(props.isDisplayRecv()); |
137 | 0 | this.jCheckBoxShowAllTransmittedMessages.getModel().setSelected(props.isDisplayXmit()); |
138 | 0 | this.jCheckBoxShowUnhandledCookies.getModel().setSelected(props.isDEBUG_ShowUnhandledCookies()); |
139 | 0 | this.jCheckBoxStdoutNetMessages.getModel().setSelected(props.isStdoutNetworkMessages()); |
140 | 0 | this.jCheckBoxShowAnimatePath.getModel().setSelected(props.isDEBUG_ShowAnimatePath()); |
141 | 0 | } |
142 | |
|
143 | |
private void okButtonActionPerformed(java.awt.event.ActionEvent evt) { |
144 | 0 | setVisible(false); |
145 | 0 | this.properties.setMsgIgnoreShouts(this.jCheckBoxIgnoreShouts.getModel().isSelected()); |
146 | 0 | this.properties.setMsgShowGameMoves(this.jCheckBoxShowGameMoves.getModel().isSelected()); |
147 | 0 | this.properties.setMsgOtherMatchInfo(this.jCheckBoxOtherMatchesInfo.getModel().isSelected()); |
148 | 0 | this.properties.setMsgLoginsAndOuts(this.jCheckBoxLoginsAndOuts.getModel().isSelected()); |
149 | |
|
150 | 0 | this.properties.setDisplayRecv(this.jCheckBoxShowAllReceivedMessages.getModel().isSelected()); |
151 | 0 | this.properties.setDisplayXmit(this.jCheckBoxShowAllTransmittedMessages.getModel().isSelected()); |
152 | 0 | this.properties.setDEBUG_ShowUnhandledCookies(this.jCheckBoxShowUnhandledCookies.getModel().isSelected()); |
153 | 0 | this.properties.setStdoutNetworkMessages(this.jCheckBoxStdoutNetMessages.getModel().isSelected()); |
154 | 0 | this.properties.setDEBUG_ShowAnimatePath(this.jCheckBoxShowAnimatePath.getModel().isSelected()); |
155 | 0 | dispose(); |
156 | 0 | } |
157 | |
|
158 | |
private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) { |
159 | 0 | setVisible(false); |
160 | 0 | dispose(); |
161 | 0 | } |
162 | |
|
163 | |
|
164 | |
|
165 | |
|
166 | |
|
167 | |
private void initialize() { |
168 | 0 | this.setSize(new Dimension(339, 330)); |
169 | 0 | this.setTitle("Message Preferences"); |
170 | 0 | this.setContentPane(getJContentPane()); |
171 | |
|
172 | 0 | } |
173 | |
|
174 | |
|
175 | |
|
176 | |
|
177 | |
|
178 | |
|
179 | |
private JPanel getJContentPane() { |
180 | 0 | if (jContentPane == null) { |
181 | 0 | GridBagConstraints gridBagConstraints13 = new GridBagConstraints(); |
182 | 0 | gridBagConstraints13.gridx = 1; |
183 | 0 | gridBagConstraints13.gridy = 1; |
184 | 0 | GridBagConstraints gridBagConstraints12 = new GridBagConstraints(); |
185 | 0 | gridBagConstraints12.gridx = 1; |
186 | 0 | gridBagConstraints12.anchor = GridBagConstraints.SOUTH; |
187 | 0 | gridBagConstraints12.weighty = 0.2; |
188 | 0 | gridBagConstraints12.gridy = 2; |
189 | 0 | jLabel1 = new JLabel(); |
190 | 0 | jLabel1.setText("Ignore Shouts"); |
191 | 0 | jLabel = new JLabel(); |
192 | 0 | jLabel.setText("Settings:"); |
193 | 0 | jLabel.setForeground(new Color(102, 102, 0)); |
194 | 0 | jLabel.setFont(new Font("Dialog", Font.BOLD, 14)); |
195 | 0 | GridBagConstraints gridBagConstraints = new GridBagConstraints(); |
196 | 0 | gridBagConstraints.gridx = 1; |
197 | 0 | gridBagConstraints.weighty = 0.2; |
198 | 0 | gridBagConstraints.gridy = 0; |
199 | 0 | jContentPane = new JPanel(); |
200 | 0 | jContentPane.setLayout(new GridBagLayout()); |
201 | 0 | jContentPane.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)); |
202 | 0 | jContentPane.add(getJPanelPrefs(), gridBagConstraints); |
203 | 0 | jContentPane.add(getJPanelOkCancel(), gridBagConstraints12); |
204 | 0 | jContentPane.add(getJPanelPrefsDebug(), gridBagConstraints13); |
205 | |
} |
206 | 0 | return jContentPane; |
207 | |
} |
208 | |
|
209 | |
|
210 | |
|
211 | |
|
212 | |
|
213 | |
|
214 | |
private JPanel getJPanelPrefs() { |
215 | 0 | if (jPanelPrefs == null) { |
216 | 0 | GridBagConstraints gridBagConstraints9 = new GridBagConstraints(); |
217 | 0 | gridBagConstraints9.gridx = 1; |
218 | 0 | gridBagConstraints9.gridy = 4; |
219 | 0 | GridBagConstraints gridBagConstraints8 = new GridBagConstraints(); |
220 | 0 | gridBagConstraints8.gridx = 0; |
221 | 0 | gridBagConstraints8.anchor = GridBagConstraints.WEST; |
222 | 0 | gridBagConstraints8.gridy = 4; |
223 | 0 | jLabel4 = new JLabel(); |
224 | 0 | jLabel4.setText("Who is logging in and out"); |
225 | 0 | GridBagConstraints gridBagConstraints7 = new GridBagConstraints(); |
226 | 0 | gridBagConstraints7.gridx = 1; |
227 | 0 | gridBagConstraints7.gridy = 3; |
228 | 0 | GridBagConstraints gridBagConstraints6 = new GridBagConstraints(); |
229 | 0 | gridBagConstraints6.gridx = 0; |
230 | 0 | gridBagConstraints6.anchor = GridBagConstraints.WEST; |
231 | 0 | gridBagConstraints6.gridy = 3; |
232 | 0 | jLabel3 = new JLabel(); |
233 | 0 | jLabel3.setText("Info for Other Matches"); |
234 | 0 | GridBagConstraints gridBagConstraints5 = new GridBagConstraints(); |
235 | 0 | gridBagConstraints5.gridx = 1; |
236 | 0 | gridBagConstraints5.gridy = 2; |
237 | 0 | GridBagConstraints gridBagConstraints4 = new GridBagConstraints(); |
238 | 0 | gridBagConstraints4.gridx = 0; |
239 | 0 | gridBagConstraints4.anchor = GridBagConstraints.WEST; |
240 | 0 | gridBagConstraints4.gridy = 2; |
241 | 0 | jLabel2 = new JLabel(); |
242 | 0 | jLabel2.setText("Show Game moves (dice rolls)"); |
243 | 0 | GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); |
244 | 0 | gridBagConstraints3.gridx = 1; |
245 | 0 | gridBagConstraints3.gridy = 1; |
246 | 0 | GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); |
247 | 0 | gridBagConstraints2.gridx = 0; |
248 | 0 | gridBagConstraints2.anchor = GridBagConstraints.WEST; |
249 | 0 | gridBagConstraints2.gridy = 1; |
250 | 0 | GridBagConstraints gridBagConstraints1 = new GridBagConstraints(); |
251 | 0 | gridBagConstraints1.gridx = -1; |
252 | 0 | gridBagConstraints1.anchor = GridBagConstraints.WEST; |
253 | 0 | gridBagConstraints1.gridy = -1; |
254 | 0 | jPanelPrefs = new JPanel(); |
255 | 0 | jPanelPrefs.setLayout(new GridBagLayout()); |
256 | 0 | jPanelPrefs.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); |
257 | 0 | jPanelPrefs.add(jLabel, gridBagConstraints1); |
258 | 0 | jPanelPrefs.add(jLabel1, gridBagConstraints2); |
259 | 0 | jPanelPrefs.add(getJCheckBoxIgnoreShouts(), gridBagConstraints3); |
260 | 0 | jPanelPrefs.add(jLabel2, gridBagConstraints4); |
261 | 0 | jPanelPrefs.add(getJCheckBoxShowGameMoves(), gridBagConstraints5); |
262 | 0 | jPanelPrefs.add(jLabel3, gridBagConstraints6); |
263 | 0 | jPanelPrefs.add(getJCheckBoxOtherMatchesInfo(), gridBagConstraints7); |
264 | 0 | jPanelPrefs.add(jLabel4, gridBagConstraints8); |
265 | 0 | jPanelPrefs.add(getJCheckBoxLoginsAndOuts(), gridBagConstraints9); |
266 | |
} |
267 | 0 | return jPanelPrefs; |
268 | |
} |
269 | |
|
270 | |
|
271 | |
|
272 | |
|
273 | |
|
274 | |
|
275 | |
private JCheckBox getJCheckBoxIgnoreShouts() { |
276 | 0 | if (jCheckBoxIgnoreShouts == null) { |
277 | 0 | jCheckBoxIgnoreShouts = new JCheckBox(); |
278 | |
} |
279 | 0 | return jCheckBoxIgnoreShouts; |
280 | |
} |
281 | |
|
282 | |
|
283 | |
|
284 | |
|
285 | |
|
286 | |
|
287 | |
private JCheckBox getJCheckBoxShowGameMoves() { |
288 | 0 | if (jCheckBoxShowGameMoves == null) { |
289 | 0 | jCheckBoxShowGameMoves = new JCheckBox(); |
290 | |
} |
291 | 0 | return jCheckBoxShowGameMoves; |
292 | |
} |
293 | |
|
294 | |
|
295 | |
|
296 | |
|
297 | |
|
298 | |
|
299 | |
private JCheckBox getJCheckBoxOtherMatchesInfo() { |
300 | 0 | if (jCheckBoxOtherMatchesInfo == null) { |
301 | 0 | jCheckBoxOtherMatchesInfo = new JCheckBox(); |
302 | |
} |
303 | 0 | return jCheckBoxOtherMatchesInfo; |
304 | |
} |
305 | |
|
306 | |
|
307 | |
|
308 | |
|
309 | |
|
310 | |
|
311 | |
private JCheckBox getJCheckBoxLoginsAndOuts() { |
312 | 0 | if (jCheckBoxLoginsAndOuts == null) { |
313 | 0 | jCheckBoxLoginsAndOuts = new JCheckBox(); |
314 | |
} |
315 | 0 | return jCheckBoxLoginsAndOuts; |
316 | |
} |
317 | |
|
318 | |
|
319 | |
|
320 | |
|
321 | |
|
322 | |
|
323 | |
private JPanel getJPanelOkCancel() { |
324 | 0 | if (jPanelOkCancel == null) { |
325 | 0 | GridBagConstraints gridBagConstraints11 = new GridBagConstraints(); |
326 | 0 | gridBagConstraints11.fill = GridBagConstraints.HORIZONTAL; |
327 | 0 | gridBagConstraints11.gridx = -1; |
328 | 0 | gridBagConstraints11.gridy = -1; |
329 | 0 | gridBagConstraints11.insets = new Insets(0, 15, 0, 0); |
330 | 0 | GridBagConstraints gridBagConstraints10 = new GridBagConstraints(); |
331 | 0 | gridBagConstraints10.anchor = GridBagConstraints.EAST; |
332 | 0 | gridBagConstraints10.insets = new Insets(0, 0, 0, 15); |
333 | 0 | gridBagConstraints10.gridx = -1; |
334 | 0 | gridBagConstraints10.gridy = -1; |
335 | 0 | gridBagConstraints10.weightx = 0.1; |
336 | 0 | gridBagConstraints10.fill = GridBagConstraints.HORIZONTAL; |
337 | 0 | jPanelOkCancel = new JPanel(); |
338 | 0 | jPanelOkCancel.setLayout(new GridBagLayout()); |
339 | 0 | jPanelOkCancel.add(getJButtonOK(), gridBagConstraints10); |
340 | 0 | jPanelOkCancel.add(getJButtonCancel(), gridBagConstraints11); |
341 | |
} |
342 | 0 | return jPanelOkCancel; |
343 | |
} |
344 | |
|
345 | |
|
346 | |
|
347 | |
|
348 | |
|
349 | |
|
350 | |
private JButton getJButtonOK() { |
351 | 0 | if (jButtonOK == null) { |
352 | 0 | jButtonOK = new JButton(); |
353 | 0 | jButtonOK.setText("OK"); |
354 | 0 | jButtonOK.addActionListener(new java.awt.event.ActionListener() { |
355 | |
public void actionPerformed(java.awt.event.ActionEvent e) { |
356 | 0 | okButtonActionPerformed(e); |
357 | 0 | } |
358 | |
}); |
359 | |
} |
360 | 0 | return jButtonOK; |
361 | |
} |
362 | |
|
363 | |
|
364 | |
|
365 | |
|
366 | |
|
367 | |
|
368 | |
private JButton getJButtonCancel() { |
369 | 0 | if (jButtonCancel == null) { |
370 | 0 | jButtonCancel = new JButton(); |
371 | 0 | jButtonCancel.setText("Cancel"); |
372 | 0 | jButtonCancel.addActionListener(new java.awt.event.ActionListener() { |
373 | |
public void actionPerformed(java.awt.event.ActionEvent e) { |
374 | 0 | cancelButtonActionPerformed(e); |
375 | 0 | } |
376 | |
}); |
377 | |
} |
378 | 0 | return jButtonCancel; |
379 | |
} |
380 | |
|
381 | |
|
382 | |
|
383 | |
|
384 | |
|
385 | |
|
386 | |
private JPanel getJPanelPrefsDebug() { |
387 | 0 | if (jPanelPrefsDebug == null) { |
388 | 0 | GridBagConstraints gridBagConstraints17 = new GridBagConstraints(); |
389 | 0 | gridBagConstraints17.gridx = 1; |
390 | 0 | gridBagConstraints17.gridy = 6; |
391 | 0 | GridBagConstraints gridBagConstraints14 = new GridBagConstraints(); |
392 | 0 | gridBagConstraints14.gridx = 0; |
393 | 0 | gridBagConstraints14.anchor = GridBagConstraints.WEST; |
394 | 0 | gridBagConstraints14.fill = GridBagConstraints.HORIZONTAL; |
395 | 0 | gridBagConstraints14.gridy = 6; |
396 | 0 | jLabelShowAnimatePath = new JLabel(); |
397 | 0 | jLabelShowAnimatePath.setText("Show Animate Path"); |
398 | 0 | GridBagConstraints gridBagConstraints20 = new GridBagConstraints(); |
399 | 0 | gridBagConstraints20.gridx = 1; |
400 | 0 | gridBagConstraints20.gridy = 5; |
401 | 0 | GridBagConstraints gridBagConstraints19 = new GridBagConstraints(); |
402 | 0 | gridBagConstraints19.anchor = GridBagConstraints.WEST; |
403 | 0 | gridBagConstraints19.gridy = 5; |
404 | 0 | gridBagConstraints19.gridx = 0; |
405 | 0 | jLabel5 = new JLabel(); |
406 | 0 | jLabel5.setText("stdout Network Messages:"); |
407 | 0 | GridBagConstraints gridBagConstraints16 = new GridBagConstraints(); |
408 | 0 | gridBagConstraints16.gridx = 1; |
409 | 0 | gridBagConstraints16.gridy = 3; |
410 | 0 | GridBagConstraints gridBagConstraints15 = new GridBagConstraints(); |
411 | 0 | gridBagConstraints15.anchor = GridBagConstraints.WEST; |
412 | 0 | gridBagConstraints15.gridy = 3; |
413 | 0 | gridBagConstraints15.gridx = 0; |
414 | 0 | jLabelShowUnhandledCookies = new JLabel(); |
415 | 0 | jLabelShowUnhandledCookies.setText("Show unhandled FIBS cookies:"); |
416 | 0 | GridBagConstraints gridBagConstraints91 = new GridBagConstraints(); |
417 | 0 | gridBagConstraints91.gridx = 1; |
418 | 0 | gridBagConstraints91.gridy = 1; |
419 | 0 | GridBagConstraints gridBagConstraints81 = new GridBagConstraints(); |
420 | 0 | gridBagConstraints81.insets = new Insets(0, 0, 0, 10); |
421 | 0 | gridBagConstraints81.gridy = 1; |
422 | 0 | gridBagConstraints81.gridx = 0; |
423 | 0 | jLabelShowAllTransmittedMessages = new JLabel(); |
424 | 0 | jLabelShowAllTransmittedMessages.setText("Show all Transmitted network messages:"); |
425 | 0 | GridBagConstraints gridBagConstraints71 = new GridBagConstraints(); |
426 | 0 | gridBagConstraints71.anchor = GridBagConstraints.WEST; |
427 | 0 | gridBagConstraints71.gridy = 0; |
428 | 0 | gridBagConstraints71.gridx = 0; |
429 | 0 | jLabelDebugLabel = new JLabel(); |
430 | 0 | jLabelDebugLabel.setFont(new Font("Dialog", Font.BOLD, 14)); |
431 | 0 | jLabelDebugLabel.setText("Debug Settings:"); |
432 | 0 | jLabelDebugLabel.setForeground(new Color(102, 102, 0)); |
433 | 0 | GridBagConstraints gridBagConstraints51 = new GridBagConstraints(); |
434 | 0 | gridBagConstraints51.gridx = -1; |
435 | 0 | gridBagConstraints51.gridy = 2; |
436 | 0 | GridBagConstraints gridBagConstraints41 = new GridBagConstraints(); |
437 | 0 | gridBagConstraints41.anchor = GridBagConstraints.WEST; |
438 | 0 | gridBagConstraints41.gridy = 2; |
439 | 0 | gridBagConstraints41.gridx = -1; |
440 | 0 | jLabelShowAllReceivedMessages = new JLabel(); |
441 | 0 | jLabelShowAllReceivedMessages.setText("Show all received Network Messages:"); |
442 | 0 | jPanelPrefsDebug = new JPanel(); |
443 | 0 | jPanelPrefsDebug.setLayout(new GridBagLayout()); |
444 | 0 | jPanelPrefsDebug.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); |
445 | 0 | jPanelPrefsDebug.add(jLabelShowAllReceivedMessages, gridBagConstraints41); |
446 | 0 | jPanelPrefsDebug.add(getJCheckBoxShowAllReceivedMessages(), gridBagConstraints51); |
447 | 0 | jPanelPrefsDebug.add(jLabelDebugLabel, gridBagConstraints71); |
448 | 0 | jPanelPrefsDebug.add(jLabelShowAllTransmittedMessages, gridBagConstraints81); |
449 | 0 | jPanelPrefsDebug.add(getJCheckBoxShowAllTransmittedMessages(), gridBagConstraints91); |
450 | 0 | jPanelPrefsDebug.add(jLabelShowUnhandledCookies, gridBagConstraints15); |
451 | 0 | jPanelPrefsDebug.add(getJCheckBoxShowUnhandledCookies(), gridBagConstraints16); |
452 | 0 | jPanelPrefsDebug.add(jLabel5, gridBagConstraints19); |
453 | 0 | jPanelPrefsDebug.add(getJCheckBoxStdoutNetMessages(), gridBagConstraints20); |
454 | 0 | jPanelPrefsDebug.add(jLabelShowAnimatePath, gridBagConstraints14); |
455 | 0 | jPanelPrefsDebug.add(getJCheckBoxShowAnimatePath(), gridBagConstraints17); |
456 | |
} |
457 | 0 | return jPanelPrefsDebug; |
458 | |
} |
459 | |
|
460 | |
|
461 | |
|
462 | |
|
463 | |
|
464 | |
|
465 | |
private JCheckBox getJCheckBoxShowAllReceivedMessages() { |
466 | 0 | if (jCheckBoxShowAllReceivedMessages == null) { |
467 | 0 | jCheckBoxShowAllReceivedMessages = new JCheckBox(); |
468 | |
} |
469 | 0 | return jCheckBoxShowAllReceivedMessages; |
470 | |
} |
471 | |
|
472 | |
|
473 | |
|
474 | |
|
475 | |
|
476 | |
|
477 | |
private JCheckBox getJCheckBoxShowAllTransmittedMessages() { |
478 | 0 | if (jCheckBoxShowAllTransmittedMessages == null) { |
479 | 0 | jCheckBoxShowAllTransmittedMessages = new JCheckBox(); |
480 | |
} |
481 | 0 | return jCheckBoxShowAllTransmittedMessages; |
482 | |
} |
483 | |
|
484 | |
|
485 | |
|
486 | |
|
487 | |
|
488 | |
|
489 | |
private JCheckBox getJCheckBoxShowUnhandledCookies() { |
490 | 0 | if (jCheckBoxShowUnhandledCookies == null) { |
491 | 0 | jCheckBoxShowUnhandledCookies = new JCheckBox(); |
492 | |
} |
493 | 0 | return jCheckBoxShowUnhandledCookies; |
494 | |
} |
495 | |
|
496 | |
|
497 | |
|
498 | |
|
499 | |
|
500 | |
|
501 | |
private JCheckBox getJCheckBoxStdoutNetMessages() { |
502 | 0 | if (jCheckBoxStdoutNetMessages == null) { |
503 | 0 | jCheckBoxStdoutNetMessages = new JCheckBox(); |
504 | |
} |
505 | 0 | return jCheckBoxStdoutNetMessages; |
506 | |
} |
507 | |
|
508 | |
|
509 | |
|
510 | |
|
511 | |
|
512 | |
|
513 | |
private JCheckBox getJCheckBoxShowAnimatePath() { |
514 | 0 | if (jCheckBoxShowAnimatePath == null) { |
515 | 0 | jCheckBoxShowAnimatePath = new JCheckBox(); |
516 | |
} |
517 | 0 | return jCheckBoxShowAnimatePath; |
518 | |
} |
519 | |
|
520 | |
} |