regenerated by the Form Editor.
*/
@SuppressWarnings(“unchecked”)
//
private void initComponents() {
jLabel2 = new javax.swing.JLabel();
Desktop = new javax.swing.JDesktopPane();
lblUsuario = new javax.swing.JLabel();
lblData = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel();
Menu = new javax.swing.JMenuBar();
MenCad = new javax.swing.JMenu();
MenCadCli = new javax.swing.JMenuItem();
MenCadOs = new javax.swing.JMenuItem();
MenCadUsu = new javax.swing.JMenuItem();
MenRel = new javax.swing.JMenu();
menRelCli = new javax.swing.JMenuItem();
MenRelSer = new javax.swing.JMenuItem();
MenAju = new javax.swing.JMenu();
MenAjuSob = new javax.swing.JMenuItem();
MenOpc = new javax.swing.JMenu();
MenOpcSai = new javax.swing.JMenuItem();
jLabel2.setText(“jLabel2”);
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle(“Sistema para controle de Ordem de Serviços.”);
setResizable(false);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowActivated(java.awt.event.WindowEvent evt) {
formWindowActivated(evt);
}
});
Desktop.setPreferredSize(new java.awt.Dimension(730, 450));
javax.swing.GroupLayout DesktopLayout = new javax.swing.GroupLayout(Desktop);
Desktop.setLayout(DesktopLayout);
DesktopLayout.setHorizontalGroup(
DesktopLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 730, Short.MAX_VALUE)
);
DesktopLayout.setVerticalGroup(
DesktopLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 450, Short.MAX_VALUE)
);
lblUsuario.setFont(new java.awt.Font(“Tahoma”, 1, 18)); // NOI18N
lblUsuario.setText(“Usuário”);
lblData.setFont(new java.awt.Font(“Tahoma”, 1, 24)); // NOI18N
lblData.setForeground(new java.awt.Color(0, 0, 153));
lblData.setText(“Data”);
jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/osiris/icones/if_package_system_6616.png"))); // NOI18N
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/osiris/icones/at.jpg"))); // NOI18N
MenCad.setText(“Cadastro”);
MenCadCli.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.ALT_MASK));
MenCadCli.setText(“Clientes”);
MenCadCli.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MenCadCliActionPerformed(evt);
}
});
MenCad.add(MenCadCli);
MenCadOs.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.ALT_MASK));
MenCadOs.setText(“Ordem de Serviços”);
MenCadOs.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MenCadOsActionPerformed(evt);
}
});
MenCad.add(MenCadOs);
MenCadUsu.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_U, java.awt.event.InputEvent.ALT_MASK));
MenCadUsu.setText(“Usuários”);
MenCadUsu.setEnabled(false);
MenCadUsu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MenCadUsuActionPerformed(evt);
}
});
MenCad.add(MenCadUsu);
Menu.add(MenCad);
MenRel.setText(“Relatórios”);
MenRel.setEnabled(false);
menRelCli.setText(“Cliente”);
menRelCli.setToolTipText("");
menRelCli.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
menRelCliActionPerformed(evt);
}
});
MenRel.add(menRelCli);
MenRelSer.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK));
MenRelSer.setText(“Serviços”);
MenRel.add(MenRelSer);
Menu.add(MenRel);
MenAju.setText(“Ajuda”);
MenAjuSob.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
MenAjuSob.setText(“Sobre”);
MenAjuSob.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MenAjuSobActionPerformed(evt);
}
});
MenAju.add(MenAjuSob);
Menu.add(MenAju);
MenOpc.setText(“Opções”);
MenOpcSai.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, java.awt.event.InputEvent.ALT_MASK));
MenOpcSai.setText(“Sair”);
MenOpcSai.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MenOpcSaiActionPerformed(evt);
}
});
MenOpc.add(MenOpcSai);
Menu.add(MenOpc);
setJMenuBar(Menu);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(layout.createSequentialGroup()
.addComponent(Desktop, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(lblData)
.addComponent(lblUsuario)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 271, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(Desktop, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(lblUsuario)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(lblData)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
setSize(new java.awt.Dimension(1037, 539));
setLocationRelativeTo(null);
}//