[jsword-svn] common/java/swing/org/crosswire/common/swing s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sat Jun 4 15:46:59 MST 2005
Update of /cvs/jsword/common/java/swing/org/crosswire/common/swing
In directory www.crosswire.org:/tmp/cvs-serv27108/java/swing/org/crosswire/common/swing
Modified Files:
GuiUtil.java
Log Message:
Fixed two refresh issues.
Index: GuiUtil.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/GuiUtil.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** GuiUtil.java 17 May 2005 00:47:01 -0000 1.12
--- GuiUtil.java 4 Jun 2005 22:46:57 -0000 1.13
***************
*** 37,40 ****
--- 37,41 ----
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
+ import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
***************
*** 338,341 ****
--- 339,346 ----
c.validate();
c.repaint();
+ if (c instanceof JComponent)
+ {
+ ((JComponent) c).revalidate();
+ }
}
More information about the jsword-svn
mailing list