タイニー番組ナビゲータ本体
Revisión | a8f885f84233ae8113cbd8841561bbb53480ac43 (tree) |
---|---|
Tiempo | 2014-03-09 09:11:56 |
Autor | peeweedee <peeweedee@user...> |
Commiter | peeweedee |
・リスト形式の一部の欄の幅変更が保持されない
@@ -2392,7 +2392,8 @@ public abstract class AbsListedView extends JPanel implements TickTimerListener | ||
2392 | 2392 | TableColumn column = jTable_listed.getColumnModel().getColumn(lc.getColumn()); |
2393 | 2393 | if (b) { |
2394 | 2394 | column.setMinWidth(MIN_COLUMN_WIDTH); |
2395 | - column.setPreferredWidth(lc.getIniWidth()); | |
2395 | + Integer w = bounds.getListedColumnSize().get(lc.toString()); | |
2396 | + column.setPreferredWidth(w != null ? w : lc.getIniWidth()); | |
2396 | 2397 | } |
2397 | 2398 | else { |
2398 | 2399 | column.setMinWidth(0); |
@@ -364,11 +364,11 @@ public abstract class AbsReserveListView extends JScrollPane { | ||
364 | 364 | else { |
365 | 365 | for ( Entry<String, Integer> en : rcmap.entrySet() ) { |
366 | 366 | try { |
367 | - bounds.getListedColumnSize().get(en.getKey()); | |
367 | + bounds.getRsvedColumnSize().get(en.getKey()); | |
368 | 368 | } |
369 | 369 | catch (NullPointerException e) { |
370 | 370 | System.err.println(ERRID+en.getKey()+", "+e.toString()); |
371 | - bounds.getListedColumnSize().put(en.getKey(),en.getValue()); | |
371 | + bounds.getRsvedColumnSize().put(en.getKey(),en.getValue()); | |
372 | 372 | } |
373 | 373 | } |
374 | 374 | } |
@@ -5,7 +5,7 @@ import java.util.regex.Pattern; | ||
5 | 5 | |
6 | 6 | |
7 | 7 | public class VersionInfo { |
8 | - private static final String Version = "タイニー番組ナビゲータ 3.22.15β"; | |
8 | + private static final String Version = "タイニー番組ナビゲータ 3.22.16β"; | |
9 | 9 | |
10 | 10 | private static final String OSname = System.getProperty("os.name"); |
11 | 11 | private static final String OSvers = System.getProperty("os.version"); |