Java
public class NewJFrame extends javax.swing.JFrame {
public NewJFrame() { initComponents(); } private void initComponents() {
popupMenu1 = new java.awt.PopupMenu(); jInternalFrame1 = new javax.swing.JInternalFrame(); jButton1 = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); jTextField1 = new javax.swing.JTextField(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jComboBox1 = new javax.swing.JComboBox(); jButton4 = new javax.swing.JButton(); jButton5 = new javax.swing.JButton(); jTextField3 = new javax.swing.JTextField(); jTextField4 = new javax.swing.JTextField(); jButton2 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton();
popupMenu1.setLabel("popupMenu1");
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jInternalFrame1.setVisible(true);
jButton1.setText("Gerar Numero");
jLabel1.setText("Tempo de Execução:");
jTextField1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jTextField1ActionPerformed(evt); } });
jLabel2.setText("ms");
jLabel3.setText("Numeros Desordenados");
jLabel4.setText("Numeros Ordenados");
jLabel5.setText("Algoritmo De Ordenação:");
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Bubble Sort", "Selection Sort","Quick Sort" }));
jButton4.setText("Sobre"); jButton4.addActionListener(new java.awt.event.ActionListener() { public void