Advertisement
zegige

editor

Oct 22nd, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 19.84 KB | None | 0 0
  1. /*
  2.  * frmFo.java
  3.  *
  4.  * Created on 2011. october 22., 7:12PM
  5.  */
  6. import java.io.*;
  7. import javax.swing.*;
  8. import javax.swing.JFileChooser.*;
  9. import java.io.FileNotFoundException.*;
  10. /**
  11.  *
  12.  * @author  zegige
  13.  */
  14. public class frmFo extends javax.swing.JFrame {
  15. FileReader fr;
  16. FileWriter fw;
  17. File fcDir;
  18. String fNev="Anonymous.txt";
  19. JFileChooser jfc;
  20. String vagolap;
  21.     /** Creates new form frmFo */
  22.     public frmFo() {
  23.         initComponents();
  24.     }
  25.    
  26.     /** This method is called from within the constructor to
  27.      * initialize the form.
  28.      * WARNING: Do NOT modify this code. The content of this method is
  29.      * always regenerated by the Form Editor.
  30.      */
  31.     // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
  32.     private void initComponents() {
  33.  
  34.         jToolBar1 = new javax.swing.JToolBar();
  35.         jButton1 = new javax.swing.JButton();
  36.         jButton2 = new javax.swing.JButton();
  37.         jButton3 = new javax.swing.JButton();
  38.         jButton4 = new javax.swing.JButton();
  39.         jButton5 = new javax.swing.JButton();
  40.         jButton6 = new javax.swing.JButton();
  41.         jButton7 = new javax.swing.JButton();
  42.         jScrollPane1 = new javax.swing.JScrollPane();
  43.         epSzoveg = new javax.swing.JEditorPane();
  44.         jPanel1 = new javax.swing.JPanel();
  45.         jLabel1 = new javax.swing.JLabel();
  46.         jLabel2 = new javax.swing.JLabel();
  47.         jLabel3 = new javax.swing.JLabel();
  48.         lbKarakter = new javax.swing.JLabel();
  49.         lbSzavak = new javax.swing.JLabel();
  50.         lbMondatok = new javax.swing.JLabel();
  51.         jMenuBar1 = new javax.swing.JMenuBar();
  52.         jMenu1 = new javax.swing.JMenu();
  53.         mnuNew = new javax.swing.JMenuItem();
  54.         mnuOpen = new javax.swing.JMenuItem();
  55.         mnuSave = new javax.swing.JMenuItem();
  56.         mnuSaveAs = new javax.swing.JMenuItem();
  57.         mnuPrint = new javax.swing.JMenuItem();
  58.         mnuExit = new javax.swing.JMenuItem();
  59.         jMenu2 = new javax.swing.JMenu();
  60.         jMenuItem7 = new javax.swing.JMenuItem();
  61.         jMenuItem8 = new javax.swing.JMenuItem();
  62.         jMenuItem9 = new javax.swing.JMenuItem();
  63.         jMenuItem10 = new javax.swing.JMenuItem();
  64.         jSeparator1 = new javax.swing.JSeparator();
  65.         jMenuItem11 = new javax.swing.JMenuItem();
  66.         jMenu4 = new javax.swing.JMenu();
  67.         jMenu3 = new javax.swing.JMenu();
  68.         jMenu5 = new javax.swing.JMenu();
  69.  
  70.         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  71.  
  72.         jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/new.gif"))); // NOI18N
  73.         jToolBar1.add(jButton1);
  74.  
  75.         jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/open.gif"))); // NOI18N
  76.         jButton2.setFocusable(false);
  77.         jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  78.         jButton2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  79.         jButton2.addActionListener(new java.awt.event.ActionListener() {
  80.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  81.                 OpenFile(evt);
  82.             }
  83.         });
  84.         jToolBar1.add(jButton2);
  85.  
  86.         jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/save.gif"))); // NOI18N
  87.         jButton3.setFocusable(false);
  88.         jButton3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  89.         jButton3.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  90.         jButton3.addActionListener(new java.awt.event.ActionListener() {
  91.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  92.                 SaveFile(evt);
  93.             }
  94.         });
  95.         jToolBar1.add(jButton3);
  96.  
  97.         jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/copy.gif"))); // NOI18N
  98.         jButton4.setFocusable(false);
  99.         jButton4.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  100.         jButton4.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  101.         jButton4.addActionListener(new java.awt.event.ActionListener() {
  102.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  103.                 Masol(evt);
  104.             }
  105.         });
  106.         jToolBar1.add(jButton4);
  107.  
  108.         jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/cut.gif"))); // NOI18N
  109.         jButton5.setFocusable(false);
  110.         jButton5.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  111.         jButton5.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  112.         jButton5.addActionListener(new java.awt.event.ActionListener() {
  113.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  114.                 Kivagas(evt);
  115.             }
  116.         });
  117.         jToolBar1.add(jButton5);
  118.  
  119.         jButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/paste.gif"))); // NOI18N
  120.         jButton6.setFocusable(false);
  121.         jButton6.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  122.         jButton6.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  123.         jButton6.addActionListener(new java.awt.event.ActionListener() {
  124.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  125.                 Beilleszt(evt);
  126.             }
  127.         });
  128.         jToolBar1.add(jButton6);
  129.  
  130.         jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/help.png"))); // NOI18N
  131.         jButton7.setFocusable(false);
  132.         jButton7.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
  133.         jButton7.setMaximumSize(new java.awt.Dimension(31, 31));
  134.         jButton7.setMinimumSize(new java.awt.Dimension(31, 31));
  135.         jButton7.setPreferredSize(new java.awt.Dimension(31, 31));
  136.         jButton7.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
  137.         jButton7.addActionListener(new java.awt.event.ActionListener() {
  138.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  139.                 jButton7ActionPerformed(evt);
  140.             }
  141.         });
  142.         jToolBar1.add(jButton7);
  143.  
  144.         epSzoveg.addKeyListener(new java.awt.event.KeyAdapter() {
  145.             public void keyTyped(java.awt.event.KeyEvent evt) {
  146.                 Nyomi(evt);
  147.             }
  148.         });
  149.         jScrollPane1.setViewportView(epSzoveg);
  150.  
  151.         jPanel1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
  152.  
  153.         jLabel1.setText("Karakterek sz·ma:");
  154.  
  155.         jLabel2.setText("Szavak sz·ma:");
  156.  
  157.         jLabel3.setText("Mondatok sz·ma:");
  158.  
  159.         lbKarakter.setText("0");
  160.  
  161.         lbSzavak.setText("0");
  162.  
  163.         lbMondatok.setText("0");
  164.  
  165.         javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
  166.         jPanel1.setLayout(jPanel1Layout);
  167.         jPanel1Layout.setHorizontalGroup(
  168.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  169.             .addGroup(jPanel1Layout.createSequentialGroup()
  170.                 .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)
  171.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  172.                 .addComponent(lbKarakter, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
  173.                 .addGap(67, 67, 67)
  174.                 .addComponent(jLabel2)
  175.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  176.                 .addComponent(lbSzavak, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
  177.                 .addGap(43, 43, 43)
  178.                 .addComponent(jLabel3)
  179.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  180.                 .addComponent(lbMondatok, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
  181.                 .addContainerGap(56, Short.MAX_VALUE))
  182.         );
  183.         jPanel1Layout.setVerticalGroup(
  184.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  185.             .addGroup(jPanel1Layout.createSequentialGroup()
  186.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  187.                     .addComponent(jLabel1)
  188.                     .addComponent(jLabel2)
  189.                     .addComponent(jLabel3)
  190.                     .addComponent(lbKarakter)
  191.                     .addComponent(lbSzavak)
  192.                     .addComponent(lbMondatok))
  193.                 .addContainerGap(13, Short.MAX_VALUE))
  194.         );
  195.  
  196.         jMenuBar1.setMaximumSize(new java.awt.Dimension(200, 32769));
  197.         jMenuBar1.setPreferredSize(new java.awt.Dimension(200, 21));
  198.  
  199.         jMenu1.setText("File");
  200.  
  201.         mnuNew.setText("⁄j");
  202.         mnuNew.addActionListener(new java.awt.event.ActionListener() {
  203.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  204.                 UjFile(evt);
  205.             }
  206.         });
  207.         jMenu1.add(mnuNew);
  208.  
  209.         mnuOpen.setText("Megnyit·s");
  210.         mnuOpen.addActionListener(new java.awt.event.ActionListener() {
  211.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  212.                 OpenFile(evt);
  213.             }
  214.         });
  215.         jMenu1.add(mnuOpen);
  216.  
  217.         mnuSave.setText("MentÈs");
  218.         mnuSave.addActionListener(new java.awt.event.ActionListener() {
  219.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  220.                 SaveFile(evt);
  221.             }
  222.         });
  223.         jMenu1.add(mnuSave);
  224.  
  225.         mnuSaveAs.setText("MentÈs m·skÈnt...");
  226.         mnuSaveAs.addActionListener(new java.awt.event.ActionListener() {
  227.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  228.                 SaveFile(evt);
  229.             }
  230.         });
  231.         jMenu1.add(mnuSaveAs);
  232.  
  233.         mnuPrint.setText("Nyomtat·s");
  234.         jMenu1.add(mnuPrint);
  235.  
  236.         mnuExit.setText("KilÈpÈs");
  237.         mnuExit.addActionListener(new java.awt.event.ActionListener() {
  238.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  239.                 Kilep(evt);
  240.             }
  241.         });
  242.         jMenu1.add(mnuExit);
  243.  
  244.         jMenuBar1.add(jMenu1);
  245.  
  246.         jMenu2.setText("SzerkesztÈs");
  247.  
  248.         jMenuItem7.setText("Visszavon·s");
  249.         jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
  250.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  251.                 Visszavon(evt);
  252.             }
  253.         });
  254.         jMenu2.add(jMenuItem7);
  255.  
  256.         jMenuItem8.setText("M·sol·s");
  257.         jMenuItem8.addActionListener(new java.awt.event.ActionListener() {
  258.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  259.                 Masol(evt);
  260.             }
  261.         });
  262.         jMenu2.add(jMenuItem8);
  263.  
  264.         jMenuItem9.setText("Kiv·g·s");
  265.         jMenuItem9.addActionListener(new java.awt.event.ActionListener() {
  266.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  267.                 Kivagas(evt);
  268.             }
  269.         });
  270.         jMenu2.add(jMenuItem9);
  271.  
  272.         jMenuItem10.setText("BeillesztÈs");
  273.         jMenuItem10.addActionListener(new java.awt.event.ActionListener() {
  274.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  275.                 Beilleszt(evt);
  276.             }
  277.         });
  278.         jMenu2.add(jMenuItem10);
  279.         jMenu2.add(jSeparator1);
  280.  
  281.         jMenuItem11.setText("KeresÈs");
  282.         jMenu2.add(jMenuItem11);
  283.  
  284.         jMenuBar1.add(jMenu2);
  285.  
  286.         jMenu4.setText("NÈzet");
  287.         jMenuBar1.add(jMenu4);
  288.  
  289.         jMenu3.setText("Form·z·s");
  290.         jMenuBar1.add(jMenu3);
  291.  
  292.         jMenu5.setText("SegÌtsÈg");
  293.         jMenuBar1.add(jMenu5);
  294.  
  295.         setJMenuBar(jMenuBar1);
  296.  
  297.         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  298.         getContentPane().setLayout(layout);
  299.         layout.setHorizontalGroup(
  300.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  301.             .addGroup(layout.createSequentialGroup()
  302.                 .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  303.                 .addGap(456, 456, 456))
  304.             .addGroup(layout.createSequentialGroup()
  305.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
  306.                     .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  307.                     .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 569, Short.MAX_VALUE))
  308.                 .addContainerGap())
  309.         );
  310.         layout.setVerticalGroup(
  311.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  312.             .addGroup(layout.createSequentialGroup()
  313.                 .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
  314.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  315.                 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 294, javax.swing.GroupLayout.PREFERRED_SIZE)
  316.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  317.                 .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
  318.         );
  319.  
  320.         pack();
  321.     }// </editor-fold>                        
  322.  
  323.     private void Kilep(java.awt.event.ActionEvent evt) {                      
  324. // TODO add your handling code here:
  325.         System.exit(0);
  326.     }                      
  327.  
  328.     private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {                                        
  329.         // TODO add your handling code here:
  330.     }                                        
  331.  
  332.     private void OpenFile(java.awt.event.ActionEvent evt) {                          
  333.         String szoveg;
  334.         jfc=new JFileChooser();
  335.         jfc.setApproveButtonText("Megnyit·s");
  336.         jfc.setDialogTitle("File nyit·sa");
  337.         if(jfc.showOpenDialog(this)==0){
  338.            fcDir=jfc.getSelectedFile();
  339.            this.fNev=jfc.getName(fcDir);
  340.            this.setTitle("Megnyitott file:"+this.fNev);
  341.            try{
  342.                fr=new FileReader(fcDir);
  343.                szoveg="";
  344.                while(fr.ready()){
  345.                  szoveg=szoveg+String.valueOf((char)fr.read());
  346.                }
  347.                epSzoveg.setText(szoveg);
  348.                fr.close();
  349.                Szamol();
  350.            }catch(java.io.FileNotFoundException fnf){
  351. //¸zenni kell
  352.            }
  353.            catch(java.io.IOException ioe){
  354. //¸zenni kell
  355.            }
  356.         }
  357.  
  358.     }                        
  359.  
  360.     private void SaveFile(java.awt.event.ActionEvent evt) {                          
  361.     if(this.fNev.length()==0){
  362.       this.fNev="Anonymous.txt";
  363.     }
  364.     jfc=new JFileChooser();
  365.     jfc.setApproveButtonText("MentÈs");
  366.     jfc.setDialogTitle("File z·r·sa");
  367.     jfc.setName(fNev);
  368.     if(jfc.showSaveDialog(this)==0){
  369.        try{
  370.           fcDir=jfc.getSelectedFile();
  371.           this.fNev=jfc.getName(fcDir);
  372.           fw=new FileWriter(fcDir);
  373.           fw.write(epSzoveg.getText());
  374.           fw.close();
  375.        }catch(java.io.FileNotFoundException fnf){
  376. //¸zenni kell
  377.            }
  378.        catch(java.io.IOException ioe){
  379. //¸zenni kell
  380.            }
  381.  
  382.     }else{
  383.  
  384.     }
  385.  
  386.     }                        
  387.  
  388.     private void UjFile(java.awt.event.ActionEvent evt) {                        
  389.     int hossz;
  390.     String szoveg;
  391.  
  392.     szoveg=epSzoveg.getText(); // kiolvassa a epSzoveg tartalm·t
  393.     hossz=szoveg.length();  // szoveg hossza
  394.     if(hossz>0){
  395.       if(JOptionPane.showConfirmDialog(this, "A munkater¸let nem ¸res!Tˆrˆlhetem?")==JOptionPane.OK_OPTION){
  396.          epSzoveg.setText("");
  397.          this.fNev="Anonymous.txt";
  398.       }
  399.     }else this.fNev="Anonymous.txt";
  400.  
  401.     }                      
  402.  
  403.     private void Masol(java.awt.event.ActionEvent evt) {                      
  404.      epSzoveg.copy();
  405.     }                      
  406.  
  407.     private void Kivagas(java.awt.event.ActionEvent evt) {                        
  408.      this.vagolap=epSzoveg.getText();
  409.      epSzoveg.cut();
  410.     }                        
  411.  
  412.     private void Beilleszt(java.awt.event.ActionEvent evt) {                          
  413.       this.vagolap=epSzoveg.getText();
  414.       epSzoveg.paste();
  415.     }                          
  416.  
  417.     private void Visszavon(java.awt.event.ActionEvent evt) {                          
  418.       epSzoveg.setText(this.vagolap);
  419.     }                          
  420.  
  421.     private void Nyomi(java.awt.event.KeyEvent evt) {                      
  422.        Szamol();
  423.     }                      
  424.  
  425.     private void Szamol(){
  426.     int hossz,szsz,msz,i;
  427.     char kar;
  428.     String szoveg;
  429.  
  430.     szsz=msz=i=0;
  431.     hossz=epSzoveg.getText().length();
  432.     if(hossz>0){
  433.       szoveg=epSzoveg.getText();
  434.       while(i<hossz){
  435.         while(i<hossz && ElvalasztoJel(kar=szoveg.charAt(i))){
  436.           ++i;
  437.         }
  438.         if(i<hossz) szsz++;
  439.         while(i<hossz && !ElvalasztoJel(kar=szoveg.charAt(i))){
  440.           ++i;
  441.         }
  442.       }
  443.       lbKarakter.setText(String.valueOf(hossz));
  444.       lbSzavak.setText(String.valueOf(szsz));
  445.       lbMondatok.setText("0");
  446.     }
  447.     }
  448.  
  449.     private boolean ElvalasztoJel(char kar){
  450.     boolean ret=false;
  451.     switch(kar){
  452.         case ' ':
  453.         case ',':
  454.         case ';':
  455.         case '-':
  456.         case '.':
  457.         case '!':
  458.         case '?':
  459.         case '"':
  460.         case '_':
  461.         case '\r':
  462.         case '\n':
  463.         case '(':
  464.         case ')':
  465.         case '{':
  466.         case '}':
  467.         case ']':
  468.         case '[':
  469.             ret=true;
  470.     }
  471.     return ret;
  472.     }
  473.     /**
  474.      * @param args the command line arguments
  475.      */
  476.     public static void main(String args[]) {
  477.         java.awt.EventQueue.invokeLater(new Runnable() {
  478.             public void run() {
  479.                 new frmFo().setVisible(true);
  480.             }
  481.         });
  482.     }
  483.    
  484.     // Variables declaration - do not modify                    
  485.     private javax.swing.JEditorPane epSzoveg;
  486.     private javax.swing.JButton jButton1;
  487.     private javax.swing.JButton jButton2;
  488.     private javax.swing.JButton jButton3;
  489.     private javax.swing.JButton jButton4;
  490.     private javax.swing.JButton jButton5;
  491.     private javax.swing.JButton jButton6;
  492.     private javax.swing.JButton jButton7;
  493.     private javax.swing.JLabel jLabel1;
  494.     private javax.swing.JLabel jLabel2;
  495.     private javax.swing.JLabel jLabel3;
  496.     private javax.swing.JMenu jMenu1;
  497.     private javax.swing.JMenu jMenu2;
  498.     private javax.swing.JMenu jMenu3;
  499.     private javax.swing.JMenu jMenu4;
  500.     private javax.swing.JMenu jMenu5;
  501.     private javax.swing.JMenuBar jMenuBar1;
  502.     private javax.swing.JMenuItem jMenuItem10;
  503.     private javax.swing.JMenuItem jMenuItem11;
  504.     private javax.swing.JMenuItem jMenuItem7;
  505.     private javax.swing.JMenuItem jMenuItem8;
  506.     private javax.swing.JMenuItem jMenuItem9;
  507.     private javax.swing.JPanel jPanel1;
  508.     private javax.swing.JScrollPane jScrollPane1;
  509.     private javax.swing.JSeparator jSeparator1;
  510.     private javax.swing.JToolBar jToolBar1;
  511.     private javax.swing.JLabel lbKarakter;
  512.     private javax.swing.JLabel lbMondatok;
  513.     private javax.swing.JLabel lbSzavak;
  514.     private javax.swing.JMenuItem mnuExit;
  515.     private javax.swing.JMenuItem mnuNew;
  516.     private javax.swing.JMenuItem mnuOpen;
  517.     private javax.swing.JMenuItem mnuPrint;
  518.     private javax.swing.JMenuItem mnuSave;
  519.     private javax.swing.JMenuItem mnuSaveAs;
  520.     // End of variables declaration                  
  521.    
  522. }
  523.  
  524.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement