import javax.swing.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; public class popupWindows{ JFrame mainWindow; public popupWindows(){ mainWindow = new JFrame("pop up window"); //mainWindow.setBounds(10,10,10,10); JB
// Playground - noun: a place where people can play import UIKit //------------------------------------------------------------------------------ // 1. for // 传统的for循环方式在swift中同样支持 var num = 0 for(var i = 0; i < 10 ; i++) { num += i } num //---------
// Playground - noun: a place where people can play import UIKit //------------------------------------------------------------------------------ // 1. for // 传统的for循环方式在swift中相同支持 var num = 0 for(var i = 0; i < 10 ; i++) { num += i } num //---------