[jsword-svn] jsword-support/java/limbo/org/crosswire/common/swing s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Mon May 16 17:44:01 MST 2005
Update of /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing
In directory www.crosswire.org:/tmp/cvs-serv24772/java/limbo/org/crosswire/common/swing
Modified Files:
DeckLayout.java TextViewPanelBeanInfo.java
UpperCaseDocument.java TextViewPanel.java MoneyDocument.java
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.
Index: UpperCaseDocument.java
===================================================================
RCS file: /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing/UpperCaseDocument.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** UpperCaseDocument.java 10 May 2005 02:10:57 -0000 1.3
--- UpperCaseDocument.java 17 May 2005 00:43:59 -0000 1.4
***************
*** 9,30 ****
* the text entered upper case according to Character.toUpperCase.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @see java.lang.Character#toUpperCase(char)
--- 9,14 ----
* the text entered upper case according to Character.toUpperCase.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
* @see java.lang.Character#toUpperCase(char)
Index: DeckLayout.java
===================================================================
RCS file: /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing/DeckLayout.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DeckLayout.java 28 Nov 2004 21:34:19 -0000 1.4
--- DeckLayout.java 17 May 2005 00:43:59 -0000 1.5
***************
*** 12,48 ****
/**
! * DeckLayout is very similar to the awt CardLayout, except the
! * latter is supposed to have some focus problems. I've not
! * come across these before, and DeckLayout seems to be
! * broken anyway, so I don't use it at all.
! * <p>DeckLayout treats each component in the container as a card.
! * Only one card is visible at a time, and the container acts
! * like a deck of cards.
! * The ordering of cards is determined by the container's own
! * internal ordering of its component objects. DeckLayout
! * defines a set of methods that allow an application to flip
! * through the cards sequentially, or to show a specified card.
! * The addLayoutComponent method can be used to associate a
! * string identifier with a given card for faster random access.
! *
! * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
! * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
! * Distribution Licence:<br />
! * Project B is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
! * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @author Joe Walker
! * @author Claude Duguay Copyright (c) 1998
! */
public class DeckLayout extends AbstractLayout implements LayoutManager2, Serializable
{
--- 12,34 ----
/**
! * DeckLayout is very similar to the awt CardLayout, except the
! * latter is supposed to have some focus problems. I've not
! * come across these before, and DeckLayout seems to be
! * broken anyway, so I don't use it at all.
! * <p>DeckLayout treats each component in the container as a card.
! * Only one card is visible at a time, and the container acts
! * like a deck of cards.
! * The ordering of cards is determined by the container's own
! * internal ordering of its component objects. DeckLayout
! * defines a set of methods that allow an application to flip
! * through the cards sequentially, or to show a specified card.
! * The addLayoutComponent method can be used to associate a
! * string identifier with a given card for faster random access.
! *
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
! * @author Joe Walker
! * @author Claude Duguay Copyright (c) 1998
! */
public class DeckLayout extends AbstractLayout implements LayoutManager2, Serializable
{
Index: TextViewPanel.java
===================================================================
RCS file: /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing/TextViewPanel.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TextViewPanel.java 10 May 2005 02:10:57 -0000 1.4
--- TextViewPanel.java 17 May 2005 00:43:59 -0000 1.5
***************
*** 36,57 ****
* The text to be viewed can be grabbed from a String, a URL, or a file.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
*/
--- 36,41 ----
* The text to be viewed can be grabbed from a String, a URL, or a file.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
Index: TextViewPanelBeanInfo.java
===================================================================
RCS file: /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing/TextViewPanelBeanInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TextViewPanelBeanInfo.java 10 May 2005 02:10:57 -0000 1.2
--- TextViewPanelBeanInfo.java 17 May 2005 00:43:59 -0000 1.3
***************
*** 14,35 ****
* BeansExpress.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
*/
--- 14,19 ----
* BeansExpress.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
Index: MoneyDocument.java
===================================================================
RCS file: /cvs/jsword/jsword-support/java/limbo/org/crosswire/common/swing/MoneyDocument.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MoneyDocument.java 28 Nov 2004 21:34:19 -0000 1.4
--- MoneyDocument.java 17 May 2005 00:43:59 -0000 1.5
***************
*** 6,30 ****
/**
! * A money document simply extends document to refuse all non-financial
! * data entered. We do not currently do any decimal place checking.
! *
! * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
! * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
! * Distribution Licence:<br />
! * Project B is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
! * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @author Joe Walker
! */
public class MoneyDocument extends PlainDocument
{
--- 6,16 ----
/**
! * A money document simply extends document to refuse all non-financial
! * data entered. We do not currently do any decimal place checking.
! *
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
! * @author Joe Walker
! */
public class MoneyDocument extends PlainDocument
{
More information about the jsword-svn
mailing list