Mercurial > hg > Members > riono > TreeVNC_ja_comment
comparison src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java @ 512:16f9b37ef43b
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 20 Feb 2019 15:49:28 +0900 |
parents | 3fe7e1a372df |
children |
comparison
equal
deleted
inserted
replaced
511:519d6f94edcc | 512:16f9b37ef43b |
---|---|
62 } else { | 62 } else { |
63 v = new CuiViewer(); | 63 v = new CuiViewer(); |
64 } | 64 } |
65 | 65 |
66 setWidthAndHeight(v); | 66 setWidthAndHeight(v); |
67 v.setUseMulticast(useMulticast); | |
67 // if(filterSingleDisplay) | 68 // if(filterSingleDisplay) |
68 if(fixingSizeDisplay) | 69 if(fixingSizeDisplay) |
69 setFixingSizeDisplay(v); | 70 setFixingSizeDisplay(v); |
70 if (treeProxy) { | 71 if (treeProxy) { |
71 if (hostName != null) { | 72 if (hostName != null) { |
213 public void setWidthAndHeight(ViewerInterface v) { | 214 public void setWidthAndHeight(ViewerInterface v) { |
214 if(width != 0 || height != 0) { | 215 if(width != 0 || height != 0) { |
215 v.setWidth(width); | 216 v.setWidth(width); |
216 v.setHeight(height); | 217 v.setHeight(height); |
217 } | 218 } |
218 if (useMulticast) { | |
219 v.getConnectionPresenter().setMulticast(true); | |
220 } | |
221 } | 219 } |
222 | 220 |
223 public void setFixingSizeDisplay(ViewerInterface v) { | 221 public void setFixingSizeDisplay(ViewerInterface v) { |
224 v.setFixingSize(fixingSizeWidth, fixingSizeHeight); | 222 v.setFixingSize(fixingSizeWidth, fixingSizeHeight); |
225 } | 223 } |