代码搜索:Setting
找到约 10,000 项符合「Setting」的源代码
代码结果 10,000
www.eeworm.com/read/127767/14336071
txt e711. setting the number of copies of a print job.txt
Print job attributes are delivered to the print service via the print request attribute set supplied to DocPrintJob.print(). See e700 The Quintessential Printing Program Using a Printing Service to se
www.eeworm.com/read/127767/14336114
txt e917. setting the width of a column in a jtable component.txt
By default, the column widths of all columns are equal. In order for column width adjustments to be made, autoResizeMode must be disabled.
int rows = 3;
int cols = 3;
JTable table = ne
www.eeworm.com/read/127767/14336133
txt e824. getting the setting the children in a jsplitpane container.txt
// Create a left-right split pane
JSplitPane hpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftComponent, rightComponent);
// Create a top-bottom split pane
JSplitPane vpane
www.eeworm.com/read/127767/14336167
txt e803. getting and setting the values of a jprogressbar component.txt
// To create a progress bar, see e801 Creating a JProgressBar Component
// Get the current value
int value = progress.getValue();
// Get the minimum value
int min = pro
www.eeworm.com/read/127767/14336170
txt e534. getting and setting an attribute in a dom element.txt
// Obtain an XML document; this method is implemented in
// e510 The Quintessential Program to Create a DOM Document from an XML File
Document doc = parseXmlFile("infilename.xml", false);
www.eeworm.com/read/127767/14336190
txt e868. getting and setting a native look and feel.txt
By default, Swing uses a cross-platform look and feel called Metal. In most cases, it is more desirable to use a look and feel that is closer to the platform on which the application is being run. Thi
www.eeworm.com/read/127767/14336203
txt e610. setting focus traversal keys in a component.txt
When the focus is on a component, any focus traversal keys set for that component override the default focus traversal keys. For an example of how to change the focus traversal keys for the entire app
www.eeworm.com/read/127767/14336390
txt e433. setting case sensitivity in a regular expression.txt
By default, a pattern is case-sensitive. By adding a flag, a pattern can be made case-insensitive.
It is also possible to control case sensitivity within a pattern using the inline modifier (?i). Th
www.eeworm.com/read/127767/14336542
txt e693. setting a keyboard accelerator for a menu item.txt
At least one menu in a menu bar should have a mnemonic. This makes all the menus and menu items accessible.
JMenuItem item = new JMenuItem("Item");
item.setAccelerator(KeyStroke.getKeyStrok
www.eeworm.com/read/127767/14336570
txt e790. setting the margin space on a jspinner component.txt
// Create a number spinner
JSpinner spinner = new JSpinner();
// Get the text field
JFormattedTextField tf =
((JSpinner.DefaultEditor)spinner.getEditor()).getTextField();