Implement start

This commit is contained in:
Yorick
2015-02-26 12:36:46 +00:00
parent e0b9c991c8
commit e8490956dd
5 changed files with 477 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import java.awt.BorderLayout;
import javax.swing.JPanel;
public class TimelinePanel extends JPanel {
private Timeline timeline;
public TimelinePanel()
{
super(new BorderLayout());
this.setSize(600, 600);
this.setVisible(true);
timeline = new Timeline(this);
this.add(timeline,BorderLayout.CENTER);
this.add(timeline.createWestPanel(), BorderLayout.WEST);
}
public void refresh()
{
timeline.refresh();
}
}