/**************************************************************************
OmegaT - Computer Assisted Translation (CAT) tool
with fuzzy matching, translation memory, keyword search,
glossaries, and translation leveraging into updated projects.
Copyright (C) 2016 Aaron Madlon-Kay
Home page: http://www.omegat.org/
Support center: http://groups.yahoo.com/group/OmegaT/
This file is part of OmegaT.
OmegaT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OmegaT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
**************************************************************************/
package org.omegat.gui.align;
import org.madlonkay.supertmxmerge.gui.ReasonablySizedPanel;
import org.omegat.util.OStrings;
/**
* A simple UI component for implementing text editing dialogs.
* <p>
* THIS MUST BE EDITED IN NETBEANS GUI BUILDER.
*
* @author Aaron Madlon-Kay
*/
@SuppressWarnings("serial")
public class EditingPanel extends javax.swing.JPanel {
/**
* Creates new form EditingPanel
*/
public EditingPanel() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
scrollPane = new javax.swing.JScrollPane();
jPanel3 = new ReasonablySizedPanel();
editorPane = new javax.swing.JEditorPane();
jPanel1 = new javax.swing.JPanel();
helpText = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
cancelButton = new javax.swing.JButton();
okButton = new javax.swing.JButton();
setLayout(new java.awt.BorderLayout());
jPanel3.setLayout(new java.awt.BorderLayout());
jPanel3.add(editorPane, java.awt.BorderLayout.CENTER);
scrollPane.setViewportView(jPanel3);
add(scrollPane, java.awt.BorderLayout.CENTER);
jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10));
jPanel1.setLayout(new java.awt.BorderLayout());
jPanel1.add(helpText, java.awt.BorderLayout.CENTER);
jPanel2.setLayout(new javax.swing.BoxLayout(jPanel2, javax.swing.BoxLayout.LINE_AXIS));
org.openide.awt.Mnemonics.setLocalizedText(cancelButton, OStrings.getString("BUTTON_CANCEL")); // NOI18N
jPanel2.add(cancelButton);
org.openide.awt.Mnemonics.setLocalizedText(okButton, OStrings.getString("BUTTON_OK")); // NOI18N
jPanel2.add(okButton);
jPanel1.add(jPanel2, java.awt.BorderLayout.EAST);
add(jPanel1, java.awt.BorderLayout.PAGE_END);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
public javax.swing.JButton cancelButton;
public javax.swing.JEditorPane editorPane;
public javax.swing.JLabel helpText;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
public javax.swing.JButton okButton;
public javax.swing.JScrollPane scrollPane;
// End of variables declaration//GEN-END:variables
}