git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can now set the initial window size via configuration file for application and ArchA...
[jalview.git]
/
forester
/
java
/
src
/
org
/
forester
/
archaeopteryx
/
MainFrameApplication.java
diff --git
a/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java
b/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java
index
d3b700d
..
7c13694
100644
(file)
--- a/
forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java
+++ b/
forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java
@@
-22,7
+22,7
@@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.archaeopteryx;
package org.forester.archaeopteryx;
@@
-350,7
+350,9
@@
public final class MainFrameApplication extends MainFrame {
_contentpane.setLayout( new BorderLayout() );
_contentpane.add( _mainpanel, BorderLayout.CENTER );
// App is this big
_contentpane.setLayout( new BorderLayout() );
_contentpane.add( _mainpanel, BorderLayout.CENTER );
// App is this big
- setSize( MainFrameApplication.FRAME_X_SIZE, MainFrameApplication.FRAME_Y_SIZE );
+ setSize( getConfiguration().getFrameXSize() > 40 ? getConfiguration().getFrameXSize() : FRAME_X_SIZE,
+ getConfiguration().getFrameYSize() > 40 ? getConfiguration().getFrameYSize() : FRAME_Y_SIZE );
+
// addWindowFocusListener( new WindowAdapter() {
//
// @Override
// addWindowFocusListener( new WindowAdapter() {
//
// @Override