代码搜索:Dialog

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

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

txt e892. getting and setting the selected file of a jfilechooser dialog.txt

When setting the selected file, the file chooser dialog automatically sets the current directory. JFileChooser chooser = new JFileChooser(); // Set the current directory to the applic
www.eeworm.com/read/127767/14337532

txt e880. retrieving the color chooser panels in a jcolorchooser dialog.txt

There are three chooser panels in the default JColorChooser dialog. Although each is implemented by a class in the javax.swing.colorchooser package, these classes are not public. This example demonstr
www.eeworm.com/read/127767/14337686

txt e903. listening for changes to the selected file in a jfilechooser dialog.txt

A property change event is fired whenever the selected file is changed. However, the selected file can be null if the selected item does not match the selection mode of the chooser. For example, if th
www.eeworm.com/read/127767/14337691

txt e904. listening for changes to the current directory in a jfilechooser dialog.txt

final JFileChooser chooser = new JFileChooser(); // Add listener on chooser to detect changes to current directory chooser.addPropertyChangeListener(new PropertyChangeListener() {
www.eeworm.com/read/127767/14337717

txt e884. listening for ok and cancel events in a jcolorchooser dialog.txt

This example defines an action that creates and shows a color chooser dialog. // Create the chooser final JColorChooser chooser = new JColorChooser(); // Define listener for ok e
www.eeworm.com/read/114100/15112821

txt tabbed dialog控件和tab strip控件有什么不同.txt

你 可 以 直 接 把 子 控 件 放 置 到 Tabbed Dialog控 件 的 页 面 上 , 这 样 操 作 更 方 便 。 但 是 如 果 使 用 TabStrip控 件 , 你 需 要 另 外 使 用 PictureBox或 Frame放 置 控 件 比 较 麻 烦 。 如 果 单 独 用 这 两 个 控 件 , 占 用 资 源 差 别 不 大 , 一 般 愿 意 使 用 前 者 ,