1

症状:

  • ドロップダウン リストをクリックすると、その下にあるすべてのオプションのリストが表示されるまでに最大 14 秒かかります
  • 他のすべての UI 要素はインタラクティブです。目に見える遅延はありません
  • sshing しているホストに ping を実行するのに 14 ミリ秒しかかかりません

ドロップダウン リストの応答速度を速くするにはどうすればよいですか?

私が実行したコマンド:

ping <destination host>
PING <destination host> (<destination ip>) 56(84) bytes of data.
64 bytes from <destination host> (<destination ip>): icmp_seq=1 ttl=50 time=16.4 ms


ssh -X <destination host>
java -cp <class path stuff> <class with main method that initializes the UI>

クライアント マシン情報:

ssh -V
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

サーバー マシン情報:

sshd -V
sshd: illegal option -- V
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
usage: sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-c host_cert_file]
        [-f config_file] [-g login_grace_time] [-h host_key_file]
        [-k key_gen_time] [-o option] [-p port] [-u len]

java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
4

1 に答える 1

3

一時的な解決策を見つけました。2 台のモニター (ラップトップと外部モニター) があります。ノートパソコンのモニターを無効にしたところ、スムーズに動作するようになりました。このソリューションは、次の投稿に基づいています: Workaround for Slow Java Swing Menus

于 2014-11-26T04:29:41.527 に答える