1 | JPanel createDurationPanel() {↵ | | 1 | JPanel createStartTimePanel() {↵
|
2 | JPanel panel = new JPanel(new BorderLayout(5, 0));↵ | | 2 | JPanel panel = new JPanel(new BorderLayout(5, 0));↵
|
3 | JLabel label = new JLabel(JMeterUtils.getResString("duration")); // $NON-NLS-1$↵ | | 3 | JLabel label = new JLabel(JMeterUtils.getResString("starttime")); //$NON-NLS-1$↵
|
4 | panel.add(label, BorderLayout.WEST);↵ | | 4 | panel.add(label, BorderLayout.WEST);↵
|
5 | duration = new JTextField();↵ | | 5 | start = new JDateField();↵
|
6 | panel.add(duration, BorderLayout.CENTER);↵ | | 6 | panel.add(start, BorderLayout.CENTER);↵
|
7 | return panel;↵ | | 7 | return panel;↵
|
8 | }↵ | | 8 | }↵
|
|
9 | /**↵ | | 9 | /**↵
|
10 | * Create a panel containing the Duration field and corresponding label.↵ | | 10 | * Create a panel containing the EndTime field and corresponding label.↵
|
11 | * ↵ | | 11 | * ↵
|
12 | * @return a GUI panel containing the Duration field↵ | | 12 | * @return a GUI panel containing the EndTime field↵
|
13 | */↵ | | 13 | */↵
|
14 | private JPanel createDelayPanel() {↵ | | 14 | private JPanel createEndTimePanel() {↵
|
15 | JPanel panel = new JPanel(new BorderLayout(5, 0));↵ | | 15 | JPanel panel = new JPanel(new BorderLayout(5, 0));↵
|
16 | JLabel label = new JLabel(JMeterUtils.getResString("delay")); // $NON-NLS-1$↵ | | 16 | JLabel label = new JLabel(JMeterUtils.getResString("endtime")); // $NON-NLS-1$↵
|
17 | panel.add(label, BorderLayout.WEST);↵ | | 17 | panel.add(label, BorderLayout.WEST);↵
|
18 | delay↵ | | 18 | ↵
|
19 | = new JTextField();↵ | | 19 | end = new JDateField();↵
|
20 | panel.add(delay, BorderLayout.CENTER);↵ | | 20 | panel.add(end, BorderLayout.CENTER);↵
|
21 | return panel;↵ | | 21 | return panel;↵
|
22 | | | 22 |
|