Notice
Recent Posts
Recent Comments
Link
Tags
Archives
- Today
- Total
Running Deeper C/C++/Java
I started working on a Java FTP Download Client using the knowledge I gained before, and for now, it seems to be going very smoothly.
I am using an online Java Swing FTP Download Client as a basis.
private void buttonDownloadActionPerformed(ActionEvent event) {String host = fieldHost.getText();int port = Integer.parseInt(fieldPort.getText());String username = fieldUsername.getText();String password = new String(fieldPassword.getPassword());String downloadPath = fieldDownloadPath.getText();String saveDir = filePicker.getSelectedFilePath();progressBar.setValue(0);DownloadTask task = new DownloadTask(host, port, username, password,downloadPath, saveDir, this);task.addPropertyChangeListener(this);task.execute();}Currently, I have a full gui set up, and I am just adding the neccessary functions.
I started working on a Java FTP Download Client using the knowledge I gained before, and for now, it seems to be going very smoothly.
I am using an online Java Swing FTP Download Client as a basis.
private void buttonDownloadActionPerformed(ActionEvent event) {String host = fieldHost.getText();int port = Integer.parseInt(fieldPort.getText());String username = fieldUsername.getText();String password = new String(fieldPassword.getPassword());String downloadPath = fieldDownloadPath.getText();String saveDir = filePicker.getSelectedFilePath();progressBar.setValue(0);DownloadTask task = new DownloadTask(host, port, username, password,downloadPath, saveDir, this);task.addPropertyChangeListener(this);task.execute();}Currently, I have a full gui set up, and I am just adding the neccessary functions.
Comments