.. | .. |
---|
15 | 15 | |
---|
16 | 16 | public class DateFieldPanel extends JPanel |
---|
17 | 17 | { |
---|
18 | | - TFModel model; |
---|
| 18 | + TimeflowModel model; |
---|
19 | 19 | int numRows; |
---|
20 | 20 | HashMap<String, Integer> numBad=new HashMap<String, Integer>(); |
---|
21 | 21 | private static String[] mappable={VirtualField.START, VirtualField.END}; |
---|
.. | .. |
---|
23 | 23 | FieldMap[] panels=new FieldMap[mappable.length]; |
---|
24 | 24 | JButton submit, cancel; |
---|
25 | 25 | |
---|
26 | | - public DateFieldPanel(TFModel model, boolean hasButtons) |
---|
| 26 | + public DateFieldPanel(TimeflowModel model, boolean hasButtons) |
---|
27 | 27 | { |
---|
28 | 28 | this.model=model; |
---|
29 | 29 | |
---|
.. | .. |
---|
154 | 154 | return new Dimension(400,80+mappable.length*25); |
---|
155 | 155 | } |
---|
156 | 156 | |
---|
157 | | - public static void popWindow(TFModel model) |
---|
| 157 | + public static void popWindow(TimeflowModel model) |
---|
158 | 158 | { |
---|
159 | 159 | final JFrame window=new JFrame("Date Fields"); |
---|
160 | 160 | window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
---|