[Squirrel-sql-commits] sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui BasePopupMenu.java, 1.3, 1
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
From: Colin B. <co...@us...> - 2006-11-17 06:28:12
|
Update of /cvsroot/squirrel-sql/sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29416 Modified Files: BasePopupMenu.java Log Message: Remove code to fix a problem in Java 1.3 and previous where popup menus were positioned offscreen. Index: BasePopupMenu.java =================================================================== RCS file: /cvsroot/squirrel-sql/sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui/BasePopupMenu.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BasePopupMenu.java 26 Mar 2003 09:36:24 -0000 1.3 --- BasePopupMenu.java 17 Nov 2006 06:28:09 -0000 1.4 *************** *** 23,27 **** import javax.swing.JPopupMenu; ! import com.ice.util.JFCUtilities; // TODO: Once we're happy that JFCUtilities is no longer required --- 23,27 ---- import javax.swing.JPopupMenu; ! //import com.ice.util.JFCUtilities; // TODO: Once we're happy that JFCUtilities is no longer required *************** *** 38,43 **** public void show(MouseEvent evt) { ! Point pt = JFCUtilities.computePopupLocation(evt, evt.getComponent(), this); ! // Point pt = new Point( evt.getX(), evt.getY() ); show(evt.getComponent(), pt.x, pt.y); } --- 38,43 ---- public void show(MouseEvent evt) { ! // Point pt = JFCUtilities.computePopupLocation(evt, evt.getComponent(), this); ! Point pt = new Point( evt.getX(), evt.getY() ); show(evt.getComponent(), pt.x, pt.y); } |