add(fastforward);
JPanel panel = new JPanel();
- panel.setMaximumSize(new Dimension(100,22));
+ panel.setMaximumSize(new Dimension(120,27));
panel.setLayout(new GridLayout(2,4));
+
add(panel);
panel.add(new JPanel());
- measure = createProjIndLabel("Mrs",10);
+ measure = createProjIndLabel("Mrs", 10);
panel.add(measure);
- beats = createProjIndLabel("Beat",10);
+ beats = createProjIndLabel("Beat", 10);
panel.add(beats);
- ticks = createProjIndLabel("Tick",10);
+ ticks = createProjIndLabel("Tick", 10);
panel.add(ticks);
panel.add(new JPanel());
- measurevalue = createProjIndLabel("1",10);
+ measurevalue = createProjIndLabel("1", 12);
panel.add(measurevalue);
- beatsvalue = createProjIndLabel("1",10);
+ beatsvalue = createProjIndLabel("1",12);
panel.add(beatsvalue);
- ticksvalue = createProjIndLabel("1",10);
+ ticksvalue = createProjIndLabel("1", 12);
panel.add(ticksvalue);
playimage = Toolkit.getDefaultToolkit().getImage("images/play.gif");
* creates JLabels for the progressindikator, attached to the toolbar
* @param title the titel displayed on the label
* @param fontsize the fontzise of the text displayed on the label
- * @param titelvalue the label that is a part of the progressindikator
+ * @param fontstyle the fontstyle of the text displayed on the label
+ * @return titelvalue the label that is a part of the progressindikator
*/
private JLabel createProjIndLabel(String title, int fontsize){
JLabel titelvalue = new JLabel(title,JLabel.CENTER);
titelvalue.setFont(new Font("Times New Roman",
- Font.PLAIN ,fontsize));
+ Font.BOLD ,fontsize));
+ titelvalue.setBorder(BorderFactory.createLineBorder(Color.black));
return titelvalue;
}
-
// int pos = Moosique.getSequencer().getTickPosition();
// int measures = pos / (4 * Moosique.getSequence.get)
// int beats = (pos - measures * 4 * 96) / 96;