代码搜索:Setting

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

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

txt e614. setting the initial focused component in a window.txt

There is no straightforward way to set the initial focused component in a window. The typical method is to add a window listener to listen for the window opened event and then make the desired compone
www.eeworm.com/read/127767/14337627

txt e985. setting the tab size of a jtextarea component.txt

Home > List of Packages > javax.swing.text [49 examples] > JTextArea [7 examples] e985. Setting the Tab Size of a JTextArea Component When a tab character (\t) is inserted into a text area, it
www.eeworm.com/read/127767/14337637

txt e753. getting and setting the state of a jcheckbox component.txt

// To create a checkbox, see e752 Creating a JCheckbox Component // Get the current state of the checkbox boolean b = checkbox.isSelected(); // Set the state of the checkbox
www.eeworm.com/read/127767/14337660

txt e086. getting and setting the value of a system property.txt

// Get a system property String dir = System.getProperty("user.dir"); // Set a system property String previousValue = System.setProperty("application.property", "newValue");
www.eeworm.com/read/127767/14337699

txt e899. setting an accessory component in a jfilechooser dialog.txt

The accessory is an optional component that can be added to a file chooser dialog to show a preview image of the selected file. By default, a file chooser dialog does not have an accessory installed.
www.eeworm.com/read/127767/14337711

txt e637. getting and setting text on the system clipboard.txt

This examples defines methods for getting and setting text on the system clipboard. // If a string is on the system clipboard, this method returns it; // otherwise it returns null. pub
www.eeworm.com/read/127767/14337747

txt e780. setting the selected items in a jlist component.txt

List selection events are fired when the following methods are used to change the set of selected items (see e774 Creating a JList Component). // Create a list and get the model String[] it
www.eeworm.com/read/127767/14337749

txt e795. getting and setting the values of a jslider component.txt

// To create a slider, see e794 Creating a JSlider Component // Get the current value int value = slider.getValue(); // Get the minimum value int min = slider.getMinimu
www.eeworm.com/read/127767/14337812

txt e730. setting the volume of a sampled audio player.txt

// To create a Clip object, see e723 Loading and Playing Sampled Audio // Set Volume FloatControl gainControl = (FloatControl)clip.getControl(FloatControl.Type.MASTER_GAIN); dou
www.eeworm.com/read/127767/14337868

txt e781. setting the selection mode of a jlist component.txt

// The default mode is MULTIPLE_INTERVAL_SELECTION String[] items = {"A", "B", "C", "D"}; JList list = new JList(items); // Get the current selection model mode int mode = l