*/
public MooTrackTitle (Track track) {
setLayout(new GridLayout(4,1));
+ setBorder(BorderFactory.createLineBorder(Color.black));
+ setPreferredSize(new Dimension(202,70));
title = new JTextField(); // JTextField(String text, int columns)
+ title.setFont(Moosique.getGUI().FONT);
title.addFocusListener(new TitleFocusListener());
add(title);
checkboxes.setLayout(new GridLayout(1,3));
channel = new JComboBox();
- channel.setFont(new Font("Helvetica", Font.PLAIN, 10));
+ channel.setFont(Moosique.getGUI().FONT);
for (int i = 1; i <= 16; i++)
channel.addItem(new Integer(i));
channel.addItemListener(new ItemListener(){
mute = new JCheckBox("Mute");
- mute.setFont(new Font("Helvetica", Font.PLAIN, 10));
+ mute.setFont(Moosique.getGUI().FONT);
mute.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
//setMute
checkboxes.add(mute);
solo = new JCheckBox("Solo");
- solo.setFont(new Font("Helvetica", Font.PLAIN, 10));
+ solo.setFont(Moosique.getGUI().FONT);
solo.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
//setSolo
// Update the MidiEvent containing the title of this track
}
}
-}
\ No newline at end of file
+}