Coverage Report - com.buckosoft.fibs.BuckoFIBS.gui.PreferencesForMessagesDialog
 
Classes in this File Line Coverage Branch Coverage Complexity
PreferencesForMessagesDialog
0%
0/268
0%
0/30
1.682
PreferencesForMessagesDialog$1
0%
0/3
N/A
1.682
PreferencesForMessagesDialog$2
0%
0/3
N/A
1.682
 
 1  
 /******************************************************************************
 2  
  * PreferencesForMessagesDialog.java - Allow the user to manage which messages get displayed. 
 3  
  * $Id$
 4  
  * 
 5  
  * BuckoFIBS - Backgammon by BuckoSoft
 6  
  * Copyright© 2009,2010 - Dick Balaska - BuckoSoft, Corp.
 7  
  * 
 8  
  * $Log$
 9  
  * Revision 1.3  2010/03/03 13:12:21  inim
 10  
  * Replaced (c) sign in comment mangled by CVS default encoding back to UTF-8
 11  
  *
 12  
  * Revision 1.2  2010/03/03 12:19:49  inim
 13  
  * Moved source to UTF8 encoding from CP1252 encoding. To this end all source files' (c) message was updated to "Copyright© 2009,2010 - Dick Balaska - BuckoSoft, Corp.". This replaces the (c) sign to UTF8, and adds the new year 2010.
 14  
  *
 15  
  * Revision 1.1  2010/02/04 05:57:53  inim
 16  
  * Mavenized project folder layout
 17  
  *
 18  
  * Revision 1.4  2009/02/14 13:18:21  dick
 19  
  * BuckoFIBS is released under the GNU license.
 20  
  *
 21  
  * Revision 1.3  2009/01/28 19:12:57  dick
 22  
  * Move all of the debug message settings to the messages preferences dialog.
 23  
  *
 24  
  * Revision 1.2  2009/01/18 04:58:25  dick
 25  
  * The owner is a JFrame, not a JDialog.
 26  
  *
 27  
  * Revision 1.1  2009/01/09 07:16:24  dick
 28  
  * Allow the user to manage which messages get displayed.
 29  
  */
 30  
 
 31  
 /* 
 32  
  * This program is free software: you can redistribute it and/or modify
 33  
  * it under the terms of the GNU General Public License as published by
 34  
  * the Free Software Foundation, either version 3 of the License, or
 35  
  * (at your option) any later version.
 36  
  *
 37  
  * This program is distributed in the hope that it will be useful,
 38  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 39  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 40  
  * GNU General Public License for more details.
 41  
  *
 42  
  * You should have received a copy of the GNU General Public License
 43  
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 44  
  *
 45  
  * The Original Code is BuckoFIBS, <http://www.buckosoft.com/BuckoFIBS/>.
 46  
  * The Initial Developer of the Original Code is Dick Balaska and BuckoSoft, Corp.
 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  
 /** Allow the user to manage which messages get displayed.
 72  
  * @author Dick Balaska
 73  
  * @since 2009/01/09
 74  
  * @version $Revision$ <br> $Date$
 75  
  * @see <a href="http://cvs.buckosoft.com/Projects/BuckoFIBS/BuckoFIBS/src/com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java">cvs PreferencesForMessagesDialog.java</a>
 76  
  */
 77  0
 public class PreferencesForMessagesDialog extends JDialog {
 78  
         private static final long serialVersionUID = 1L;
 79  
         private        CommandDispatcher        commandDispatcher;  //  @jve:decl-index=0:
 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  
          * This method initializes a PreferencesForMessagesDialog
 111  
          * 
 112  
          */
 113  
         public PreferencesForMessagesDialog() {
 114  0
                 super();
 115  0
                 initialize();
 116  0
         }
 117  
 
 118  
         /** Create and display the preferences dialog.
 119  
          * Just set and forget.  It's modal and manages ok and cancel on its own.
 120  
          * @param owner Probably an instance of MainDialog
 121  
          * @param commandDispatcher The BuckoFIBS commandDispatcher
 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  
          * This method initializes this
 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  
          * This method initializes jContentPane        
 176  
          *         
 177  
          * @return javax.swing.JPanel        
 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  
          * This method initializes jPanelPrefs        
 211  
          *         
 212  
          * @return javax.swing.JPanel        
 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  
          * This method initializes jCheckBoxIgnoreShouts        
 272  
          *         
 273  
          * @return javax.swing.JCheckBox        
 274  
          */
 275  
         private JCheckBox getJCheckBoxIgnoreShouts() {
 276  0
                 if (jCheckBoxIgnoreShouts == null) {
 277  0
                         jCheckBoxIgnoreShouts = new JCheckBox();
 278  
                 }
 279  0
                 return jCheckBoxIgnoreShouts;
 280  
         }
 281  
 
 282  
         /**
 283  
          * This method initializes jCheckBoxShowGameMoves        
 284  
          *         
 285  
          * @return javax.swing.JCheckBox        
 286  
          */
 287  
         private JCheckBox getJCheckBoxShowGameMoves() {
 288  0
                 if (jCheckBoxShowGameMoves == null) {
 289  0
                         jCheckBoxShowGameMoves = new JCheckBox();
 290  
                 }
 291  0
                 return jCheckBoxShowGameMoves;
 292  
         }
 293  
 
 294  
         /**
 295  
          * This method initializes jCheckBoxOtherMatchesInfo        
 296  
          *         
 297  
          * @return javax.swing.JCheckBox        
 298  
          */
 299  
         private JCheckBox getJCheckBoxOtherMatchesInfo() {
 300  0
                 if (jCheckBoxOtherMatchesInfo == null) {
 301  0
                         jCheckBoxOtherMatchesInfo = new JCheckBox();
 302  
                 }
 303  0
                 return jCheckBoxOtherMatchesInfo;
 304  
         }
 305  
 
 306  
         /**
 307  
          * This method initializes jCheckBoxLoginsAndOuts        
 308  
          *         
 309  
          * @return javax.swing.JCheckBox        
 310  
          */
 311  
         private JCheckBox getJCheckBoxLoginsAndOuts() {
 312  0
                 if (jCheckBoxLoginsAndOuts == null) {
 313  0
                         jCheckBoxLoginsAndOuts = new JCheckBox();
 314  
                 }
 315  0
                 return jCheckBoxLoginsAndOuts;
 316  
         }
 317  
 
 318  
         /**
 319  
          * This method initializes jPanelOkCancel        
 320  
          *         
 321  
          * @return javax.swing.JPanel        
 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  
          * This method initializes jButtonOK        
 347  
          *         
 348  
          * @return javax.swing.JButton        
 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  
          * This method initializes jButtonCancel        
 365  
          *         
 366  
          * @return javax.swing.JButton        
 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  
          * This method initializes jPanelPrefsDebug        
 383  
          *         
 384  
          * @return javax.swing.JPanel        
 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  
          * This method initializes jCheckBoxShowAllReceivedMessages        
 462  
          *         
 463  
          * @return javax.swing.JCheckBox        
 464  
          */
 465  
         private JCheckBox getJCheckBoxShowAllReceivedMessages() {
 466  0
                 if (jCheckBoxShowAllReceivedMessages == null) {
 467  0
                         jCheckBoxShowAllReceivedMessages = new JCheckBox();
 468  
                 }
 469  0
                 return jCheckBoxShowAllReceivedMessages;
 470  
         }
 471  
 
 472  
         /**
 473  
          * This method initializes jCheckBoxShowAllTransmittedMessages        
 474  
          *         
 475  
          * @return javax.swing.JCheckBox        
 476  
          */
 477  
         private JCheckBox getJCheckBoxShowAllTransmittedMessages() {
 478  0
                 if (jCheckBoxShowAllTransmittedMessages == null) {
 479  0
                         jCheckBoxShowAllTransmittedMessages = new JCheckBox();
 480  
                 }
 481  0
                 return jCheckBoxShowAllTransmittedMessages;
 482  
         }
 483  
 
 484  
         /**
 485  
          * This method initializes jCheckBoxShowUnhandledCookies        
 486  
          *         
 487  
          * @return javax.swing.JCheckBox        
 488  
          */
 489  
         private JCheckBox getJCheckBoxShowUnhandledCookies() {
 490  0
                 if (jCheckBoxShowUnhandledCookies == null) {
 491  0
                         jCheckBoxShowUnhandledCookies = new JCheckBox();
 492  
                 }
 493  0
                 return jCheckBoxShowUnhandledCookies;
 494  
         }
 495  
 
 496  
         /**
 497  
          * This method initializes jCheckBoxStdoutNetMessages        
 498  
          *         
 499  
          * @return javax.swing.JCheckBox        
 500  
          */
 501  
         private JCheckBox getJCheckBoxStdoutNetMessages() {
 502  0
                 if (jCheckBoxStdoutNetMessages == null) {
 503  0
                         jCheckBoxStdoutNetMessages = new JCheckBox();
 504  
                 }
 505  0
                 return jCheckBoxStdoutNetMessages;
 506  
         }
 507  
 
 508  
         /**
 509  
          * This method initializes jCheckBoxShowAnimatePath        
 510  
          *         
 511  
          * @return javax.swing.JCheckBox        
 512  
          */
 513  
         private JCheckBox getJCheckBoxShowAnimatePath() {
 514  0
                 if (jCheckBoxShowAnimatePath == null) {
 515  0
                         jCheckBoxShowAnimatePath = new JCheckBox();
 516  
                 }
 517  0
                 return jCheckBoxShowAnimatePath;
 518  
         }
 519  
 
 520  
 }  //  @jve:decl-index=0:visual-constraint="5,7"