[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/desktop s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Thu Jan 5 16:17:33 MST 2006


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop
In directory www.crosswire.org:/tmp/cvs-serv1236/java/main/org/crosswire/bibledesktop/desktop

Modified Files:
	Desktop.java 
Log Message:
Added the ability to hide the border of a split pane's divider.

Index: Desktop.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/Desktop.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** Desktop.java	21 Aug 2005 20:38:04 -0000	1.51
--- Desktop.java	5 Jan 2006 23:17:31 -0000	1.52
***************
*** 236,240 ****
          //barBook = new ReferencedPane();
          reference = new DictionaryPane();
!         sptBooks = new FixedSplitPane();
          views = new ViewManager(this);
          views.addViewEventListener(this);
--- 236,240 ----
          //barBook = new ReferencedPane();
          reference = new DictionaryPane();
!         sptBooks = new FixedSplitPane(false);
          views = new ViewManager(this);
          views.addViewEventListener(this);
***************
*** 271,280 ****
          sptBooks.setBorder(null);
  
-         Object splitPaneUI = sptBooks.getUI();
-         if (splitPaneUI instanceof javax.swing.plaf.basic.BasicSplitPaneUI)
-         {
-             ((javax.swing.plaf.basic.BasicSplitPaneUI) splitPaneUI).getDivider().setBorder(null);
-         }
- 
          // The toolbar needs to be in the outermost container, on the border
          // And the only other item in that container can be CENTER
--- 271,274 ----



More information about the jsword-svn mailing list