CPD Results

The following document contains the results of PMD's CPD 5.5.1.

Duplications

File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 293
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 343
	}

	/**
	 * This method initializes jButtonOK	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonOK() {
		if (jButtonOK == null) {
			jButtonOK = new JButton();
			jButtonOK.setText("OK");
			jButtonOK.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					okButtonActionPerformed(e);
				}
			});
		}
		return jButtonOK;
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					cancelButtonActionPerformed(e);
				}
			});
		}
		return jButtonCancel;
	}

	/**
	 * This method initializes jPanelOkCancel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getJPanelOkCancel() {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 293
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 343
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 381
	}

	/**
	 * This method initializes jButtonOK	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonOK() {
		if (jButtonOK == null) {
			jButtonOK = new JButton();
			jButtonOK.setText("OK");
			jButtonOK.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					okButtonActionPerformed(e);
				}
			});
		}
		return jButtonOK;
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					cancelButtonActionPerformed(e);
				}
			});
		}
		return jButtonCancel;
	}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterNameRenderer.java 114
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerNameRenderer.java 136
		this.add(jLabelIcon, gridBagConstraints1);
	}

	public void setSelectedBackground(Color color) {
		selectedBackgroundColor = color;
	}

	/* (non-Javadoc)
	 * @see javax.swing.table.TableCellRenderer#getTableCellRendererComponent(javax.swing.JTable, java.lang.Object, boolean, boolean, int, int)
	 */
	@Override
	public Component getTableCellRendererComponent(JTable table, Object value,
			boolean isSelected, boolean hasFocus, int row, int column) {
		Player p = (Player)value;
		this.setOpaque(true);
		this.jLabel.setOpaque(true);
		if (isSelected) {
			this.setBackground(selectedBackgroundColor);
			this.jLabel.setBackground(selectedBackgroundColor);
		} else {
			this.setBackground(Color.white);
			this.jLabel.setBackground(Color.white);
		}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 673
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 762
		if (ae != null && ae.getType() == Type.CantMove && ae.getWho() == Board.X) {
			g.setColor(Color.red);
			y = y + size + size/2;
			g.drawLine(x0, y, x1+size, y-size*2);
			g.drawLine(x0-1, y, x1+size-1, y-size*2);
			g.drawLine(x0, y-size*2, x1+size, y);
			g.drawLine(x0-1, y-size*2, x1+size-1, y);
			
		}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventAcceptAndWin.java 63
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventRejectResign.java 59
	public AnimateEventAcceptAndWin() {
		offset = 0.0;
	}

	/** Set the start and end points for this dice animation
	 * @param miniX
	 * @param miniY
	 * @param miniSize
	 * @param x
	 * @param y
	 * @param flagSize
	 * @return int[0]=X, [1]=Y, [2]=WIDTH, [3]=HEIGHT
	 */
	@Override
	public int[] getFlagParms(int miniX, int miniY, int miniSize, int x, int y, int flagSize) {
		double realOffset = this.offset;
		this.offset = 1.0;
		int[] i = super.getFlagParms(miniX, miniY, miniSize, x, y, flagSize);
		this.offset = realOffset;
		return(i);
	}
}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 651
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 741
				x0 = (int)(((x0-miniX)*ae.offset)+miniX);
				y =  (int)(((y-miniY)*ae.offset)+miniY);
				size = (int)(((bs.dieSize-miniSize)*ae.offset)+miniSize);
				// We have to paint the die here because Board.X is 0
				paintDie(g, size, x0, y, aefr.getBlackDie(), cColor, cColor, tColor);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 311
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 361
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 287
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					cancelButtonActionPerformed(e);
				}
			});
		}
		return jButtonCancel;
	}

	/**
	 * This method initializes jPanelOkCancel	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getJPanelOkCancel() {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 399
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 287
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					cancelButtonActionPerformed(e);
				}
			});
		}
		return jButtonCancel;
	}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 692
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 788
					case Roll:
						if (lastBoard != null) {			// clear out any dice in the board during roll
							int[][] d = lastBoard.getDice();
							d[Board.X][0] = 0;
							d[Board.X][1] = 0;
							d[Board.O][0] = 0;
							d[Board.O][1] = 0;
						}
						break;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 693
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 767
						if (lastBoard != null) {			// clear out any dice in the board during roll
							int[][] d = lastBoard.getDice();
							d[Board.X][0] = 0;
							d[Board.X][1] = 0;
							d[Board.O][0] = 0;
							d[Board.O][1] = 0;
						}
						break;
					case PleaseMove:
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 767
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateManager.java 789
							if (lastBoard != null) {			// clear out any dice in the board after move
								int[][] d = lastBoard.getDice();
								d[Board.X][0] = 0;
								d[Board.X][1] = 0;
								d[Board.O][0] = 0;
								d[Board.O][1] = 0;
							}
							break;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterNameRenderer.java 97
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerNameRenderer.java 112
		gridBagConstraints1.gridy = 0;
		gridBagConstraints1.anchor = GridBagConstraints.EAST;
		gridBagConstraints1.weightx = 0.2;
		gridBagConstraints1.gridheight = 1;
		GridBagConstraints gridBagConstraints = new GridBagConstraints();
		gridBagConstraints.insets = new Insets(0, 0, 0, 0);
		gridBagConstraints.gridx = 0;
		gridBagConstraints.gridy = 0;
		gridBagConstraints.anchor = GridBagConstraints.WEST;
		gridBagConstraints.gridheight = 1;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 306
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 356
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 394
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/EditGroupDialog.java 261
					okButtonActionPerformed(e);
				}
			});
		}
		return jButtonOK;
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 140
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 343
			this.commandDispatcher.dispatch(CommandDispatcher.Command.ACCEPT_INVITATION, playerName);
		} else {
			System.out.println("Unhandled Action: " + e.getActionCommand() + " on " + playerName);			
		}
	}

	private	void	onMousePressed(MouseEvent e) {
		if (e.getButton() != MouseEvent.BUTTON1)
			return;
		if (e.getClickCount() != 2)
			return;
		Player p = (Player)inviterListTable.getModel().getValueAt(inviterListTable.convertRowIndexToModel(inviterListTable.getSelectedRow()), 0);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/playerList/InvitePopupSubmenu.java 83
com/buckosoft/fibs/BuckoFIBS/gui/playerList/RepBotPopupSubmenu.java 64
	public InvitePopupSubmenu() {
		super();
		initialize();
	}

	/** Set our reference to the object that will receive menu events
	 * @param c The ActionListener object
	 */ 
	public	void setMenuHandler(ActionListener c) {
		this.menuHandler = c;
	}

	/* (non-Javadoc)
	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
	 */
	public void actionPerformed(ActionEvent e) {
		menuHandler.actionPerformed(e);
	}

	
	/**
	 * This method initializes this
	 * 
	 */
	private void initialize() {
        this.setSize(new Dimension(73, 40));
        this.setText("Invite");
File Line
com/buckosoft/fibs/BuckoFIBS/GameManager.java 345
com/buckosoft/fibs/BuckoFIBS/GameManager.java 361
	private void addStartNewGame(String s) {
		reset(false);
		GameEventBoard gb = new GameEventBoard();
		Board b = gb.getBoard();
		b.setStartPositions();
		b.setPlayerName(Board.O, "You");
		String ss[] = s.split(" ");
		b.setPlayerName(Board.X, ss[5]);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 1104
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 1135
			int[] pos = aer.getFlagParms(miniX, miniY, miniSize, x, y, flagSize);
			g.drawImage(aer.getIcon().getImage(), pos[AnimateEventResign.X], pos[AnimateEventResign.Y],
					pos[AnimateEventResign.WIDTH], pos[AnimateEventResign.HEIGHT], null);
File Line
com/buckosoft/fibs/BuckoFIBS/GameManager.java 570
com/buckosoft/fibs/BuckoFIBS/GameManager.java 584
	private void addOtherDoubles(String s) {
		GameEventDouble ged = new GameEventDouble();
		GameEventBoard geb = (GameEventBoard)getLastOf(Type.Board);
		Board b = geb.getBoard();
		ged.parse(s, b);
		b.setWasDoubled(ged.getWhoDoubled());
		if (DEBUG)
			logger.info("addOtherDoubles: s=" + s);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 993
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 1012
			y = bs.h - bs.c2 + fm.getAscent()/2;
			t = board.getPoints()[f];
			if (t < -5 || t > 5)
				y = this.getNthCheckerY(f, 5) + bs.c2 + fm.getAscent()/2;
//			g.setColor(Color.red);
//			g.drawRect(x-1, y-1, 3, 3);
			if (t > 0)
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 293
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 343
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 381
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/EditGroupDialog.java 248
	}

	/**
	 * This method initializes jButtonOK	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonOK() {
		if (jButtonOK == null) {
			jButtonOK = new JButton();
			jButtonOK.setText("OK");
			jButtonOK.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 311
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 361
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 399
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 287
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 512
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 207
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/EditGroupDialog.java 266
	}

	/**
	 * This method initializes jButtonCancel	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonCancel() {
		if (jButtonCancel == null) {
			jButtonCancel = new JButton();
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventDouble.java 95
com/buckosoft/fibs/domain/gameEvent/GameEventDouble.java 68
	}

	/** Get the value of the cube before the double
	 * @return the cubeBefore
	 */
	public int getCubeBefore() {
		return cubeBefore;
	}

	/** Set the current value of cube as well as the derived, next value of the cube (if accepted). 
	 * @param cubeBefore the value of the cube (from the last board) to set
	 */
	public void setCubeBefore(int cubeBefore) {
		this.cubeBefore = cubeBefore;
		this.cubeAfter = this.cubeBefore * 2;
		if (this.cubeAfter > 64)
			this.cubeAfter = 1;
	}

	/** Get the value of the cube after the double
	 * @return the cubeAfter
	 */
	public int getCubeAfter() {
		return cubeAfter;
	}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 513
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 548
				g.setColor(cColor);
				g.fillArc(x, y, bs.checkerSize, bs.checkerSize, 0, 360);
				g.setColor(tColor);
				g.drawArc(x, y, bs.checkerSize, bs.checkerSize, 0, 360);
			}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 151
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 356
		Player p = (Player)inviterListTable.getModel().getValueAt(inviterListTable.convertRowIndexToModel(inviterListTable.getSelectedRow()), 0);
		if (p == null)
			return;
		String playerName = p.getName();
		if (DEBUG)
			System.out.println("dblclick performed: on " + playerName);
		this.commandDispatcher.dispatch(CommandDispatcher.Command.GET_PLAYER_REPORT, playerName);
	}
	/**
	 * This method initializes playerListScrollPane	
	 * 	
	 * @return javax.swing.JScrollPane	
	 */
	private JScrollPane getInviterListScrollPane() {
File Line
com/buckosoft/fibs/domain/gameEvent/GameEventAcceptAndWin.java 65
com/buckosoft/fibs/domain/gameEvent/GameEventResign.java 60
	}
	
	/** Parse the string that created this GameEvent. <br>
	 * <code>dickbalaska accepts and wins 3 points.</code>
	 * @param s The FIBS string
	 * @param b The Board prior to this resign (used to determine which player is resigning)
	 */
	public void parse(String s, Board b) {
		String[] ss = s.split(" ");
		playerName = ss[0];
		this.setWho(b.getXOFromName(playerName));
		try {
			this.resigningPoints = Integer.parseInt(ss[4]);
File Line
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 868
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 879
		this.mainDialog.getDocument().resetGame();
		this.mainDialog.getDocument().getBoard().setSortDice(this.properties.isHighDieLeft());
		this.mainDialog.redrawOwnInfo();
		this.mainDialog.setBoardTabVisible();
		//this.writeNetworkMessageln("board");
		this.mainDialog.getChatPane().setupComboBoxCommand(ChatPane.Command.Kibitz);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterTableModel.java 128
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterTableModel.java 156
	public void invited(Player player, String matchLength) {
		ListIterator<Inviter> liter = inviters.listIterator();
		int row = -1;
		while (liter.hasNext()) {
			row++;
			Inviter p = liter.next();
			if (p.p.getName().equals(player.getName())) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 986
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 1005
		for (p=1; p<=12; p++) {
			f = p;
			if (reverse)
				f = 25-p;
			s = "" + f;
			int sw = fm.stringWidth(s);
			x = getPointX(p) + bs.c2 - sw/2;
			y = bs.h - bs.c2 + fm.getAscent()/2;
File Line
com/buckosoft/fibs/net/CookieMonster.java 287
com/buckosoft/fibs/net/CookieMonster.java 302
			iter = loginBatch.iterator();
			while (iter.hasNext()) {
				ptr = iter.next();
				if (ptr.regex.matcher(message).find()) {
					result = ptr.message;
					break;
				}
			}
			if (result == CLIP_MOTD_BEGIN)
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 123
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 114
	public PreferencesForMessagesDialog(JFrame owner, CommandDispatcher commandDispatcher) {
		super(owner, true);
		this.commandDispatcher = commandDispatcher;
		this.properties = commandDispatcher.getProperties();
		initialize();
		this.setLocationRelativeTo(owner);
		
		BFProperties props = this.commandDispatcher.getProperties();
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 996
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 1017
				y = this.getNthCheckerY(f, 5) + bs.c2 + fm.getAscent()/2;
//			g.setColor(Color.red);
//			g.drawRect(x-1, y-1, 3, 3);
			if (t > 0)
				g.setColor(Color.white);
			else
				g.setColor(Color.blue);
			g.drawString(s, x, y);
		}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 162
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 185
		appendStyledText(ST_VERB, verb + " ");
		appendStyledText(ST_MESSAGE, message + eol);
		chatOutDimension = textPane.getSize(chatOutDimension);
		chatOutRectangle.y = chatOutDimension.height;
		try {
			this.getViewport().scrollRectToVisible(chatOutRectangle);
		} catch (Exception e) {/* ignore */}
	}
File Line
com/buckosoft/fibs/domain/FinishedMatch.java 119
com/buckosoft/fibs/domain/SavedMatch.java 88
	}
	/**
	 * @return the yourScore
	 */
	public int getYourScore() {
		return yourScore;
	}
	/**
	 * @param yourScore the yourScore to set
	 */
	public void setYourScore(int yourScore) {
		this.yourScore = yourScore;
	}
	/**
	 * @return the opponentScore
	 */
	public int getOpponentScore() {
		return opponentScore;
	}
	/**
	 * @param opponentScore the opponentScore to set
	 */
	public void setOpponentScore(int opponentScore) {
		this.opponentScore = opponentScore;
	}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 147
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 163
		appendStyledText(ST_MESSAGE, message + eol);
		chatOutDimension = textPane.getSize(chatOutDimension);
		chatOutRectangle.y = chatOutDimension.height;
		try {
			this.getViewport().scrollRectToVisible(chatOutRectangle);
		} catch (Exception e) {/* ignore */}		
	}

	/** Write a message from another player to the textpane
	 * @param name The name of the player who sent the message
	 * @param verb The type of message sent
	 * @param message The message
	 */
	public void writeMessageFromPlayer(String name, String verb, String message) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 207
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 534
		public void mousePressed(MouseEvent e) {
			maybeShowPopup(e);
		}

		public void mouseReleased(MouseEvent e) {
			maybeShowPopup(e);
		}

		private void maybeShowPopup(MouseEvent e) {
			if (e.isPopupTrigger()) {
				int row = inviterListTable.rowAtPoint(new Point(e.getX(), e.getY()));
File Line
com/buckosoft/fibs/net/CookieMonster.java 254
com/buckosoft/fibs/net/CookieMonster.java 264
				iter = numericBatch.iterator();
				while (iter.hasNext()) {
					ptr = iter.next();
					//System.out.println("regex=" + ptr.regex.toString());
					if (ptr.regex.matcher(message).find()) {
						result = ptr.message;
						break;
					}
				}
			} else if (ch == '*') {
File Line
com/buckosoft/fibs/net/CookieMonster.java 254
com/buckosoft/fibs/net/CookieMonster.java 264
com/buckosoft/fibs/net/CookieMonster.java 273
				iter = numericBatch.iterator();
				while (iter.hasNext()) {
					ptr = iter.next();
					//System.out.println("regex=" + ptr.regex.toString());
					if (ptr.regex.matcher(message).find()) {
						result = ptr.message;
						break;
					}
				}
			} else if (ch == '*') {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 147
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 186
		appendStyledText(ST_MESSAGE, message + eol);
		chatOutDimension = textPane.getSize(chatOutDimension);
		chatOutRectangle.y = chatOutDimension.height;
		try {
			this.getViewport().scrollRectToVisible(chatOutRectangle);
		} catch (Exception e) {/* ignore */}		
	}
File Line
com/buckosoft/fibs/document/Document.java 319
com/buckosoft/fibs/document/Document.java 324
				sm.setOpponentName(ss[1].substring(1));
				sm.setMatchLength(Integer.parseInt(ss[2]));
				sm.setYourScore(Integer.parseInt(ss[3]));
				sm.setOpponentScore(Integer.parseInt(ss[5]));
			} else {
File Line
com/buckosoft/fibs/net/CookieMonster.java 254
com/buckosoft/fibs/net/CookieMonster.java 264
com/buckosoft/fibs/net/CookieMonster.java 273
com/buckosoft/fibs/net/CookieMonster.java 287
com/buckosoft/fibs/net/CookieMonster.java 302
com/buckosoft/fibs/net/CookieMonster.java 315
				iter = numericBatch.iterator();
				while (iter.hasNext()) {
					ptr = iter.next();
					//System.out.println("regex=" + ptr.regex.toString());
					if (ptr.regex.matcher(message).find()) {
						result = ptr.message;
						break;
					}
				}
File Line
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 865
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 881
		this.commandDispatcher.dispatch(CommandDispatcher.Command.PLAYER_GONE, ss[1]);
		if (this.properties.isMsgLoginsAndOuts())
			this.commandDispatcher.writeSystemMessageln(SystemMessagesTextPane.NORMAL, ss[2] + " " + ss[3] + " " + ss[4]);
	}

	private	void parseAbortMatch(String s) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventDouble.java 126
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventMove.java 126
	}
	protected int getPointX(int point) {
		return(boardPane.getPointX(point));
	}
	protected int getNthCheckerY(int point, int checker) {
		return(boardPane.getNthCheckerY(point, checker));
	}
	protected Point getDoubleCubePushXY() {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/BoardGui.java 264
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/BoardGui.java 277
			if (p == POINT_DICE) {
				this.commandDispatcher.dispatch(CommandDispatcher.Command.SEND_ACCEPT);
				return;
			}
			if (p == POINT_REJECT) {
				this.commandDispatcher.dispatch(CommandDispatcher.Command.SEND_REJECT);
				return;
			}
			return;
		}
		if (board.isAcceptDeclineDouble()) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerTableModel.java 134
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerTableModel.java 158
	public void playerChanged(Player player) {
		ListIterator<Player> liter = players.listIterator();
//		int row = -1;
		while (liter.hasNext()) {
//			row++;
			Player p = liter.next();
			if (p.getName().equals(player.getName())) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 236
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 155
		dispose();
	}

	private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {
		setVisible(false);
		dispose();
	}

	/**
	 * This method initializes this
	 * 
	 */
	private void initialize() {
        this.setSize(new Dimension(623, 300));
File Line
com/buckosoft/fibs/BuckoFIBS/gui/SystemMessagesTextPane.java 165
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatOutput.java 197
		try {
			this.document.insertString(this.document.getLength(), s, styles[style]);
		} catch (BadLocationException e) {
			e.printStackTrace();
		}
	}
}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 182
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 202
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 222
			jButtonImport.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					System.out.println("actionPerformed()"); // TODO Auto-generated Event stub actionPerformed()
					returnValue = USE_EXISTING_ID;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ChatPane.java 304
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/GroupSelectPane.java 187
			jCommandComboBox.addItemListener(new java.awt.event.ItemListener() {
				public void itemStateChanged(java.awt.event.ItemEvent e) {
					if (DEBUG)
						System.out.println("itemStateChanged()");
File Line
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 157
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 177
	public Player getPlayer(int id) {
		initDB();
		Session session = hibernateUtil.getSessionFactory().getCurrentSession();
		session.beginTransaction();
		Player p = null;
		try {
			p = (Player)session.createQuery("from Player where id = ?")
File Line
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 164
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 184
					.setInteger(0, id).uniqueResult();
		} catch (Exception e) {
			e.printStackTrace();
			return(null);
		}
		session.getTransaction().commit();
		return p;
	}

	/* (non-Javadoc)
	 * @see com.buckosoft.fibs.BuckoFIBS.db.Database#getPlayer(java.lang.String)
	 */
	@Override
	public Player getPlayer(String name) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 173
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 123
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 114
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 105
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 122
	public PreferencesDialog(JFrame owner, CommandDispatcher commandDispatcher) {
		super(owner, true);
		this.commandDispatcher = commandDispatcher;
		this.properties = commandDispatcher.getProperties();
		initialize();
		this.setLocationRelativeTo(owner);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 417
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 439
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 486
			jTextFieldUserName.addCaretListener(new javax.swing.event.CaretListener() {
				public void caretUpdate(javax.swing.event.CaretEvent e) {
					caretChanged(e);
				}
			});
		}
		return jTextFieldUserName;
File Line
com/buckosoft/fibs/domain/gameEvent/GameEventPleaseAcceptOrRejectResign.java 48
com/buckosoft/fibs/domain/gameEvent/GameEventRejectResign.java 48
		return(Life.Transient);
	}

	/** A dummy parser.  Nothing to parse for this event
	 * @param unused
	 */
	public void parse(String unused) {
	}

	/** Get how many points this resign event is for
	 * @return the resigningPoints
	 */
	public int getResigningPoints() {
		return(resigningPoints);
	}

	/** Set how many points this resign event is for
	 * @param resigningPoints the resigningPoints to set
	 */
	public void setResigningPoints(int resigningPoints) {
		this.resigningPoints = resigningPoints;
	}
}
File Line
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 243
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 261
			jRadioButtonAllMatches.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					ratingGraphConfig.setType(RatingGraphConfig.Type.displayAllMatches);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 346
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 182
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 202
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 222
			jRadioButtonFromDate.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					System.out.println("actionPerformed()"); // TODO Date does nothing.
File Line
com/buckosoft/fibs/BuckoFIBS/gui/ToolBar.java 207
com/buckosoft/fibs/BuckoFIBS/gui/ToolBar.java 226
com/buckosoft/fibs/BuckoFIBS/gui/ToolBar.java 246
com/buckosoft/fibs/BuckoFIBS/gui/ToolBar.java 265
			jButtonTools.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					commandDispatcher.dispatch(CommandDispatcher.Command.SHOW_PREFERENCES_DIALOG);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 460
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 479
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 498
			readyToggleButton.addItemListener(new java.awt.event.ItemListener() {
				public void itemStateChanged(java.awt.event.ItemEvent e) {
					changeROP();
				}
			});
		}
		return readyToggleButton;
File Line
com/buckosoft/fibs/domain/gameEvent/GameEventFirstMove.java 59
com/buckosoft/fibs/domain/gameEvent/GameEventPleaseMove.java 76
	public GameEventFirstMove() {}

	/** Return the two dice rolled in this event
	 * @return The array of the dice
	 */
	public int[]	getDice() {
		return(dice);
	}
	
	/** Set the dice to be used for this turn
	 * @param dice The dice (from the previous roll)
	 */
	public void setDice(int[] dice) {
		this.dice = dice;
	}

	/** Parse either "<code>It's your turn to move.</code>" or "<code>dickbalaska makes the first move.</code>"
	 * along with the first dice.
	 * @param s The FIBS string to parse.
	 * @param firstRoll The previous FirstRoll which contains his and her dice.
	 * @param board A board to match player names against.
	 */
	public void parse(String s, GameEventFirstRoll firstRoll, Board board) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventDouble.java 71
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventMove.java 105
	}

	@Override
	public boolean isGui() {
		return false;
	}

	public	void setBoardPane(BoardPane boardPane) {
		this.boardPane = boardPane;
		this.bs = boardPane.bs;
	}

	/** Who doubled?
	 * @param xo {@link Board#X} or {@link Board#O}
	 */
	public void setWhoDoubled(int xo) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 348
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 188
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 422
		this.addMouseListener(new java.awt.event.MouseAdapter() {   
			public void mousePressed(java.awt.event.MouseEvent e) {    
				onMousePressed(e);
			}
		});
File Line
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 788
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 799
			p.setSavedMatch(this.mainDialog.getDocument().getSavedMatchString(p.getName()));
			this.mainDialog.getPlayerListTab().playerChanged(p);
		}
	}

	private	void onMissManners(String s) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/GameToolbar.java 126
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/GameToolbar.java 145
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/GameToolbar.java 163
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/GameToolbar.java 181
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 160
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 180
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 200
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 220
			jButtonUndo.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					toolbarHandler.buttonPressed(Button.Undo);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/animateType/_Spline2D.java 218
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/animateType/_Spline2D.java 247
		int index = Arrays.binarySearch(xx, x);
		if (index > 0) {
			return yy[index];
		}

		index = - (index + 1) - 1;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterNameRenderer.java 110
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerNameRenderer.java 130
		jLabel.setText("JLabel");
		this.setLayout(new GridBagLayout());
		this.setSize(new Dimension(79, 22));
		this.add(jLabel, gridBagConstraints);
		this.add(jLabelIcon, gridBagConstraints1);
File Line
com/buckosoft/fibs/domain/gameEvent/GameEventFirstRoll.java 86
com/buckosoft/fibs/domain/gameEvent/GameEventRoll.java 78
			dice[1] = Integer.parseInt(ss[5].substring(0, 1));
		} catch (NumberFormatException e) {
			e.printStackTrace();
		}
	}

	/** Return a debug string of this event
	 * @return "<code>{player} first-roll 6-6</code>"
	 */
	public String	toString() {
		String s = this.playerNames[0] + " first-roll " + dice[0] + "-" + dice[1];
File Line
com/buckosoft/fibs/BuckoFIBS/BFProperties.java 334
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 1064
	private	void	propsChanged() {
		if (myTimer != null) {
			return;
		}
		myTimer = new Timer();
		try {
			myTimerTask = new MyTimerTask(this);
			myTimer.schedule(myTimerTask, 1000);
File Line
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 881
com/buckosoft/fibs/BuckoFIBS/CommandDispatcherImpl.java 891
		this.mainDialog.redrawOwnInfo();
		this.mainDialog.setBoardTabVisible();
		this.writeNetworkMessageln("board");
		this.mainDialog.getChatPane().setupComboBoxCommand(ChatPane.Command.Kibitz);
	}

	private	void onWatching() {
File Line
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 208
com/buckosoft/fibs/BuckoFIBS/db/DatabaseImpl.java 279
	private	void getFinishedMatches() {
		initDB();
		Session session = hibernateUtil.getSessionFactory().getCurrentSession();
		session.beginTransaction();
		List<?> list = session.createQuery("from FinishedMatch where profileId = ? ORDER BY MatchDate")
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 634
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 720
					int[] pos = aedr.getDiceParms(miniX, miniX+miniSize, miniY, miniSize, x0, x1, y, bs.dieSize);
					x0 = pos[AnimateEventDiceRoll.XL];
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 803
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 806
		g.setClip(x-1, y+0, dieSize+1, dieSize/2+1);
		g.fillRoundRect(x, y, dieSize, dieSize, dieSize/4, dieSize/4);
		g.setColor(dColor);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 136
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 333
		String playerName = p.getName();
		if (DEBUG)
			System.out.println("Action performed: " + e.getActionCommand() + " on " + playerName);
		if (e.getActionCommand() == "Accept") {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/AboutDialog.java 150
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 98
		this.setTitle("About BuckoFIBS-X.X");
		this.setContentPane(getJContentPane());
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			GridBagConstraints gridBagConstraints4 = new GridBagConstraints();
			gridBagConstraints4.gridx = 0;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 452
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 254
			jPanelPrefs = new JPanel();
			jPanelPrefs.setLayout(new GridBagLayout());
			jPanelPrefs.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
			jPanelPrefs.add(jLabelAutoConnect, gridBagConstraints10);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 662
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 752
				cColor = makeTranslucent(cColor);
				tColor = makeTranslucent(tColor);
			}
		}
		// paint the black/opponent dice
		if (ae == null || ae.getType() != Type.FirstRoll) {
			if (dice[Board.X][0] != 0)
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 717
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/BoardPane.java 738
					int miniSize = bs.barWidth/2;
					int miniX = bs.w/2-bs.barWidth/2;
					int miniY = bs.h-miniSize-2;
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/animateType/MoveFlasher.java 54
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/animateType/MoveSpline2D.java 74
	private	static 	Color	startColor = new Color(255,20,20,190);
	private	static 	Color	endColor = new Color(20,255,20,150);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPopupMenu.java 79
com/buckosoft/fibs/BuckoFIBS/gui/playerList/InvitePopupSubmenu.java 85
com/buckosoft/fibs/BuckoFIBS/gui/playerList/RepBotPopupSubmenu.java 66
        this.add(getJMenuItemDecline());
			
	}

	public	void setMenuHandler(ActionListener c) {
		this.menuHandler = c;
	}

	/* (non-Javadoc)
	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
	 */
	public void actionPerformed(ActionEvent e) {
		menuHandler.actionPerformed(e);
	}

	/**
	 * This method initializes jMenuItemAccept	
	 * 	
	 * @return javax.swing.JMenuItem	
	 */
	private JMenuItem getJMenuItemAccept() {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/MainDialog.java 543
com/buckosoft/fibs/BuckoFIBS/gui/MainDialog.java 559
			systemMessagesScrollPane.getViewport().scrollRectToVisible(systemMessagesRectangle);
		} catch (Exception e) {
			if (DEBUG) {
				System.out.println("Exception ignored");
				e.printStackTrace();
			}
		}
	}

	/** Scroll the system messages pane so that the last line is visible.
	 * Use this after adding text to the system messages.
	 */
	private void gameMessagesScrollToBottom() {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ButtonTabComponent.java 184
com/buckosoft/fibs/BuckoFIBS/gui/chatWindow/ButtonTabComponent.java 192
		public void mouseEntered(MouseEvent e) {
			Component component = e.getComponent();
			if (component instanceof AbstractButton) {
				AbstractButton button = (AbstractButton) component;
				button.setBorderPainted(true);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/inviterList/InviterListPane.java 105
com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerListPane.java 290
		GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
		gridBagConstraints1.fill = GridBagConstraints.BOTH;
		gridBagConstraints1.gridy = 1;
		gridBagConstraints1.weightx = 1.0;
		gridBagConstraints1.weighty = 1.0;
		gridBagConstraints1.gridx = 0;
File Line
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 816
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 822
			if (regState == RegState.password) {
				password = this.commandDispatcher.getProperties().getPassword(profileId);
				this.clientConnection.sendMessage(password + eol);
				regState = RegState.password1;
File Line
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 1080
com/buckosoft/fibs/BuckoFIBS/ClientReceiveParser.java 1118
		MyTimerTask(ClientReceiveParser crp) {
			super();
			this.crp = crp;
		}
		/* (non-Javadoc)
		 * @see java.util.TimerTask#run()
		 */
		@Override
		public void run() {
			this.crp.commandDispatcher.writeNetworkMessageln("who");
File Line
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesDialog.java 321
com/buckosoft/fibs/BuckoFIBS/gui/PreferencesForMessagesDialog.java 371
com/buckosoft/fibs/BuckoFIBS/gui/RatingGraphPanelConfigureDialog.java 409
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 297
com/buckosoft/fibs/BuckoFIBS/gui/account/CreateAccountDialog.java 522
com/buckosoft/fibs/BuckoFIBS/gui/account/NewbieDialog.java 221
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 217
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/EditGroupDialog.java 276
			jButtonCancel.setText("Cancel");
			jButtonCancel.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/ToolBar.java 187
com/buckosoft/fibs/BuckoFIBS/gui/account/ConnectToServerDialog.java 279
			jButtonConnect.setToolTipText("Connect to the Server");
			jButtonConnect.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/BoardGui.java 425
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/BoardGui.java 447
		if (p == POINT_BAR) {
			if (board.getDirection() == 1)
				p = d;
			else
				p = 25 - d;
			if (board.getPoints()[p] <= 1)
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 239
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ReplayToolbar.java 260
			jButtonPause.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					setPlayPause(false);
File Line
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 164
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 182
com/buckosoft/fibs/BuckoFIBS/gui/boardTab/ResignOut.java 200
			jButtonBackgammon.addActionListener(new java.awt.event.ActionListener() {
				public void actionPerformed(java.awt.event.ActionEvent e) {
					resign("b");
File Line
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/GroupSelectPane.java 246
com/buckosoft/fibs/BuckoFIBS/gui/playerList/group/GroupSelectPane.java 270
		for (CheckWithName cwn : checkWithNameList) {
			this.groupManager.updateGroupOfPlayers(cwn.id, cwn.name, cwn.checkBox.getModel().isSelected());
		}
	}
File Line
com/buckosoft/fibs/domain/gameEvent/GameEventAcceptAndWin.java 45
com/buckosoft/fibs/domain/gameEvent/GameEventResign.java 47
		return(Type.AcceptAndWin);
	}

	@Override
	public Life getLife() {
		return(Life.Persistent);
	}

	/** Get how many points this resign event is for
	 * @return the resigningPoints
	 */
	public int getResigningPoints() {
		return(resigningPoints);
	}

	/** Set how many points this resign event is for
	 * @param resigningPoints the resigningPoints to set
	 */
	public void setResigningPoints(int resigningPoints) {