Commit 726d5c72 authored by ludwig's avatar ludwig
Browse files

editor2 beta added in drop down menu

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@76 0463f305-d864-43cb-8a47-61cf597d4139
parent dff6e73f
......@@ -87,6 +87,7 @@ import javax.xml.parsers.SAXParserFactory;
import ttt.audio.AudioRecorder;
import ttt.connections.TTTConnection;
import ttt.editor.tttEditor.TTTEditor;
import ttt.editor2.editor2;
import ttt.gui.GradientPanel;
import ttt.gui.NumberField;
import ttt.gui.XMLHandler;
......@@ -706,6 +707,27 @@ public class TTT extends JFrame {
menuItem.setMnemonic(KeyEvent.VK_F);
menu2.add(menuItem);
menuItem = new JMenuItem("Open Editor2 Beta");
//Open Editor
menuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
if(enabledNativeLookAndFeel){
try {
UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName());
} catch (Exception e) {
e.printStackTrace();
}
}
editor2.getInstance();
}});
menuItem.setToolTipText("run Editor to edit recorded lectures");
menuItem.setIcon(Constants.getIcon("16x16/configure.png"));
menuItem.setMnemonic(KeyEvent.VK_F);
menu2.add(menuItem);
// ////////////////////////////////////////////////////////////////////////
// Extras
// ////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment