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