1 | void clearGui() {↵ | | 1 | void clearGui() {↵
|
2 | super.clearGui();↵ | | 2 | super.clearGui();↵
|
|
3 | TcpDefaultPanel.clearGui();↵ | | 3 | ftpDefaultPanel.clearGui();↵
|
4 | loginPanel.clearGui();↵ | | 4 | loginPanel.clearGui();↵
|
5 | } ↵ | | 5 | } ↵
|
6 | ↵ | | 6 | ↵
|
7 | public String getLabelResource() {↵ | | 7 | public String getLabelResource() {↵
|
8 | return "tcp_sample_title"; // $NON-NLS-1$↵ | | 8 | return "ftp_testing_title"; // $NON-NLS-1$↵
|
9 | }↵ | | 9 | }↵
|
|
10 | private void init() {↵ | | 10 | private void init() {↵
|
11 | setLayout(new BorderLayout(0, 5));↵ | | 11 | setLayout(new BorderLayout(0, 5));↵
|
12 | setBorder(makeBorder());↵ | | 12 | setBorder(makeBorder());↵
|
|
13 | add(makeTitlePanel(), BorderLayout.NORTH);↵ | | 13 | add(makeTitlePanel(), BorderLayout.NORTH);↵
|
|
14 | VerticalPanel mainPanel = new VerticalPanel();↵ | | 14 | VerticalPanel mainPanel = new VerticalPanel();↵
|
|
15 | TcpDefaultPanel = new TCPConfigGui(false);↵ | | 15 | ftpDefaultPanel = new FtpConfigGui(false);↵
|
16 | mainPanel.add(TcpDefaultPanel);↵ | | 16 | mainPanel.add(ftpDefaultPanel);↵
|
|
17 | loginPanel = new LoginConfigGui(false);↵ | | 17 | loginPanel = new LoginConfigGui(false);↵
|
18 | loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config"))); // $NON-NLS-1$↵ | | 18 | loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config"))); // $NON-NLS-1$↵
|
19 | mainPanel.add(loginPanel);↵ | | 19 | mainPanel.add(loginPanel);↵
|
|
20 | add(mainPanel, BorderLayout.CENTER);↵ | | 20 | add(mainPanel, BorderLayout.CENTER);↵
|
21 | | | 21 |
|