[jsword-svn] common/java/swing/org/crosswire/common/swing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Mar 6 13:22:01 MST 2005


Update of /cvs/jsword/common/java/swing/org/crosswire/common/swing
In directory www.crosswire.org:/tmp/cvs-serv26740/java/swing/org/crosswire/common/swing

Modified Files:
	ExceptionShelf.java NudgeButton.java MapCellRenderer.java 
	QuickHelpDialog.java FieldLayout.java ExceptionPane.java 
	ActionFactory.java NumericDocument.java FontChooser.java 
	AntiAliasedTextPane.java ListListModel.java 
	FixedSplitPane.java 
Log Message:
Changes to satisfy CheckStyle

Index: FixedSplitPane.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/FixedSplitPane.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** FixedSplitPane.java	28 Nov 2004 21:36:31 -0000	1.4
--- FixedSplitPane.java	6 Mar 2005 20:21:59 -0000	1.5
***************
*** 58,62 ****
  public class FixedSplitPane extends JSplitPane
  {
! 	/**
       * Constructor for FixedSplitPane
       */
--- 58,62 ----
  public class FixedSplitPane extends JSplitPane
  {
!     /**
       * Constructor for FixedSplitPane
       */
***************
*** 192,197 ****
      private static final Dimension DOT = new Dimension(0, 0);
      private boolean firstValidate = true;
!     private boolean hasProportionalLocation = false;
!     private double proportionalLocation = 0.0D;
  
      /**
--- 192,197 ----
      private static final Dimension DOT = new Dimension(0, 0);
      private boolean firstValidate = true;
!     private boolean hasProportionalLocation;
!     private double proportionalLocation;
  
      /**

Index: FieldLayout.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/FieldLayout.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FieldLayout.java	28 Nov 2004 21:36:31 -0000	1.7
--- FieldLayout.java	6 Mar 2005 20:21:59 -0000	1.8
***************
*** 35,39 ****
  public class FieldLayout extends AbstractLayout
  {
! 	/**
       * A default FieldLayout with intercomponent
       * spacing of 0.
--- 35,39 ----
  public class FieldLayout extends AbstractLayout
  {
!     /**
       * A default FieldLayout with intercomponent
       * spacing of 0.

Index: AntiAliasedTextPane.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/AntiAliasedTextPane.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AntiAliasedTextPane.java	28 Nov 2004 21:36:31 -0000	1.2
--- AntiAliasedTextPane.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 34,38 ****
  public class AntiAliasedTextPane extends JTextPane
  {
! 	/* (non-Javadoc)
       * @see javax.swing.JComponent#paintComponent(java.awt.Graphics)
       */
--- 34,38 ----
  public class AntiAliasedTextPane extends JTextPane
  {
!     /* (non-Javadoc)
       * @see javax.swing.JComponent#paintComponent(java.awt.Graphics)
       */
***************
*** 74,77 ****
       * Do we anti-alias the text box?
       */
!     private static boolean antiAliasing = false;
  }
--- 74,77 ----
       * Do we anti-alias the text box?
       */
!     private static boolean antiAliasing;
  }

Index: ExceptionShelf.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/ExceptionShelf.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ExceptionShelf.java	28 Nov 2004 21:36:31 -0000	1.6
--- ExceptionShelf.java	6 Mar 2005 20:21:59 -0000	1.7
***************
*** 48,52 ****
  public class ExceptionShelf extends JPanel
  {
! 	/**
       *
       */
--- 48,52 ----
  public class ExceptionShelf extends JPanel
  {
!     /**
       *
       */

Index: FontChooser.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/FontChooser.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FontChooser.java	28 Nov 2004 21:36:31 -0000	1.7
--- FontChooser.java	6 Mar 2005 20:21:59 -0000	1.8
***************
*** 55,59 ****
  public class FontChooser extends JPanel
  {
! 	/**
       * Create a FontChooser.
       */
--- 55,59 ----
  public class FontChooser extends JPanel
  {
!     /**
       * Create a FontChooser.
       */
***************
*** 239,243 ****
      static class CustomComboBoxModel extends AbstractListModel implements ComboBoxModel
      {
! 		/**
           * Create a custom data model for a JComboBox
           */
--- 239,243 ----
      static class CustomComboBoxModel extends AbstractListModel implements ComboBoxModel
      {
!         /**
           * Create a custom data model for a JComboBox
           */
***************
*** 309,313 ****
      private static class CustomListCellRenderer extends DefaultListCellRenderer
      {
! 		/* (non-Javadoc)
           * @see javax.swing.ListCellRenderer#getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean)
           */
--- 309,313 ----
      private static class CustomListCellRenderer extends DefaultListCellRenderer
      {
!         /* (non-Javadoc)
           * @see javax.swing.ListCellRenderer#getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean)
           */

Index: ExceptionPane.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/ExceptionPane.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ExceptionPane.java	28 Nov 2004 21:36:31 -0000	1.7
--- ExceptionPane.java	6 Mar 2005 20:21:59 -0000	1.8
***************
*** 67,71 ****
  public class ExceptionPane extends JPanel
  {
! 	/**
       * Use showExceptionDialog for the time being
       */
--- 67,71 ----
  public class ExceptionPane extends JPanel
  {
!     /**
       * Use showExceptionDialog for the time being
       */

Index: NumericDocument.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/NumericDocument.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NumericDocument.java	28 Nov 2004 21:36:31 -0000	1.3
--- NumericDocument.java	6 Mar 2005 20:21:59 -0000	1.4
***************
*** 33,40 ****
  public class NumericDocument extends PlainDocument
  {
! 	/* (non-Javadoc)
! 	 * @see javax.swing.text.Document#insertString(int, java.lang.String, javax.swing.text.AttributeSet)
! 	 */
! 	public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
      {
          if (str == null)
--- 33,40 ----
  public class NumericDocument extends PlainDocument
  {
!     /* (non-Javadoc)
!      * @see javax.swing.text.Document#insertString(int, java.lang.String, javax.swing.text.AttributeSet)
!      */
!     public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
      {
          if (str == null)

Index: NudgeButton.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/NudgeButton.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NudgeButton.java	28 Nov 2004 21:36:31 -0000	1.2
--- NudgeButton.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 37,41 ****
  public class NudgeButton extends JPanel
  {
! 	/**
       *
       */
--- 37,41 ----
  public class NudgeButton extends JPanel
  {
!     /**
       *
       */

Index: QuickHelpDialog.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/QuickHelpDialog.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** QuickHelpDialog.java	28 Nov 2004 21:36:31 -0000	1.2
--- QuickHelpDialog.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 44,48 ****
  public class QuickHelpDialog extends JDialog
  {
! 	/**
       * This is the default constructor
       */
--- 44,48 ----
  public class QuickHelpDialog extends JDialog
  {
!     /**
       * This is the default constructor
       */
***************
*** 137,143 ****
      private static final String OK = "OK"; //$NON-NLS-1$
  
!     private ActionFactory actions = null;
  
!     private JEditorPane txtHelp = null;
  
      /**
--- 137,143 ----
      private static final String OK = "OK"; //$NON-NLS-1$
  
!     private ActionFactory actions;
  
!     private JEditorPane txtHelp;
  
      /**

Index: MapCellRenderer.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/MapCellRenderer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MapCellRenderer.java	28 Nov 2004 21:36:31 -0000	1.4
--- MapCellRenderer.java	6 Mar 2005 20:21:59 -0000	1.5
***************
*** 37,41 ****
  public class MapCellRenderer extends JTextArea implements TableCellRenderer
  {
! 	/**
       * Create a MapCellRenderer
       */
--- 37,41 ----
  public class MapCellRenderer extends JTextArea implements TableCellRenderer
  {
!     /**
       * Create a MapCellRenderer
       */

Index: ActionFactory.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/ActionFactory.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ActionFactory.java	2 Oct 2004 23:50:52 -0000	1.10
--- ActionFactory.java	6 Mar 2005 20:21:59 -0000	1.11
***************
*** 117,121 ****
          else
          {
!             log.info("Missing key: '" + key + "'. Known keys are: "+StringUtil.join(actions.keySet().toArray(), ", ")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
              assert false;
  
--- 117,121 ----
          else
          {
!             log.info("Missing key: '" + key + "'. Known keys are: " + StringUtil.join(actions.keySet().toArray(), ", ")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
              assert false;
  

Index: ListListModel.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/ListListModel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ListListModel.java	28 Nov 2004 21:36:31 -0000	1.2
--- ListListModel.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 32,36 ****
  public class ListListModel extends AbstractListModel implements ListModel
  {
! 	/**
       * Constructor for ListListModel.
       */
--- 32,36 ----
  public class ListListModel extends AbstractListModel implements ListModel
  {
!     /**
       * Constructor for ListListModel.
       */



More information about the jsword-svn mailing list