代码搜索:Create
找到约 10,000 项符合「Create」的源代码
代码结果 10,000
www.eeworm.com/read/127767/14336902
txt e172. copying one file to another.txt
try {
// Create channel on the source
FileChannel srcChannel = new FileInputStream("srcFilename").getChannel();
// Create channel on the destination
FileChann
www.eeworm.com/read/127767/14336904
txt e138. getting a jar file using a url.txt
try {
// Create a URL that refers to a jar file on the net
URL url = new URL("jar:http://hostname/my.jar!/");
// Create a URL that refers to a jar file in the file sys
www.eeworm.com/read/127767/14336924
txt e503. starting the name server.txt
If you are using RMI over the Java Remote Method Protocol (JRMP), start up the RMI registry so that you can create and export remote objects.
> rmiregistry
If you are using RMI over the Inter
www.eeworm.com/read/127767/14337000
txt e201. creating key objects from a set of digital signature algorithm (dsa) parameters.txt
The DSA requires three parameters to create a key pair - the prime (P), the subprime (Q), and the base (G). These three values are used to create a private key (called X) and a public key (called Y).
www.eeworm.com/read/127767/14337002
txt e512. converting an xml fragment into a dom fragment.txt
This example demonstrates how to parse an XML string fragment into a set of nodes suitable for insertion into a DOM document.
// Parses a string containing XML and returns a DocumentFragment
www.eeworm.com/read/127767/14337031
txt e559. creating a frame.txt
A frame is a top-level window with a title bar and buttons for iconizing, maximizing, and closing the frame.
See also e733 Creating a JFrame.
// Create frame
String title = "Frame Title
www.eeworm.com/read/127767/14337100
txt e877. getting and setting the selected color in a jcolorchooser dialog.txt
Normally, the color is retrieved from a color chooser dialog when the dialog is closed. See e884 Listening for OK and Cancel Events in a JColorChooser Dialog for an example of how to determine when th
www.eeworm.com/read/127767/14337202
txt e520. writing only the text of a dom document.txt
One of the three output methods of a transformer is text. With this output method, only the text in CharacterData nodes are written out. Comments are also written out since they are CharacterData node
www.eeworm.com/read/127767/14337372
txt e484. creating a directory entry.txt
This example creates an entry in the directory.
try {
// Create attributes to be associated with the new entry
Attributes attrs = new BasicAttributes(true); // case-ignore
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");