jSeparator4.setName("jSeparator4"); // NOI18N
toolBar.add(jSeparator4);
jButton5.setAction(actionMap.get("cut"));
ResourceMap resourceMap = Application.getInstance(SoundCompIDE.class).getContext().getResourceMap(MainFrame.class);
jButton5.setText(resourceMap.getString("actionEditCut.Action.text")); // NOI18N
jButton5.setToolTipText(resourceMap.getString("actionEditCut.Action.shortDescription")); // NOI18N
jButton5.setFocusable(false);
jButton5.setHorizontalTextPosition(SwingConstants.CENTER);
jButton5.setName("jButton5"); // NOI18N
jButton5.setVerticalTextPosition(SwingConstants.BOTTOM);
toolBar.add(jButton5);
jButton6.setAction(actionMap.get("copy"));
jButton6.setText(resourceMap.getString("actionEditCopy.Action.text")); // NOI18N
jButton6.setToolTipText(resourceMap.getString("actionEditCopy.Action.shortDescription")); // NOI18N
jButton6.setFocusable(false);
jButton6.setHorizontalTextPosition(SwingConstants.CENTER);
jButton6.setName("jButton6"); // NOI18N
jButton6.setVerticalTextPosition(SwingConstants.BOTTOM);
toolBar.add(jButton6);
jButton7.setAction(actionMap.get("paste"));
jButton7.setText(resourceMap.getString("actionEditPaste.Action.text")); // NOI18N
jButton7.setToolTipText(resourceMap.getString("actionEditPaste.Action.shortDescription")); // NOI18N
jButton7.setFocusable(false);
jButton7.setHorizontalTextPosition(SwingConstants.CENTER);
jButton7.setName("jButton7"); // NOI18N
jButton7.setVerticalTextPosition(SwingConstants.BOTTOM);
toolBar.add(jButton7);
jButton8.setAction(actionMap.get("delete"));
jButton8.setText(resourceMap.getString("actionEditDelete.Action.text")); // NOI18N
jButton8.setToolTipText(resourceMap.getString("actionEditDelete.Action.shortDescription")); // NOI18N
jButton8.setFocusable(false);
jButton8.setHorizontalTextPosition(SwingConstants.CENTER);
jButton8.setName("jButton8"); // NOI18N
jButton8.setVerticalTextPosition(SwingConstants.BOTTOM);
toolBar.add(jButton8);
jSeparator11.setName("jSeparator11"); // NOI18N
toolBar.add(jSeparator11);
jButton11.setAction(actionMap.get("actionEditFind")); // NOI18N
jButton11.setFocusable(false);
jButton11.setHorizontalTextPosition(SwingConstants.CENTER);
jButton11.setName("jButton11"); // NOI18N
jButton11.setVerticalTextPosition(SwingConstants.BOTTOM);
toolBar.add(jButton11);
mainPanel.add(toolBar, BorderLayout.NORTH);
mainTabbedPane.setName("mainTabbedPane"); // NOI18N
mainPanel.add(mainTabbedPane, BorderLayout.CENTER);
menuBar.setName("menuBar"); // NOI18N
fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N
fileMenu.setName("fileMenu"); // NOI18N
fileNewMenuItem.setAction(actionMap.get("actionFileNew")); // NOI18N
fileNewMenuItem.setName("fileNewMenuItem"); // NOI18N
fileMenu.add(fileNewMenuItem);
fileOpenMenuItem.setAction(actionMap.get("actionFileOpen")); // NOI18N
fileOpenMenuItem.setName("fileOpenMenuItem"); // NOI18N
fileMenu.add(fileOpenMenuItem);
fileOpenRecentMenu.setText(resourceMap.getString("fileOpenRecentMenu.text")); // NOI18N
fileOpenRecentMenu.setToolTipText(resourceMap.getString("fileOpenRecentMenu.toolTipText")); // NOI18N
fileOpenRecentMenu.setEnabled(false);
fileOpenRecentMenu.setName("fileOpenRecentMenu"); // NOI18N
fileMenu.add(fileOpenRecentMenu);
fileSaveMenuItem.setAction(actionMap.get("actionFileSave")); // NOI18N
fileSaveMenuItem.setName("fileSaveMenuItem"); // NOI18N
fileMenu.add(fileSaveMenuItem);
fileSaveAsMenuItem.setAction(actionMap.get("actionFileSaveAs")); // NOI18N
fileSaveAsMenuItem.setName("fileSaveAsMenuItem"); // NOI18N
fileMenu.add(fileSaveAsMenuItem);
jSeparator9.setName("jSeparator9"); // NOI18N
fileMenu.add(jSeparator9);
filePrintMenuItem.setAction(actionMap.get("actionFilePrint")); // NOI18N
filePrintMenuItem.setName("filePrintMenuItem"); // NOI18N
fileMenu.add(filePrintMenuItem);
jSeparator12.setName("jSeparator12"); // NOI18N
fileMenu.add(jSeparator12);
exitMenuItem.setAction(actionMap.get("quit")); // NOI18N
exitMenuItem.setName("exitMenuItem"); // NOI18N
fileMenu.add(exitMenuItem);
menuBar.add(fileMenu);
editMenu.setText(resourceMap.getString("editMenu.text")); // NOI18N
editMenu.setName("editMenu"); // NOI18N
editMenu.setRolloverEnabled(true);
editUndoMenuItem.setAction(actionMap.get("actionEditUndo")); // NOI18N
editUndoMenuItem.setName("editUndoMenuItem"); // NOI18N
editMenu.add(editUndoMenuItem);
editRedoMenuItem.setAction(actionMap.get("actionEditRedo")); // NOI18N
editRedoMenuItem.setName("editRedoMenuItem"); // NOI18N
editMenu.add(editRedoMenuItem);
jSeparator2.setName("jSeparator2"); // NOI18N
editMenu.add(jSeparator2);
editCutMenuItem.setAction(actionMap.get("cut"));
editCutMenuItem.setText(resourceMap.getString("actionEditCut.Action.text")); // NOI18N
editCutMenuItem.setToolTipText(resourceMap.getString("actionEditCut.Action.shortDescription")); // NOI18N
editCutMenuItem.setEnabled(false);
editCutMenuItem.setName("editCutMenuItem"); // NOI18N
editMenu.add(editCutMenuItem);
editCopyMenuItem.setAction(actionMap.get("copy"));
editCopyMenuItem.setText(resourceMap.getString("actionEditCopy.Action.text")); // NOI18N
editCopyMenuItem.setToolTipText(resourceMap.getString("actionEditCopy.Action.shortDescription")); // NOI18N
editCopyMenuItem.setEnabled(false);
editCopyMenuItem.setName("editCopyMenuItem"); // NOI18N
editMenu.add(editCopyMenuItem);
editPasteMenuItem.setAction(actionMap.get("paste"));
editPasteMenuItem.setText(resourceMap.getString("actionEditPaste.Action.text")); // NOI18N
editPasteMenuItem.setToolTipText(resourceMap.getString("actionEditPaste.Action.shortDescription")); // NOI18N
editPasteMenuItem.setEnabled(false);
editPasteMenuItem.setName("editPasteMenuItem"); // NOI18N
editMenu.add(editPasteMenuItem);
editDeleteMenuItem.setAction(actionMap.get("delete"));
editDeleteMenuItem.setText(resourceMap.getString("actionEditDelete.Action.text")); // NOI18N
editDeleteMenuItem.setToolTipText(resourceMap.getString("actionEditDelete.Action.shortDescription")); // NOI18N
editDeleteMenuItem.setEnabled(false);
editDeleteMenuItem.setName("editDeleteMenuItem"); // NOI18N
editMenu.add(editDeleteMenuItem);
editSelectAllMenuItem.setAction(actionMap.get("actionEditSelectAll")); // NOI18N
editSelectAllMenuItem.setName("editSelectAllMenuItem"); // NOI18N
editMenu.add(editSelectAllMenuItem);
jSeparator7.setName("jSeparator7"); // NOI18N
editMenu.add(jSeparator7);
editGotoMenuItem.setAction(actionMap.get("actionEditGoto")); // NOI18N
editGotoMenuItem.setName("editGotoMenuItem"); // NOI18N
editMenu.add(editGotoMenuItem);
jSeparator8.setName("jSeparator8"); // NOI18N
editMenu.add(jSeparator8);
editFindMenuItem.setAction(actionMap.get("actionEditFind")); // NOI18N
editFindMenuItem.setName("editFindMenuItem"); // NOI18N
editMenu.add(editFindMenuItem);
editFindAgainMenuItem.setAction(actionMap.get("actionFindAgain")); // NOI18N
editFindAgainMenuItem.setName("editFindAgainMenuItem"); // NOI18N
editMenu.add(editFindAgainMenuItem);
editFindReplaceMenuItem.setAction(actionMap.get("actionEditReplace")); // NOI18N
editFindReplaceMenuItem.setName("editFindReplaceMenuItem"); // NOI18N
editMenu.add(editFindReplaceMenuItem);
menuBar.add(editMenu);
viewMenu.setText(resourceMap.getString("viewMenu.text")); // NOI18N
viewToolBarCheckBoxMenuItem.setAction(actionMap.get("actionViewToolbar")); // NOI18N
viewToolBarCheckBoxMenuItem.setSelected(true);
viewToolBarCheckBoxMenuItem.setName("viewToolBarCheckBoxMenuItem"); // NOI18N
viewMenu.add(viewToolBarCheckBoxMenuItem);
viewCaptionsCheckBoxMenuItem.setAction(actionMap.get("actionViewCaptions")); // NOI18N
viewCaptionsCheckBoxMenuItem.setSelected(true);
viewCaptionsCheckBoxMenuItem.setName("viewCaptionsCheckBoxMenuItem"); // NOI18N
viewMenu.add(viewCaptionsCheckBoxMenuItem);
viewStatusBarCheckBoxMenuItem.setAction(actionMap.get("actionViewStatusBar")); // NOI18N
viewStatusBarCheckBoxMenuItem.setSelected(true);
viewStatusBarCheckBoxMenuItem.setName("viewStatusBarCheckBoxMenuItem"); // NOI18N
viewMenu.add(viewStatusBarCheckBoxMenuItem);
jSeparator6.setName("jSeparator6"); // NOI18N
viewMenu.add(jSeparator6);
viewWordWrapCheckBoxMenuItem.setText(resourceMap.getString("viewWordWrapCheckBoxMenuItem.text")); // NOI18N
viewWordWrapCheckBoxMenuItem.setToolTipText(resourceMap.getString("viewWordWrapCheckBoxMenuItem.toolTipText")); // NOI18N
viewWordWrapCheckBoxMenuItem.setName("viewWordWrapCheckBoxMenuItem"); // NOI18N
viewWordWrapCheckBoxMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
viewWordWrapCheckBoxMenuItemActionPerformed(evt);
}
});
viewMenu.add(viewWordWrapCheckBoxMenuItem);
jSeparator16.setName("jSeparator16"); // NOI18N
viewMenu.add(jSeparator16);
viewDrawModeMenu.setText(resourceMap.getString("viewDrawModeMenu.text")); // NOI18N
viewDrawModeMenu.setName("viewDrawModeMenu"); // NOI18N
viewDrawModeDotsMenuItem.setAction(actionMap.get("actionDrawModeDots")); // NOI18N
drawModeButtonGroup.add(viewDrawModeDotsMenuItem);
viewDrawModeDotsMenuItem.setName("viewDrawModeDotsMenuItem"); // NOI18N
viewDrawModeMenu.add(viewDrawModeDotsMenuItem);
viewDrawModeLinesMenuItem.setAction(actionMap.get("actionDrawModeLines")); // NOI18N
drawModeButtonGroup.add(viewDrawModeLinesMenuItem);
viewDrawModeLinesMenuItem.setSelected(true);
viewDrawModeLinesMenuItem.setName("viewDrawModeLinesMenuItem"); // NOI18N
viewDrawModeMenu.add(viewDrawModeLinesMenuItem);
viewDrawModeIntegralMenuItem.setAction(actionMap.get("actionDrawModeIntegral")); // NOI18N
drawModeButtonGroup.add(viewDrawModeIntegralMenuItem);
viewDrawModeIntegralMenuItem.setName("viewDrawModeIntegralMenuItem"); // NOI18N
viewDrawModeMenu.add(viewDrawModeIntegralMenuItem);
viewMenu.add(viewDrawModeMenu);
viewZoomMenu.setText(resourceMap.getString("viewZoomMenu.text")); // NOI18N
viewZoomMenu.setEnabled(false);
viewZoomMenu.setName("viewZoomMenu"); // NOI18N
viewZoom25MenuItem.setAction(actionMap.get("viewZoom25")); // NOI18N
zoomButtonGroup.add(viewZoom25MenuItem);
viewZoom25MenuItem.setName("viewZoom25MenuItem"); // NOI18N
viewZoomMenu.add(viewZoom25MenuItem);
viewZoom50MenuItem.setAction(actionMap.get("viewZoom50")); // NOI18N
zoomButtonGroup.add(viewZoom50MenuItem);
viewZoom50MenuItem.setName("viewZoom50MenuItem"); // NOI18N
viewZoomMenu.add(viewZoom50MenuItem);
viewZoom100MenuItem.setAction(actionMap.get("viewZoom100")); // NOI18N
zoomButtonGroup.add(viewZoom100MenuItem);
viewZoom100MenuItem.setSelected(true);
viewZoom100MenuItem.setName("viewZoom100MenuItem"); // NOI18N
viewZoomMenu.add(viewZoom100MenuItem);
viewZoom200MenuItem.setAction(actionMap.get("viewZoom200")); // NOI18N
zoomButtonGroup.add(viewZoom200MenuItem);
viewZoom200MenuItem.setName("viewZoom200MenuItem"); // NOI18N
viewZoomMenu.add(viewZoom200MenuItem);
viewZoom400MenuItem.setAction(actionMap.get("viewZoom400")); // NOI18N
zoomButtonGroup.add(viewZoom400MenuItem);
viewZoom400MenuItem.setName("viewZoom400MenuItem"); // NOI18N
viewZoomMenu.add(viewZoom400MenuItem);
viewMenu.add(viewZoomMenu);
menuBar.add(viewMenu);
audioMenu.setText(resourceMap.getString("audioMenu.text")); // NOI18N
audioMenu.setName("audioMenu"); // NOI18N
jMenuItem2.setAction(actionMap.get("actionPlayerPlay")); // NOI18N
jMenuItem2.setName("jMenuItem2"); // NOI18N
audioMenu.add(jMenuItem2);
jMenuItem3.setAction(actionMap.get("actionPlayerPause")); // NOI18N
jMenuItem3.setName("jMenuItem3"); // NOI18N
audioMenu.add(jMenuItem3);
jMenuItem4.setAction(actionMap.get("actionPlayerStop")); // NOI18N
jMenuItem4.setName("jMenuItem4"); // NOI18N
audioMenu.add(jMenuItem4);
jSeparator17.setName("jSeparator17"); // NOI18N
audioMenu.add(jSeparator17);
audioResizeMenuItem.setAction(actionMap.get("pictResizeAction")); // NOI18N
audioResizeMenuItem.setName("audioResizeMenuItem"); // NOI18N
audioMenu.add(audioResizeMenuItem);
audioToolMenu.setText(resourceMap.getString("audioToolMenu.text")); // NOI18N
audioToolMenu.setName("audioToolMenu"); // NOI18N
toolSelectionMenuItem.setAction(actionMap.get("actionToolsSelection")); // NOI18N
toolSelectionMenuItem.setSelected(true);
toolSelectionMenuItem.setName("toolSelectionMenuItem"); // NOI18N
audioToolMenu.add(toolSelectionMenuItem);
toolPencilMenuItem.setAction(actionMap.get("actionToolPencil")); // NOI18N
toolPencilMenuItem.setName("toolPencilMenuItem"); // NOI18N
audioToolMenu.add(toolPencilMenuItem);
audioMenu.add(audioToolMenu);
audioTransformMenu.setText(resourceMap.getString("audioTransformMenu.text")); // NOI18N
audioTransformMenu.setEnabled(false);
audioTransformMenu.setName("audioTransformMenu"); // NOI18N
audioTransformMirrorMenuItem.setAction(actionMap.get("pictRotateMirror")); // NOI18N
audioTransformMirrorMenuItem.setName("audioTransformMirrorMenuItem"); // NOI18N
audioTransformMenu.add(audioTransformMirrorMenuItem);
audioMenu.add(audioTransformMenu);
menuBar.add(audioMenu);
optionMenu.setText(resourceMap.getString("optionMenu.text")); // NOI18N
optionMenu.setName("optionMenu"); // NOI18N
setFontMenuItem.setText(resourceMap.getString("setFontMenuItem.text")); // NOI18N
setFontMenuItem.setToolTipText(resourceMap.getString("setFontMenuItem.toolTipText")); // NOI18N
setFontMenuItem.setName("setFontMenuItem"); // NOI18N
setFontMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
setFontMenuItemActionPerformed(evt);
}
});
optionMenu.add(setFontMenuItem);
setColorsMenuItem.setText(resourceMap.getString("setColorsMenuItem.text")); // NOI18N
setColorsMenuItem.setToolTipText(resourceMap.getString("setColorsMenuItem.toolTipText")); // NOI18N
setColorsMenuItem.setName("setColorsMenuItem"); // NOI18N
setColorsMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
setColorsMenuItemActionPerformed(evt);
}
});
optionMenu.add(setColorsMenuItem);
jSeparator3.setName("jSeparator3"); // NOI18N
optionMenu.add(jSeparator3);
toolsOptionsMenuItem.setAction(actionMap.get("actionToolsOptions")); // NOI18N
toolsOptionsMenuItem.setName("toolsOptionsMenuItem"); // NOI18N
optionMenu.add(toolsOptionsMenuItem);
menuBar.add(optionMenu);
helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N
helpMenu.setName("helpMenu"); // NOI18N
helpContextMenuItem.setAction(actionMap.get("actionHelpContext")); // NOI18N
helpContextMenuItem.setName("helpContextMenuItem"); // NOI18N
helpMenu.add(helpContextMenuItem);
helpOnlineMenuItem.setAction(actionMap.get("actionHelpOnline")); // NOI18N
helpOnlineMenuItem.setName("helpOnlineMenuItem"); // NOI18N
helpMenu.add(helpOnlineMenuItem);
jSeparator1.setName("jSeparator1"); // NOI18N
helpMenu.add(jSeparator1);
aboutMenuItem.setAction(actionMap.get("actionHelpAbout")); // NOI18N
aboutMenuItem.setName("aboutMenuItem"); // NOI18N
helpMenu.add(aboutMenuItem);
menuBar.add(helpMenu);
JMenuItem[] menuItems = { aboutMenuItem, fileOpenMenuItem, fileSaveAsMenuItem, toolsOptionsMenuItem, filePrintMenuItem, editFindMenuItem, editFindReplaceMenuItem, editGotoMenuItem, audioResizeMenuItem, setColorsMenuItem, setFontMenuItem, helpContextMenuItem, helpOnlineMenuItem };
for (JMenuItem item : menuItems) {
item.setText(item.getText()+DIALOG_MENU_SUFIX);
}
statusBar.setName("statusBar"); // NOI18N
statusBar.setLayout(new BorderLayout());
statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N
statusBar.add(statusPanelSeparator, BorderLayout.NORTH);
statusPanel.setName("statusPanel"); // NOI18N
statusPanel.setPreferredSize(new Dimension(649, 26));
statusPanel.setRequestFocusEnabled(false);
statusPanel.setLayout(new CardLayout());
emptyStatusPanel.setName("emptyStatusPanel"); // NOI18N
GroupLayout emptyStatusPanelLayout = new GroupLayout(emptyStatusPanel);
emptyStatusPanel.setLayout(emptyStatusPanelLayout);
emptyStatusPanelLayout.setHorizontalGroup(
emptyStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGap(0, 640, Short.MAX_VALUE)
);
emptyStatusPanelLayout.setVerticalGroup(
emptyStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGap(0, 26, Short.MAX_VALUE)
);
statusPanel.add(emptyStatusPanel, "default");
mainStatusPanel.setName("mainStatusPanel"); // NOI18N
mainStatusPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
statusLabel.setName("statusLabel"); // NOI18N
mainStatusPanel.add(statusLabel);
statusPanel.add(mainStatusPanel, "main");
progressStatusPanel.setName("progressStatusPanel"); // NOI18N
jProgressBar1.setIndeterminate(true);
jProgressBar1.setMinimumSize(new Dimension(10, 10));
jProgressBar1.setName("jProgressBar1"); // NOI18N
jProgressBar1.setRequestFocusEnabled(false);
jProgressBar1.setStringPainted(true);
jButton4.setText(resourceMap.getString("jButton4.text")); // NOI18N
jButton4.setEnabled(false);
jButton4.setMinimumSize(new Dimension(67, 15));
jButton4.setName("jButton4"); // NOI18N
jButton4.setPreferredSize(new Dimension(75, 20));
GroupLayout progressStatusPanelLayout = new GroupLayout(progressStatusPanel);
progressStatusPanel.setLayout(progressStatusPanelLayout);
progressStatusPanelLayout.setHorizontalGroup(
progressStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(Alignment.TRAILING, progressStatusPanelLayout.createSequentialGroup()
.addComponent(jProgressBar1, GroupLayout.DEFAULT_SIZE, 559, Short.MAX_VALUE)
.addPreferredGap(ComponentPlacement.RELATED)
.addComponent(jButton4, GroupLayout.PREFERRED_SIZE, 75, GroupLayout.PREFERRED_SIZE))
);
progressStatusPanelLayout.setVerticalGroup(
progressStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(progressStatusPanelLayout.createParallelGroup(Alignment.BASELINE)
.addComponent(jButton4, GroupLayout.DEFAULT_SIZE, 26, Short.MAX_VALUE)
.addComponent(jProgressBar1, GroupLayout.DEFAULT_SIZE, 26, Short.MAX_VALUE))
);
statusPanel.add(progressStatusPanel, "initCat");
busyStatusPanel.setName("busyStatusPanel"); // NOI18N
jProgressBar2.setIndeterminate(true);
jProgressBar2.setName("jProgressBar2"); // NOI18N
jProgressBar2.setRequestFocusEnabled(false);
jProgressBar2.setStringPainted(true);
GroupLayout busyStatusPanelLayout = new GroupLayout(busyStatusPanel);
busyStatusPanel.setLayout(busyStatusPanelLayout);
busyStatusPanelLayout.setHorizontalGroup(
busyStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addComponent(jProgressBar2, GroupLayout.DEFAULT_SIZE, 640, Short.MAX_VALUE)
);
busyStatusPanelLayout.setVerticalGroup(
busyStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addComponent(jProgressBar2, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 26, Short.MAX_VALUE)
);
statusPanel.add(busyStatusPanel, "busy");
textEditorStatusPanel.setName("textEditorStatusPanel"); // NOI18N
cursorPositionTextField.setEditable(false);
cursorPositionTextField.setHorizontalAlignment(JTextField.CENTER);
cursorPositionTextField.setText("1:1"); // NOI18N
cursorPositionTextField.setToolTipText(resourceMap.getString("cursorPositionTextField.toolTipText")); // NOI18N
cursorPositionTextField.setName("cursorPositionTextField"); // NOI18N
encodingLabel.setName("encodingLabel"); // NOI18N
encodingTextField.setEditable(false);
encodingTextField.setHorizontalAlignment(JTextField.CENTER);
encodingTextField.setText("UTF-8"); // NOI18N
encodingTextField.setToolTipText(resourceMap.getString("encodingTextField.toolTipText")); // NOI18N
encodingTextField.setName("encodingTextField"); // NOI18N
GroupLayout textEditorStatusPanelLayout = new GroupLayout(textEditorStatusPanel);
textEditorStatusPanel.setLayout(textEditorStatusPanelLayout);
textEditorStatusPanelLayout.setHorizontalGroup(
textEditorStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(textEditorStatusPanelLayout.createSequentialGroup()
.addComponent(cursorPositionTextField, GroupLayout.PREFERRED_SIZE, 96, GroupLayout.PREFERRED_SIZE)
.addPreferredGap(ComponentPlacement.RELATED, 427, Short.MAX_VALUE)
.addComponent(encodingLabel)
.addPreferredGap(ComponentPlacement.RELATED)
.addComponent(encodingTextField, GroupLayout.PREFERRED_SIZE, 93, GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
textEditorStatusPanelLayout.setVerticalGroup(
textEditorStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(textEditorStatusPanelLayout.createParallelGroup(Alignment.BASELINE)
.addComponent(cursorPositionTextField, GroupLayout.DEFAULT_SIZE, 26, Short.MAX_VALUE)
.addComponent(encodingTextField, GroupLayout.PREFERRED_SIZE, 22, GroupLayout.PREFERRED_SIZE)
.addComponent(encodingLabel))
);
statusPanel.add(textEditorStatusPanel, "Source");
audioStatusPanel.setName("audioStatusPanel"); // NOI18N
currentPositionTextField.setEditable(false);
currentPositionTextField.setHorizontalAlignment(JTextField.CENTER);
currentPositionTextField.setText("0:00.00"); // NOI18N
currentPositionTextField.setToolTipText(resourceMap.getString("currentPositionTextField.toolTipText")); // NOI18N
currentPositionTextField.setName("currentPositionTextField"); // NOI18N
playerControlToolBar.setFloatable(false);
playerControlToolBar.setRollover(true);
playerControlToolBar.setName("playerControlToolBar"); // NOI18N
jButton12.setAction(actionMap.get("actionPlayerPlay")); // NOI18N
jButton12.setText(resourceMap.getString("jButton12.text")); // NOI18N
jButton12.setFocusable(false);
jButton12.setHorizontalTextPosition(SwingConstants.CENTER);
jButton12.setName("jButton12"); // NOI18N
jButton12.setVerticalTextPosition(SwingConstants.BOTTOM);
playerControlToolBar.add(jButton12);
GroupLayout audioStatusPanelLayout = new GroupLayout(audioStatusPanel);
audioStatusPanel.setLayout(audioStatusPanelLayout);
audioStatusPanelLayout.setHorizontalGroup(
audioStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(audioStatusPanelLayout.createSequentialGroup()
.addContainerGap()
.addComponent(playerControlToolBar, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
.addGap(31, 31, 31)
.addComponent(currentPositionTextField, GroupLayout.PREFERRED_SIZE, 96, GroupLayout.PREFERRED_SIZE)
.addContainerGap(469, Short.MAX_VALUE))
);
audioStatusPanelLayout.setVerticalGroup(
audioStatusPanelLayout.createParallelGroup(Alignment.LEADING)
.addComponent(currentPositionTextField, GroupLayout.DEFAULT_SIZE, 26, Short.MAX_VALUE)
.addComponent(playerControlToolBar, GroupLayout.PREFERRED_SIZE, 26, Short.MAX_VALUE)
);
statusPanel.add(audioStatusPanel, "Wave");
statusBar.add(statusPanel, BorderLayout.CENTER);
StatusIconsPanel.setName("StatusIconsPanel"); // NOI18N
GroupLayout StatusIconsPanelLayout = new GroupLayout(StatusIconsPanel);
StatusIconsPanel.setLayout(StatusIconsPanelLayout);
StatusIconsPanelLayout.setHorizontalGroup(
StatusIconsPanelLayout.createParallelGroup(Alignment.LEADING)
.addGap(0, 16, Short.MAX_VALUE)
);
StatusIconsPanelLayout.setVerticalGroup(
StatusIconsPanelLayout.createParallelGroup(Alignment.LEADING)
.addGap(0, 26, Short.MAX_VALUE)
);
statusBar.add(StatusIconsPanel, BorderLayout.EAST);
mainPopupMenu.setName("mainPopupMenu"); // NOI18N
popupItemOpenMenuItem.setAction(actionMap.get("actionItemOpen")); // NOI18N
popupItemOpenMenuItem.setName("popupItemOpenMenuItem"); // NOI18N
mainPopupMenu.add(popupItemOpenMenuItem);
popupItemAddMenuItem.setAction(actionMap.get("actionItemAdd")); // NOI18N
popupItemAddMenuItem.setName("popupItemAddMenuItem"); // NOI18N
mainPopupMenu.add(popupItemAddMenuItem);
popupItemModifyMenuItem.setAction(actionMap.get("actionItemModify")); // NOI18N
popupItemModifyMenuItem.setName("popupItemModifyMenuItem"); // NOI18N
mainPopupMenu.add(popupItemModifyMenuItem);
jSeparator14.setName("jSeparator14"); // NOI18N
mainPopupMenu.add(jSeparator14);
popupUndoMenuItem.setAction(actionMap.get("actionEditUndo")); // NOI18N
popupUndoMenuItem.setName("popupUndoMenuItem"); // NOI18N
mainPopupMenu.add(popupUndoMenuItem);
popupRedoMenuItem.setAction(actionMap.get("actionEditRedo")); // NOI18N
popupRedoMenuItem.setName("popupRedoMenuItem"); // NOI18N
mainPopupMenu.add(popupRedoMenuItem);
jSeparator10.setName("jSeparator10"); // NOI18N
mainPopupMenu.add(jSeparator10);
popupCutMenuItem.setAction(actionMap.get("cut"));
popupCutMenuItem.setName("popupCutMenuItem"); // NOI18N
mainPopupMenu.add(popupCutMenuItem);
popupCopyMenuItem.setAction(actionMap.get("copy"));
popupCopyMenuItem.setName("popupCopyMenuItem"); // NOI18N
mainPopupMenu.add(popupCopyMenuItem);
popupPasteMenuItem.setAction(actionMap.get("paste"));
popupPasteMenuItem.setName("popupPasteMenuItem"); // NOI18N
mainPopupMenu.add(popupPasteMenuItem);
popupDeleteMenuItem.setAction(actionMap.get("delete"));
popupDeleteMenuItem.setName("popupDeleteMenuItem"); // NOI18N
mainPopupMenu.add(popupDeleteMenuItem);
JMenuItem[] popupItems = { };
for (JMenuItem item : popupItems) {
item.setText(item.getText()+DIALOG_MENU_SUFIX);
}
toolMenu.setText(resourceMap.getString("toolMenu.text")); // NOI18N
toolMenu.setName("toolMenu"); // NOI18N
graphPopupMenu.setName("graphPopupMenu"); // NOI18N
popupAddNodeMenuItem.setAction(actionMap.get("actionGraphAddNode")); // NOI18N
popupAddNodeMenuItem.setName("popupAddNodeMenuItem"); // NOI18N
graphPopupMenu.add(popupAddNodeMenuItem);
popupRemoveNodeMenuItem.setAction(actionMap.get("actionGraphRemoveNode")); // NOI18N
popupRemoveNodeMenuItem.setName("popupRemoveNodeMenuItem"); // NOI18N
graphPopupMenu.add(popupRemoveNodeMenuItem);
sourcePopupMenu.setName("sourcePopupMenu"); // NOI18N
jMenuItem15.setAction(actionMap.get("actionEditUndo")); // NOI18N
jMenuItem15.setName("jMenuItem15"); // NOI18N
sourcePopupMenu.add(jMenuItem15);
jMenuItem16.setAction(actionMap.get("actionEditRedo")); // NOI18N
jMenuItem16.setName("jMenuItem16"); // NOI18N
sourcePopupMenu.add(jMenuItem16);
jSeparator13.setName("jSeparator13"); // NOI18N
sourcePopupMenu.add(jSeparator13);
jMenuItem7.setAction(actionMap.get("cut"));
jMenuItem7.setName("jMenuItem7"); // NOI18N
sourcePopupMenu.add(jMenuItem7);
jMenuItem8.setAction(actionMap.get("copy"));
jMenuItem8.setName("jMenuItem8"); // NOI18N
sourcePopupMenu.add(jMenuItem8);
jMenuItem9.setAction(actionMap.get("paste"));
jMenuItem9.setName("jMenuItem9"); // NOI18N
sourcePopupMenu.add(jMenuItem9);
jMenuItem10.setAction(actionMap.get("delete"));
jMenuItem10.setName("jMenuItem10"); // NOI18N
sourcePopupMenu.add(jMenuItem10);
jSeparator15.setName("jSeparator15"); // NOI18N
sourcePopupMenu.add(jSeparator15);
jMenuItem1.setAction(actionMap.get("actionEditSelectAll")); // NOI18N
jMenuItem1.setName("jMenuItem1"); // NOI18N
sourcePopupMenu.add(jMenuItem1);
audioPopupMenu.setName("audioPopupMenu"); // NOI18N
jMenuItem17.setAction(actionMap.get("actionEditUndo")); // NOI18N
jMenuItem17.setName("jMenuItem17"); // NOI18N
audioPopupMenu.add(jMenuItem17);
jMenuItem18.setAction(actionMap.get("actionEditRedo")); // NOI18N
jMenuItem18.setName("jMenuItem18"); // NOI18N
audioPopupMenu.add(jMenuItem18);
jSeparator18.setName("jSeparator18"); // NOI18N
audioPopupMenu.add(jSeparator18);
jMenuItem11.setAction(actionMap.get("cut"));
jMenuItem11.setText(resourceMap.getString("jMenuItem11.text")); // NOI18N
jMenuItem11.setToolTipText(resourceMap.getString("jMenuItem11.toolTipText")); // NOI18N
jMenuItem11.setName("jMenuItem11"); // NOI18N
audioPopupMenu.add(jMenuItem11);
jMenuItem12.setAction(actionMap.get("copy"));
jMenuItem12.setText(resourceMap.getString("jMenuItem12.text")); // NOI18N
jMenuItem12.setToolTipText(resourceMap.getString("jMenuItem12.toolTipText")); // NOI18N
jMenuItem12.setName("jMenuItem12"); // NOI18N
audioPopupMenu.add(jMenuItem12);
jMenuItem13.setAction(actionMap.get("paste"));
jMenuItem13.setText(resourceMap.getString("jMenuItem13.text")); // NOI18N
jMenuItem13.setToolTipText(resourceMap.getString("jMenuItem13.toolTipText")); // NOI18N
jMenuItem13.setName("jMenuItem13"); // NOI18N
audioPopupMenu.add(jMenuItem13);
jMenuItem14.setAction(actionMap.get("delete"));
jMenuItem14.setText(resourceMap.getString("jMenuItem14.text")); // NOI18N
jMenuItem14.setToolTipText(resourceMap.getString("jMenuItem14.toolTipText")); // NOI18N
jMenuItem14.setName("jMenuItem14"); // NOI18N
audioPopupMenu.add(jMenuItem14);
jSeparator19.setName("jSeparator19"); // NOI18N
audioPopupMenu.add(jSeparator19);
jMenuItem5.setAction(actionMap.get("actionEditSelectAll")); // NOI18N
jMenuItem5.setName("jMenuItem5"); // NOI18N
audioPopupMenu.add(jMenuItem5);
popupviewDrawModeMenu.setText(resourceMap.getString("popupviewDrawModeMenu.text")); // NOI18N
popupviewDrawModeMenu.setName("popupviewDrawModeMenu"); // NOI18N
viewDrawModeDotsMenuItem1.setAction(actionMap.get("actionDrawModeDots")); // NOI18N
drawModeButtonGroup.add(viewDrawModeDotsMenuItem1);
viewDrawModeDotsMenuItem1.setName("viewDrawModeDotsMenuItem1"); // NOI18N