Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 288:0b61b7214ece
add button images
author | oc |
---|---|
date | Mon, 12 Jan 2015 21:29:41 +0900 |
parents | 61938de1dd06 |
children | bb94d3e567ba |
files | src/main/java/jp/ac/u_ryukyu/treevnc/FindRoot.java src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java src/viewer_swing/resources/com/glavsoft/viewer/images/button-adjust-hd.png src/viewer_swing/resources/com/glavsoft/viewer/images/button-share-sound.png src/viewer_swing/resources/com/glavsoft/viewer/images/button-share.png |
diffstat | 5 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/FindRoot.java Mon Jan 12 16:30:46 2015 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/FindRoot.java Mon Jan 12 21:29:41 2015 +0900 @@ -42,6 +42,7 @@ try { mAddr = InetAddress.getByName(TreeRootFinderListener.McastAddr); soc = new MulticastSocket(); + soc.joinGroup(mAddr); soc.setTimeToLive(1); } catch (IOException e) { e.printStackTrace(); @@ -98,7 +99,7 @@ proxyAddr = is.readLine(); // proxyAddr format // 5999:localhost:localhost:133.13.59.210: - // port:hostnae:hostname:ip address: + // port:hostname:hostname:ip address: // GetBroadCastProxy create this string on VNC root InetAddress adr = socket.getInetAddress(); String proxyAddr1 = adr.getHostName();
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Mon Jan 12 16:30:46 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Mon Jan 12 21:29:41 2015 +0900 @@ -885,7 +885,7 @@ kbdButtons.add(screenButton); - final JButton adjustHdSizeButton = buttonsBar.createButton("adjust-hd-size", "Adjust Hd Size", new ActionListener() { + final JButton adjustHdSizeButton = buttonsBar.createButton("adjust-hd", "Adjust Hd Size", new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // adjustHdSizeButton.setSelected(false);