代码搜索:Creating

找到约 10,000 项符合「Creating」的源代码

代码结果 10,000
www.eeworm.com/read/127767/14337402

txt e887. creating a jfilechooser dialog.txt

The following example creates a file chooser and displays it as first an open-file dialog and then as a save-file dialog: String filename = File.separator+"tmp"; JFileChooser fc = new JFile
www.eeworm.com/read/127767/14337525

txt e245. creating a database table.txt

This example creates a table called my_table with one column, col_string, which holds strings. try { Statement stmt = connection.createStatement(); // Create table called
www.eeworm.com/read/127767/14337680

txt e215. creating a custom permission.txt

This example creates a permission that controls access to pages of a book. The permission name consists of a book id, a colon, and a set of allowable pages. The set of allowable pages is specified as
www.eeworm.com/read/127767/14337816

txt e148. creating a server socket.txt

try { int port = 2000; ServerSocket srv = new ServerSocket(port); // Wait for connection from client. Socket socket = srv.accept(); } catch (IOException
www.eeworm.com/read/127767/14337822

txt e979. creating a jtextfield component.txt

When the user hits RETURN, the text field fires an action event. // Create a text field with some initial text JTextField textfield = new JTextField("Initial Text"); // Create a
www.eeworm.com/read/127767/14337866

txt e739. creating a jlabel component.txt

// The text is left-justified and vertically centered JLabel label = new JLabel("Text Label"); // The text is horizontally and vertically centered label = new JLabel("Text Label",
www.eeworm.com/read/127767/14337876

txt e453. creating a zip file.txt

// These are the files to include in the ZIP file String[] filenames = new String[]{"filename1", "filename2"}; // Create a buffer for reading the files byte[] buf = new byte[1024]