[Patchanim-commit] SF.net SVN: patchanim: [103] trunk/patchanim/src/com/mebigfatguy/patchanim/ gui/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-02-08 05:29:46
|
Revision: 103 http://patchanim.svn.sourceforge.net/patchanim/?rev=103&view=rev Author: dbrosius Date: 2008-02-07 21:29:50 -0800 (Thu, 07 Feb 2008) Log Message: ----------- use setLocationRelativeTo for test window Modified Paths: -------------- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-02-08 04:59:17 UTC (rev 102) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-02-08 05:29:50 UTC (rev 103) @@ -241,7 +241,7 @@ testButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { JTestFrame tf = new JTestFrame(); - tf.setLocationRelativeTo(null); + tf.setLocationRelativeTo(JPatchControlPanel.this.getRootPane()); tf.setVisible(true); tf.beginAnimation(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |