openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r945923 - /openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java
Date Tue, 18 May 2010 22:05:24 GMT
Author: kwsutter
Date: Tue May 18 22:05:24 2010
New Revision: 945923

URL: http://svn.apache.org/viewvc?rev=945923&view=rev
Log:
Updated the default view sizes to make them more usable (the original size was too large for
my screen).  I also updated the divider line width to make it easier to select.

Modified:
    openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java

Modified: openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java?rev=945923&r1=945922&r2=945923&view=diff
==============================================================================
--- openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java (original)
+++ openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/client/Demo.java Tue May
18 22:05:24 2010
@@ -76,9 +76,9 @@ import org.apache.openjpa.persistence.Op
  */
 @SuppressWarnings("serial")
 public class Demo extends JFrame implements Thread.UncaughtExceptionHandler {
-    private static final Dimension TAB_VIEW = new Dimension(1400,800);
-    private static final Dimension OUT_VIEW = new Dimension(1400,200);
-    private static final Dimension NAV_VIEW = new Dimension(400,1000);
+    private static final Dimension TAB_VIEW = new Dimension(800,600);
+    private static final Dimension OUT_VIEW = new Dimension(800,200);
+    private static final Dimension NAV_VIEW = new Dimension(400,800);
 
     /**
      * The actions invoked by this sample demonstration.
@@ -159,7 +159,7 @@ public class Demo extends JFrame impleme
         
         JSplitPane horizontalSplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
         horizontalSplitPane.setContinuousLayout(true);
-        horizontalSplitPane.setDividerSize(1);
+        horizontalSplitPane.setDividerSize(5);
         JScrollPane scrollPane = new JScrollPane(_navigator);
         scrollPane.setMinimumSize(new Dimension(NAV_VIEW.width/4, NAV_VIEW.height));
         scrollPane.setPreferredSize(NAV_VIEW);
@@ -167,7 +167,7 @@ public class Demo extends JFrame impleme
         
         JSplitPane verticalSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
         verticalSplitPane.setContinuousLayout(true);
-        verticalSplitPane.setDividerSize(1);
+        verticalSplitPane.setDividerSize(5);
         verticalSplitPane.add(_tabbedPane);
         verticalSplitPane.add(_outputPane);
         horizontalSplitPane.add(verticalSplitPane);



Mime
View raw message