From: hansonr Date: Thu, 13 Dec 2018 23:03:46 +0000 (-0600) Subject: SwingJS 3.2.4.05 should fix JFileChooser synthetic ref issue X-Git-Tag: Release_2_11_4_0~45^2~18^2~353 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=62dfc89f5222d6a6ef827b46484f48846a7af9bf;p=jalview.git SwingJS 3.2.4.05 should fix JFileChooser synthetic ref issue 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 --- diff --git a/libjs/jmol-app.zip b/libjs/jmol-app.zip index 3a70675..23dd0ef 100644 Binary files a/libjs/jmol-app.zip and b/libjs/jmol-app.zip differ diff --git a/src/jalview/io/JalviewFileChooser.java b/src/jalview/io/JalviewFileChooser.java index 6838824..b7eeaab 100755 --- a/src/jalview/io/JalviewFileChooser.java +++ b/src/jalview/io/JalviewFileChooser.java @@ -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 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); diff --git a/swingjs/SwingJS-site.zip b/swingjs/SwingJS-site.zip index 4612acd..af9dfc1 100644 Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ diff --git a/swingjs/net.sf.j2s.core.jar b/swingjs/net.sf.j2s.core.jar index c5ff19c..35080f0 100644 Binary files a/swingjs/net.sf.j2s.core.jar and b/swingjs/net.sf.j2s.core.jar differ diff --git a/swingjs/timestamp b/swingjs/timestamp index fe7ed5a..81a6aeb 100644 --- a/swingjs/timestamp +++ b/swingjs/timestamp @@ -1 +1 @@ -20181210013635 +20181213165944 diff --git a/swingjs/ver/3.2.4/SwingJS-site.zip b/swingjs/ver/3.2.4/SwingJS-site.zip index 4612acd..af9dfc1 100644 Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ diff --git a/swingjs/ver/3.2.4/net.sf.j2s.core.jar b/swingjs/ver/3.2.4/net.sf.j2s.core.jar index c5ff19c..35080f0 100644 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 diff --git a/swingjs/ver/3.2.4/timestamp b/swingjs/ver/3.2.4/timestamp index fe7ed5a..81a6aeb 100644 --- a/swingjs/ver/3.2.4/timestamp +++ b/swingjs/ver/3.2.4/timestamp @@ -1 +1 @@ -20181210013635 +20181213165944