diff --git a/src/techdomotica/java/forms/Main.form b/src/techdomotica/java/forms/Main.form index 1851e24..e5acc9e 100644 --- a/src/techdomotica/java/forms/Main.form +++ b/src/techdomotica/java/forms/Main.form @@ -105,9 +105,20 @@ + + + + + + + + + + + - + @@ -184,17 +195,6 @@ - - - - - - - - - - - diff --git a/src/techdomotica/java/forms/Main.java b/src/techdomotica/java/forms/Main.java index 73129d4..749a099 100644 --- a/src/techdomotica/java/forms/Main.java +++ b/src/techdomotica/java/forms/Main.java @@ -115,6 +115,7 @@ private void initComponents() { jMenuItem13 = new javax.swing.JMenuItem(); jMenuItem14 = new javax.swing.JMenuItem(); jMenu4 = new javax.swing.JMenu(); + jMenuItem16 = new javax.swing.JMenuItem(); jMenu7 = new javax.swing.JMenu(); jMenuItem8 = new javax.swing.JMenuItem(); jMenuItem9 = new javax.swing.JMenuItem(); @@ -124,7 +125,6 @@ private void initComponents() { jMenu8 = new javax.swing.JMenu(); jMenu9 = new javax.swing.JMenu(); jMenuItem7 = new javax.swing.JMenuItem(); - jMenuItem16 = new javax.swing.JMenuItem(); jMenu5 = new javax.swing.JMenu(); jMenuItem17 = new javax.swing.JMenuItem(); jMenu2 = new javax.swing.JMenu(); @@ -279,7 +279,16 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { jMenu4.setText("Gestión de dispositivos"); - jMenu7.setText("Vista de cámaras"); + jMenuItem16.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.CTRL_MASK)); + jMenuItem16.setText("Mostrar todos los dispositivos"); + jMenuItem16.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jMenuItem16ActionPerformed(evt); + } + }); + jMenu4.add(jMenuItem16); + + jMenu7.setText("Cámaras"); jMenuItem8.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_0, java.awt.event.InputEvent.ALT_MASK)); jMenuItem8.setText("Todas"); @@ -338,15 +347,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { jMenu4.add(jMenu9); - jMenuItem16.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.CTRL_MASK)); - jMenuItem16.setText("Mostrar todos los dispositivos"); - jMenuItem16.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jMenuItem16ActionPerformed(evt); - } - }); - jMenu4.add(jMenuItem16); - jMenuBar1.add(jMenu4); jMenu5.setText("Gestión de ambiente");