SwingJS 3.2.4.05 should fix JFileChooser synthetic ref issue
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 13 Dec 2018 23:03:46 +0000 (17:03 -0600)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 13 Dec 2018 23:03:46 +0000 (17:03 -0600)
adds better detection of HTTP_FILE_NOT_FOUND error if using jsmol.php
relay (which seems to always add \r\n and gives status 200, even if the
actual response was 404

libjs/jmol-app.zip
src/jalview/io/JalviewFileChooser.java
swingjs/SwingJS-site.zip
swingjs/net.sf.j2s.core.jar
swingjs/timestamp
swingjs/ver/3.2.4/SwingJS-site.zip
swingjs/ver/3.2.4/net.sf.j2s.core.jar
swingjs/ver/3.2.4/timestamp

index 3a70675..23dd0ef 100644 (file)
Binary files a/libjs/jmol-app.zip and b/libjs/jmol-app.zip differ
index 6838824..b7eeaab 100755 (executable)
@@ -472,6 +472,7 @@ public class JalviewFileChooser extends JFileChooser
     public RecentlyOpened()
     {
 
+      setPreferredSize(new Dimension(300,100));
       String historyItems = jalview.bin.Cache.getProperty("RECENT_FILE");
       StringTokenizer st;
       Vector<String> recent = new Vector<>();
@@ -487,9 +488,9 @@ public class JalviewFileChooser extends JFileChooser
       }
 
       list = new JList<>(recent);
-
+  
       DefaultListCellRenderer dlcr = new DefaultListCellRenderer();
-      dlcr.setHorizontalAlignment(DefaultListCellRenderer.RIGHT);
+//      dlcr.setHorizontalAlignment(DefaultListCellRenderer.RIGHT);
       list.setCellRenderer(dlcr);
 
       list.addMouseListener(new MouseAdapter()
@@ -518,7 +519,7 @@ public class JalviewFileChooser extends JFileChooser
       }
       else
       {
-        scroller.setPreferredSize(new Dimension(130, 200));
+        scroller.setPreferredSize(new Dimension(530, 200));
       }
 
       this.add(scroller);
index 4612acd..af9dfc1 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
index c5ff19c..35080f0 100644 (file)
Binary files a/swingjs/net.sf.j2s.core.jar and b/swingjs/net.sf.j2s.core.jar differ
index fe7ed5a..81a6aeb 100644 (file)
@@ -1 +1 @@
-20181210013635 
+20181213165944 
index 4612acd..af9dfc1 100644 (file)
Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ
index c5ff19c..35080f0 100644 (file)
Binary files a/swingjs/ver/3.2.4/net.sf.j2s.core.jar and b/swingjs/ver/3.2.4/net.sf.j2s.core.jar differ
index fe7ed5a..81a6aeb 100644 (file)
@@ -1 +1 @@
-20181210013635 
+20181213165944