KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.ca.directory.jxplorer.editor;
2
3 import com.ca.commons.cbutil.*;
4
5 import java.awt.*;
6
7
8
9 /**
10  * Class that extends BaseODMediaEditor to basically customise the display with
11  * the title 'odMovieAVI' 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 odmovieavieditor 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 odmovieavieditor(Frame owner)
26     {
27         super(owner);
28         super.setDialogTitle(CBIntText.get("odMovieAVI"));
29         super.setFileName("odMovieAVI");
30         super.setExtension(".avi");
31     }
32 }
Popular Tags