代码搜索:Creating

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

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

txt e808. creating a jmenubar, jmenu, and jmenuitem component.txt

When the user selects a menu item, it fires an action event. // Create the menu bar JMenuBar menuBar = new JMenuBar(); // Create a menu JMenu menu = new JMenu("Menu Label");
www.eeworm.com/read/127767/14337430

txt e301. creating a varray type in an oracle database.txt

A VARRAY is a variable-length ordered list of values of one type. This example creates a VARRAY that can hold up to ten NUMBER values. try { Statement stmt = connection.createStatement(
www.eeworm.com/read/127767/14337471

txt e356. creating a map that retains order-of-insertion.txt

Map map = new LinkedHashMap(); // Add some elements map.put("1", "value1"); map.put("2", "value2"); map.put("3", "value3"); map.put("2", "value4"); // List th
www.eeworm.com/read/127767/14337594

txt e667. creating a buffered image from an image.txt

An Image object cannot be converted to a BufferedImage object. The closest equivalent is to create a buffered image and then draw the image on the buffered image. This example defines a method that do
www.eeworm.com/read/127767/14337782

txt e400. creating a custom formatter for a logger handler.txt

A logger's handler uses a formatter to write a log record out to the log file. The java.util.logging package provides two formatters; see e399 Setting the Formatter of a Logger Handler for more inform
www.eeworm.com/read/127767/14337792

txt e354. creating a set that retains order-of-insertion.txt

Set set = new LinkedHashSet(); // Add some elements set.add("1"); set.add("2"); set.add("3"); set.add("2"); // List the elements for (Iterator it=set.ite
www.eeworm.com/read/127767/14337796

txt e476. creating and destroying a subcontext in the naming service.txt

This example creates a subcontext in the naming service. try { // Create a subcontext. Context childCtx = ctx.createSubcontext("child"); // Destroy the subcontex
www.eeworm.com/read/127767/14337854

txt e173. creating a non-blocking socket.txt

This example shows how to create a non-blocking socket. A non-blocking socket requires a socket channel. See also e176 Using a Selector to Manage Non-Blocking Sockets. // Creates a non-block