KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ca > directory > jxplorer > editor > odmusicmideditor


1 package com.ca.directory.jxplorer.editor;
2
3 import com.ca.commons.cbutil.CBIntText;
4
5 import java.awt.*;
6
7
8
9 /**
10  * Class that extends BaseODMediaEditor to basically customise the display with
11  * the title 'odMusicMID' and to add a launch button that when clicked creates
12  * a temp file and tries to launch the file in the default player.
13  * @author Trudi.
14  */

15  
16 public class odmusicmideditor extends baseodmediaeditor
17 {
18
19    /**
20     * Calls the BaseODMediaEditor constructor, sets the dialog title, the file
21     * name and the extension.
22     * @param owner handle to the application frame, used to display dialog boxes.
23     */

24     
25     public odmusicmideditor(Frame owner)
26     {
27         super(owner);
28         super.setDialogTitle(CBIntText.get("odMusicMID"));
29         super.setFileName("odMusicMID");
30         super.setExtension(".mid");
31     }
32 }
Popular Tags