Esempio n. 1
0
 private void jButton2ActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton2ActionPerformed
   // TODO add your handling code here:
   Final ob = new Final();
   int n = tm.getRowCount();
   while (n > 0) {
     tm.removeRow(--n);
   }
   ALLMEDIA.cart_count = 0;
   ALLMEDIA.o = new Object[10][1];
   ob.setVisible(true);
   this.dispose();
 } // GEN-LAST:event_jButton2ActionPerformed
Esempio n. 2
0
 public static void main(String args[]) {
   Final obj = new Final();
   obj.myMethod();
 }
Esempio n. 3
0
 public static void main(String[] args) {
   Final f = new Final(); // 创建Final对象
   f.show();
   f.setSalary();
 }
Esempio n. 4
0
 @Test
 public void testGetArray() throws Exception {
   Assert.assertEquals(f.getArray(new int[] {2, 5, 5}), new int[] {2, 5, 6});
 }