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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Sep 10 02:07:19 MST 2005


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

Modified Files:
	WindowsBorderlessTabbedPaneUI.java 
Log Message:
Replaced BeanPanel with SiteEditor for the Installer.
Added XalanProcess which is useful outside of JSword to transform xml via xslt.
Cleaned up checkstyle complaints.

Index: WindowsBorderlessTabbedPaneUI.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/plaf/WindowsBorderlessTabbedPaneUI.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WindowsBorderlessTabbedPaneUI.java	21 Aug 2005 20:37:49 -0000	1.1
--- WindowsBorderlessTabbedPaneUI.java	10 Sep 2005 09:07:17 -0000	1.2
***************
*** 35,39 ****
  public class WindowsBorderlessTabbedPaneUI extends WindowsTabbedPaneUI
  {
!     public static ComponentUI createUI(JComponent c) {
          return new WindowsBorderlessTabbedPaneUI();
      }
--- 35,40 ----
  public class WindowsBorderlessTabbedPaneUI extends WindowsTabbedPaneUI
  {
!     public static ComponentUI createUI(JComponent c)
!     {
          return new WindowsBorderlessTabbedPaneUI();
      }
***************
*** 49,57 ****
      protected Insets getContentBorderInsets(int tabPlacement)
      {
!         if (tabPlacement == SwingConstants.TOP) 
          {
              return new Insets(1, 0, 0, 0);
          }
!         else if (tabPlacement == SwingConstants.LEFT) 
          {
              return new Insets(0, 1, 0, 0);
--- 50,58 ----
      protected Insets getContentBorderInsets(int tabPlacement)
      {
!         if (tabPlacement == SwingConstants.TOP)
          {
              return new Insets(1, 0, 0, 0);
          }
!         else if (tabPlacement == SwingConstants.LEFT)
          {
              return new Insets(0, 1, 0, 0);
***************
*** 65,69 ****
              return new Insets(0, 0, 0, 1);
          }
!         else {
              return new Insets(0, 0, 0, 0);
          }
--- 66,71 ----
              return new Insets(0, 0, 0, 1);
          }
!         else
!         {
              return new Insets(0, 0, 0, 0);
          }



More information about the jsword-svn mailing list