User Activity

  • Modified a comment on discussion Help on SSHTOOLS

    A sensible way to capture the output from shell scripts and write it to a JTextArea in a Swing application using j2ssh would be to use PipedInputStream and PipedOutputStream. Here's a general approach: 1. Create an instance of PipedInputStream and PipedOutputStream: PipedInputStream pipedInput = new PipedInputStream(); PipedOutputStream pipedOutput = new PipedOutputStream(pipedInput); 2. Create a separate thread to read the output from the PipedInputStream and update the JTextArea: Thread outputThread...

  • Modified a comment on discussion Help on SSHTOOLS

    A sensible way to capture the output from shell scripts and write it to a JTextArea in a Swing application using j2ssh would be to use PipedInputStream and PipedOutputStream. Here's a general approach: 1. Create an instance of PipedInputStream and PipedOutputStream: PipedInputStream pipedInput = new PipedInputStream(); PipedOutputStream pipedOutput = new PipedOutputStream(pipedInput); 2. Create a separate thread to read the output from the PipedInputStream and update the JTextArea: Thread outputThread...

  • Posted a comment on discussion Help on SSHTOOLS

    A sensible way to capture the output from shell scripts and write it to a JTextArea in a Swing application using j2ssh would be to use PipedInputStream and PipedOutputStream. Here's a general approach: 1. Create an instance of PipedInputStream and PipedOutputStream: PipedInputStream pipedInput = new PipedInputStream(); PipedOutputStream pipedOutput = new PipedOutputStream(pipedInput); 2. Create a separate thread to read the output from the PipedInputStream and update the JTextArea: Thread outputThread...

View All

Personal Data

Username:
janesamth
Joined:
2023-05-19 18:59:00.540000

Projects

  • No projects to display.

Personal Tools