diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer')
-rw-r--r-- | java/com/tigervnc/vncviewer/CConn.java | 6 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/FileUtils.java | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/LICENCE.TXT | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/MANIFEST.MF | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/OptionsDialog.java | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/Parameters.java | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/README | 8 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/ServerDialog.java | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/Viewport.java | 2 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/VncViewer.java | 8 |
10 files changed, 18 insertions, 18 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index 11b6da44..ff22206d 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -113,10 +113,10 @@ public class CConn extends CConnection implements Tunnel.createTunnel(gatewayHost, getServerName(), getServerPort(), localPort); sock = new TcpSocket("localhost", localPort); - vlog.info("connected to localhost port "+localPort); + vlog.info("Connected to localhost port "+localPort); } else { sock = new TcpSocket(getServerName(), getServerPort()); - vlog.info("connected to host "+getServerName()+" port "+getServerPort()); + vlog.info("Connected to host "+getServerName()+" port "+getServerPort()); } } catch (java.lang.Exception e) { throw new Exception(e.getMessage()); @@ -126,7 +126,7 @@ public class CConn extends CConnection implements if (listenMode.getValue()) vlog.info("Accepted connection from " + name); else - vlog.info("connected to host "+Hostname.getHost(name)+" port "+Hostname.getPort(name)); + vlog.info("Connected to host "+Hostname.getHost(name)+" port "+Hostname.getPort(name)); } // See callback below diff --git a/java/com/tigervnc/vncviewer/FileUtils.java b/java/com/tigervnc/vncviewer/FileUtils.java index 6b82d3e2..cb5564be 100644 --- a/java/com/tigervnc/vncviewer/FileUtils.java +++ b/java/com/tigervnc/vncviewer/FileUtils.java @@ -80,7 +80,7 @@ public class FileUtils { return newDir.getPath(); } else { if (legacyDir.exists()) { - vlog.info("WARNING: ~/.vnc is deprecated, please consult 'man vncviewer' for paths to migrate to."); + vlog.info("Warning: ~/.vnc is deprecated, please consult 'man vncviewer' for paths to migrate to."); return legacyDir.getPath(); } String xdgBaseDir = System.getenv(xdgEnv); diff --git a/java/com/tigervnc/vncviewer/LICENCE.TXT b/java/com/tigervnc/vncviewer/LICENCE.TXT index ae3b5319..8aadde97 100644 --- a/java/com/tigervnc/vncviewer/LICENCE.TXT +++ b/java/com/tigervnc/vncviewer/LICENCE.TXT @@ -279,7 +279,7 @@ POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + Appendix: How to apply these terms to your new programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it diff --git a/java/com/tigervnc/vncviewer/MANIFEST.MF b/java/com/tigervnc/vncviewer/MANIFEST.MF index 4ba75f6a..9e282655 100644 --- a/java/com/tigervnc/vncviewer/MANIFEST.MF +++ b/java/com/tigervnc/vncviewer/MANIFEST.MF @@ -1,5 +1,5 @@ Manifest-Version: 1.0 Main-Class: com.tigervnc.vncviewer.VncViewer -Application-Name: TigerVNC Viewer +Application-Name: TigerVNC viewer Permissions: all-permissions Codebase: * diff --git a/java/com/tigervnc/vncviewer/OptionsDialog.java b/java/com/tigervnc/vncviewer/OptionsDialog.java index 2fbd9d9c..927fdf21 100644 --- a/java/com/tigervnc/vncviewer/OptionsDialog.java +++ b/java/com/tigervnc/vncviewer/OptionsDialog.java @@ -175,7 +175,7 @@ class OptionsDialog extends Dialog { @SuppressWarnings({"rawtypes","unchecked"}) public OptionsDialog() { super(true); - setTitle("VNC Viewer Options"); + setTitle("VNC viewer options"); setResizable(false); getContentPane().setLayout( diff --git a/java/com/tigervnc/vncviewer/Parameters.java b/java/com/tigervnc/vncviewer/Parameters.java index 8c8465cb..dd2f1c3e 100644 --- a/java/com/tigervnc/vncviewer/Parameters.java +++ b/java/com/tigervnc/vncviewer/Parameters.java @@ -192,7 +192,7 @@ public class Parameters { "specified from the point of view of the gateway machine, "+ "e.g. \"localhost\" denotes the gateway, "+ "not the machine on which the viewer was launched. "+ - "See the System Properties section below for "+ + "See the System properties section below for "+ "information on configuring the -Via option.", ""); public static BoolParameter tunnel diff --git a/java/com/tigervnc/vncviewer/README b/java/com/tigervnc/vncviewer/README index 5d5ebf90..404b8eb9 100644 --- a/java/com/tigervnc/vncviewer/README +++ b/java/com/tigervnc/vncviewer/README @@ -1,5 +1,5 @@ -TigerVNC Java Viewer +TigerVNC Java viewer ==================== This distribution is based on the standard VNC source and includes new @@ -27,9 +27,9 @@ available. Installation ============ -The TigerVNC Java Viewer requires installation of either a JRE (Java +The TigerVNC Java viewer requires installation of either a JRE (Java Runtime Environment) or a JDK (Java Development Kit). If VncViewer.jar is -in the current directory, then the TigerVNC Java Viewer can be launched +in the current directory, then the TigerVNC Java viewer can be launched with the following command line: java -jar VncViewer.jar [parameters] @@ -41,7 +41,7 @@ optional parameters supported by VncViewer. Parameters ========== -The TigerVNC Java Viewer accepts a number of optional parameters, allowing you +The TigerVNC Java viewer accepts a number of optional parameters, allowing you to customize its behavior. Example: java -jar VncViewer.jar Port=5901 ScalingFactor=50 diff --git a/java/com/tigervnc/vncviewer/ServerDialog.java b/java/com/tigervnc/vncviewer/ServerDialog.java index 5f75fd3d..01f91db2 100644 --- a/java/com/tigervnc/vncviewer/ServerDialog.java +++ b/java/com/tigervnc/vncviewer/ServerDialog.java @@ -47,7 +47,7 @@ class ServerDialog extends Dialog implements Runnable { super(true); this.vncServerName = vncServerName; setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); - setTitle("VNC Viewer: Connection Details"); + setTitle("VNC viewer: Connection details"); setResizable(false); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { diff --git a/java/com/tigervnc/vncviewer/Viewport.java b/java/com/tigervnc/vncviewer/Viewport.java index e12ef2a6..c293cb7d 100644 --- a/java/com/tigervnc/vncviewer/Viewport.java +++ b/java/com/tigervnc/vncviewer/Viewport.java @@ -168,7 +168,7 @@ class Viewport extends JPanel implements ActionListener { if (data[i*4 + 3] != 0) break; if ((i == width*height) && dotWhenNoCursor.getValue()) { - vlog.debug("cursor is empty - using dot"); + vlog.debug("Cursor is empty: Using dot"); cursor = new BufferedImage(5, 5, BufferedImage.TYPE_INT_ARGB_PRE); cursor.setRGB(0, 0, 5, 5, dotcursor_xpm, 0, 5); cursorHotspot.x = cursorHotspot.y = 3; diff --git a/java/com/tigervnc/vncviewer/VncViewer.java b/java/com/tigervnc/vncviewer/VncViewer.java index 067f4eff..4e4364cb 100644 --- a/java/com/tigervnc/vncviewer/VncViewer.java +++ b/java/com/tigervnc/vncviewer/VncViewer.java @@ -61,7 +61,7 @@ import static com.tigervnc.vncviewer.Parameters.*; public class VncViewer implements Runnable { public static final String aboutText = - new String("TigerVNC Java Viewer v%s (%s)%n"+ + new String("TigerVNC Java viewer v%s (%s)%n"+ "Built on %s at %s%n"+ "Copyright (C) 1999-2024 TigerVNC Team and many others (see README.rst)%n"+ "See https://www.tigervnc.org for information on TigerVNC."); @@ -237,7 +237,7 @@ public class VncViewer implements Runnable { Configuration.listParams(79, 14); String propertiesString = ("\n"+ -"System Properties (adapted from the TurboVNC vncviewer man page)\n"+ +"System properties (adapted from the TurboVNC vncviewer man page)\n"+ " When started with the -via option, vncviewer reads the VNC_VIA_CMD\n"+ " System property, expands patterns beginning with the \"%\" character,\n"+ " and uses the resulting command line to establish the secure tunnel\n"+ @@ -359,7 +359,7 @@ public class VncViewer implements Runnable { JOptionPane op = new JOptionPane(msg, JOptionPane.INFORMATION_MESSAGE, JOptionPane.DEFAULT_OPTION, VncViewer.logoIcon, options); - JDialog dlg = op.createDialog(parent, "About TigerVNC Viewer for Java"); + JDialog dlg = op.createDialog(parent, "About TigerVNC viewer for Java"); dlg.setIconImage(VncViewer.frameIcon); dlg.setAlwaysOnTop(true); dlg.setVisible(true); @@ -378,7 +378,7 @@ public class VncViewer implements Runnable { void reportException(java.lang.Exception e) { String title, msg = e.getMessage(); int msgType = JOptionPane.ERROR_MESSAGE; - title = "TigerVNC Viewer : Error"; + title = "TigerVNC viewer : Error"; e.printStackTrace(); JOptionPane.showMessageDialog(null, msg, title, msgType); } |