[jsword-svn] common/java/swing/org/crosswire/common/swing/plaf s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Thu Jan 5 16:10:02 MST 2006
Update of /cvs/jsword/common/java/swing/org/crosswire/common/swing/plaf
In directory www.crosswire.org:/tmp/cvs-serv1122/java/swing/org/crosswire/common/swing/plaf
Modified Files:
WindowsLFCustoms.java
Log Message:
Fixed a Win2000 bug. GUI looks terrible though.
Index: WindowsLFCustoms.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/plaf/WindowsLFCustoms.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** WindowsLFCustoms.java 21 Aug 2005 20:37:49 -0000 1.2
--- WindowsLFCustoms.java 5 Jan 2006 23:10:00 -0000 1.3
***************
*** 56,61 ****
if (windowsScrollPaneborder != null)
{
! standardBorderColor = ((LineBorder) windowsScrollPaneborder).getLineColor();
! tabbedPanePanelBorder = new LineBorder(standardBorderColor);
}
--- 56,68 ----
if (windowsScrollPaneborder != null)
{
! if (windowsScrollPaneborder instanceof LineBorder)
! {
! standardBorderColor = ((LineBorder) windowsScrollPaneborder).getLineColor();
! tabbedPanePanelBorder = new LineBorder(standardBorderColor);
! }
! else
! {
! tabbedPanePanelBorder = BorderFactory.createEmptyBorder(1, 1, 1, 1);
! }
}
More information about the jsword-svn
mailing list