-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from salimkanoun/dev
Dev
- Loading branch information
Showing
4 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/org/petctviewer/orthanc/OTP/standalone/Setup_OTP_Panel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package org.petctviewer.orthanc.OTP.standalone; | ||
|
||
import java.awt.GridLayout; | ||
|
||
import javax.swing.JPanel; | ||
import javax.swing.JTextField; | ||
|
||
public class Setup_OTP_Panel extends JPanel { | ||
|
||
private static final long serialVersionUID = 1L; | ||
JTextField proxyAdress; | ||
JTextField proxyPort; | ||
|
||
public Setup_OTP_Panel() { | ||
super(new GridLayout()); | ||
proxyAdress=new JTextField("10.1.50.1"); | ||
proxyAdress.setColumns(20); | ||
proxyPort=new JTextField("8080"); | ||
proxyPort.setColumns(4); | ||
this.add(proxyAdress); | ||
this.add(proxyPort); | ||
|
||
|
||
|
||
|
||
} | ||
|
||
public String getProxyAdress() { | ||
return proxyAdress.getText(); | ||
} | ||
|
||
public String getProxyPort() { | ||
return proxyPort.getText(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters