psevestre / lixia-javardp

Automatically exported from code.google.com/p/lixia-javardp
0 stars 0 forks source link

Can we get the -T option back ? #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Can we get the -T option back in RdesktopSwing.java, like:

 578                  //  set the window title if Options.windowTitle  (option: -T) is empty
   579                  if (Options.windowTitle == null || Options.windowTitle == progname) {
   580                          // window.setTitle(server + " - " + window.getTitle());
   581                          window.setTitle(server + " - lixia-javaRDP");
   582                  } else {
   583                          window.setTitle(window.getTitle());
   584                  }

Original issue reported on code.google.com by cetyu...@gmail.com on 5 Mar 2012 at 9:16

GoogleCodeExporter commented 9 years ago
cetyu, can you help me please gkallu@gmail.com, I have one issue which is 
driving me crazy, please help!

I'm using JavaRDP2.0-20101111.jar, however when I press the question mark key, 
a # appears, do you mind sharing your applet where the key works? I'm very new 
to Java. I tried emailing the dev, however no response :(.

I use the following code to call the applet for strictly rdp to servers:

<html>
<head>
<title>ElusivaRDP Applet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script type="text/javascript">
function getResolution() {
    var heights = new Array('480','600','624','640','720','768','800','864','900','960','1024','1050','1080','1152','1200','1280','1392','1400');

    var w = screen.width;
    var h = screen.height;
    var yourRes = w + 'x' + h;

    var hIndex = heights.indexOf('' + h + '');

    if (hIndex < 0) {
        alert('Your resolution is ' + yourRes + ', however the VPN is not setup for it. Please contact the IT department with this information and they will add it. You can continue using the default resolution if you wish.');
    } else {
        var dSize = 0;
        var heightArrayIndex = heights.indexOf('' + h + '');
        var nextArrayIndex = heightArrayIndex - 1;

        while (dSize < 79) {
            var heightSize = heights[heightArrayIndex];
            var newSize = heights[nextArrayIndex];

            dSize = heightSize - newSize;
            nextArrayIndex--;
        }
        document.write('<param name="geometry" value="' + w + 'x' + newSize + '">');
    }
}
</script>

<applet code="com.lixia.rdp.applet.RdpApplet.class"
          codebase="<< CODEBASE >>"
          archive="JavaRDP2.0-20101111.jar"
          width="640"
          height="480"
          name="ElusivaRDP"
          align="top">
  <param name="code" value="com.lixia.rdp.applet.RdpApplet.class">
  <param name="codebase" value="<< CODEBASE >>">
  <param name="archive" value="JavaRDP2.0-20101111.jar">
  <param name="cabbase" value="">
  <param name="name" value="JavaRDP">
<!--  <param name="align" value="top"> -->
  <param name="username" value="<<USER>>">
  <param name="Server" value="<<HOST>>">
  <param name="Port" value="3389">
  <param name="keymap" value="en-us">
  <param name="bpp" value="16">
  <param name="bandwidth" value="modem">
  <script type="text/javascript">getResolution();</script>
</applet>
</body>
</html>

Original comment by gka...@gmail.com on 25 Apr 2012 at 11:15

GoogleCodeExporter commented 9 years ago
I am able to run the code html but I am not able to see the console The applet 
stops somewhere.

Original comment by viky...@gmail.com on 21 Jan 2014 at 8:54