I need enhance my DB skill

Filed in Linux Leave a comment

I need enhance my DB skill. DB is a thing for me to just store and retrieve data. Not too care about performance. Now i am dealing with stock analyst software which daily new-record is over few millions. Here the commands i test mysql https://www.howtoforge.com/how-to-benchmark-your-system-cpu-file-io-mysql-with-sysbench

read count : 2

ignore reflections library warning

Filed in Programming Leave a comment

to ignore this kind of warning:

[WARN] [10:16:57] [Reflections.java:208]	 could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libAppleScriptEngine.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:109)
	at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
	at org.reflections.Reflections.scan(Reflections.java:237)
	at org.reflections.Reflections.scan(Reflections.java:204)
	at org.reflections.Reflections.<init>(Reflections.java:129)
	at com.titansolutions.HibernateUtil.buildSessionFactory(HibernateUtil.java:49)
	at com.titansolutions.HibernateUtil.<clinit>(HibernateUtil.java:28)

Just call ReflectionsHelper.registerUrlTypes(); before you use reflections

package com.titansolutions;

import java.net.URL;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.reflections.vfs.Vfs;

import com.google.common.collect.Lists;

public class ReflectionsHelper {
	public static void registerUrlTypes() {

		final List<Vfs.UrlType> urlTypes = Lists.newArrayList();

		// include a list of file extensions / filenames to be recognized
		urlTypes.add(new EmptyIfFileEndingsUrlType(".mar", ".jnilib"));

		urlTypes.addAll(Arrays.asList(Vfs.DefaultUrlTypes.values()));

		Vfs.setDefaultURLTypes(urlTypes);
	}

	private static class EmptyIfFileEndingsUrlType implements Vfs.UrlType {

		private final List<String> fileEndings;

		private EmptyIfFileEndingsUrlType(final String... fileEndings) {

			this.fileEndings = Lists.newArrayList(fileEndings);
		}

		public boolean matches(URL url) {

			final String protocol = url.getProtocol();
			final String externalForm = url.toExternalForm();
			if (!protocol.equals("file")) {
				return false;
			}
			for (String fileEnding : fileEndings) {
				if (externalForm.endsWith(fileEnding))
					return true;
			}
			return false;
		}

		public Vfs.Dir createDir(final URL url) throws Exception {

			return emptyVfsDir(url);
		}

		private static Vfs.Dir emptyVfsDir(final URL url) {

			return new Vfs.Dir() {
				@Override
				public String getPath() {

					return url.toExternalForm();
				}

				@Override
				public Iterable<Vfs.File> getFiles() {

					return Collections.emptyList();
				}

				@Override
				public void close() {

				}
			};
		}
	}
}

read count : 5

Custom memory panel

Filed in GKD Leave a comment

GKD (General kernel debugger) now supports “custom panel”, you can define many memory areas with the interrupted rules, every time bochs got paused, it will show you the values of the memory areas that you have defined.

custom-panel-1

custom-panel-2

 

read count : 9

this is what i think

Filed in Programming Leave a comment

Full stack developer in my point of view means == kernel, network driver, compiler, linker, disassembler, file system, etc…
suck-full-stack

read count : 6

dwarf is a too old and too inaccurate protocol to representing source code

Filed in Kernel Leave a comment

dwarf is a too old and too inaccurate protocol to representing source code, i compile the following c code by gcc 5.2.0 and linked it by binutils 2.25

int testVarFunc() {
	int var1 = 1980;
	for (int y = 0; y < var1; y++) {
		int var2 = var1 + y*y;
	}
	int var4 = 2204;
	for (int y2 = 0; y2 < var4; y2++) {
		int var3 = var1 + y2*y2;
	}
	int var5 = 1234;
	var5 = var1*var4;
	return var5;
}

Then i use objdump 2.25 to disassemble it, the c source code line information is too in accurate, and i didn’t use turn on any gcc optimization. As you can see the below disassembly, the testVarFunc() appeared twice.

int testVarFunc() {
 1602903:       55                      push   %ebp
 1602904:       89 e5                   mov    %esp,%ebp
 1602906:       83 ec 20                sub    $0x20,%esp
        int var1 = 1980;
 1602909:       c7 45 f4 bc 07 00 00    movl   $0x7bc,-0xc(%ebp)
        for (int y = 0; y < var1; y++) {
 1602910:       c7 45 fc 00 00 00 00    movl   $0x0,-0x4(%ebp)
 1602917:       8b 45 fc                mov    -0x4(%ebp),%eax
 160291a:       3b 45 f4                cmp    -0xc(%ebp),%eax
 160291d:       7d 16                   jge    1602935 <_Z11testVarFuncv+0x32>
                int var2 = var1 + y*y;
 160291f:       8b 45 fc                mov    -0x4(%ebp),%eax
 1602922:       0f af 45 fc             imul   -0x4(%ebp),%eax
 1602926:       89 c2                   mov    %eax,%edx
 1602928:       8b 45 f4                mov    -0xc(%ebp),%eax
 160292b:       01 d0                   add    %edx,%eax
 160292d:       89 45 f0                mov    %eax,-0x10(%ebp)
        }
}

int testVarFunc() {
        int var1 = 1980;
        for (int y = 0; y < var1; y++) {
 1602930:       ff 45 fc                incl   -0x4(%ebp)
 1602933:       eb e2                   jmp    1602917 <_Z11testVarFuncv+0x14>
                int var2 = var1 + y*y;
        }
        int var4 = 2204;
 1602935:       c7 45 ec 9c 08 00 00    movl   $0x89c,-0x14(%ebp)
        for (int y2 = 0; y2 < var4; y2++) {
 160293c:       c7 45 f8 00 00 00 00    movl   $0x0,-0x8(%ebp)
 1602943:       8b 45 f8                mov    -0x8(%ebp),%eax
 1602946:       3b 45 ec                cmp    -0x14(%ebp),%eax
 1602949:       7d 16                   jge    1602961 <_Z11testVarFuncv+0x5e>
                int var3 = var1 + y2*y2;
 160294b:       8b 45 f8                mov    -0x8(%ebp),%eax
 160294e:       0f af 45 f8             imul   -0x8(%ebp),%eax
 1602952:       89 c2                   mov    %eax,%edx
 1602954:       8b 45 f4                mov    -0xc(%ebp),%eax
 1602957:       01 d0                   add    %edx,%eax
 1602959:       89 45 e8                mov    %eax,-0x18(%ebp)
        int var1 = 1980;
        for (int y = 0; y < var1; y++) {
                int var2 = var1 + y*y;
        }
        int var4 = 2204;
        for (int y2 = 0; y2 < var4; y2++) {
 160295c:       ff 45 f8                incl   -0x8(%ebp)
160295f:       eb e2                   jmp    1602943 <_Z11testVarFuncv+0x40>
                int var3 = var1 + y2*y2;
        }
        int var5 = 1234;
 1602961:       c7 45 e4 d2 04 00 00    movl   $0x4d2,-0x1c(%ebp)
        var5 = var1*var4;
 1602968:       8b 45 f4                mov    -0xc(%ebp),%eax
 160296b:       0f af 45 ec             imul   -0x14(%ebp),%eax
 160296f:       89 45 e4                mov    %eax,-0x1c(%ebp)
        return var5;
 1602972:       8b 45 e4                mov    -0x1c(%ebp),%eax
}
 1602975:       c9                      leave  
 1602976:       c3                      ret    

read count : 17

Quantr plan

Filed in Quant Leave a comment

Here is my quantr plan, the first stage is to make all three components running. They are:
1. Quantr-server which manage the logic, start/top/pause/logging/monitoring
2. Quantr-sharppoint server, which is a high performance sharppoint gateway
3. Quantr, which is a management console, language compiler

quantr plan

Because i am doing quant development for a big corp, so these three parts are pretty much ready, below are the screenshots.

superalgo gui 1 superalgo gui 2

The next step is to draft the quantr language, i think in hong kong not many people have experimence to design a new computer language, but it doesn’t matter, i believe we are close to doing it. I will hold a dinner for every 2-3 weeks, lets everybody sit down and present their idea for the language. We probably can draft out all syntax in first 1-2 months. If you are interested to join, write you contact here https://docs.google.com/spreadsheets/d/1k1gWhVagY5D8xC0m9EaniZxnbxzcrWeK5lETPHW_G5I/edit?usp=sharing , i will call you to come out and discuss.

read count : 5

Dtrace inspired me

Filed in Programming Leave a comment

Reading a Dtrace book in library made me suddenly remember, awk-like language syntax is very suitable for quantitive programming language, so i write down the first draft of my quant language based on the syntax of dtrace.

dtrace_5973_1024

dtrace_5970_1024

dtrace_5972_1024

dtrace_5971_1024

dtrace_5970_1024

read count : 28

ELF-dependency-walker is a tool to view the dependencies of an ELF object/executable

Filed in Linux Leave a comment

ELF-dependency-walker is a tool to view the dependencies of an ELF object/executable, you can use it to analyst what libraries is an ELF depending to. If you are doing operating system development and trying to port a library from linux to your os, first thing you know is that you need to know how deep of that library is depending to. It is complete open source and free to use. Just download it from https://sourceforge.net/projects/elf-dependency-walker/ and run it by

java -jar elf-dependency-walker-XXX.jar

elf1

elf2

read count : 125

enable paste command in xterm for mac and linux

Filed in Linux Leave a comment

MAC:

enable paste command in xterm for mac, create ~/.Xdefaults

*VT100.translations: #override  Meta <KeyPress> V:  insert-selection(PRIMARY, CUT_BUFFER0) \n

Linux:
edit /etc/X11/app-defaults/XTerm , add “*selectToClipboard: true" to the bottom, highlight is copy text, shift-insert is paste.

read count : 6

All UI defaults names for common Java look and feels on Windows, Mac OS X, and Linux

Filed in Programming Leave a comment

All UI defaults names for common Java look and feels on Windows, Mac OS X, and Linux

http://nadeausoftware.com/articles/2008/11/all_ui_defaults_names_common_java_look_and_feels_windows_mac_os_x_and_linux#Tree

Each Swing look and feel has a long list of User Interface Defaults (UI defaults) used to initialize Java components with default fonts, colors, icons, borders, and more. You can get and set these defaults to tune your application’s overall appearance. This article shows how to use these defaults and surveys the principal look and feels for Java on Windows, Mac OS X, and Linux, to create a long list of the names and data types for their many UI defaults.

Introduction

Every Swing look and feel has a large hash table of UIDefaults. The current look and feel’s table is returned by  getDefaults( ) on the UIManager, or you can get a LookAndFeel object and call its getDefaults( ) method. Entries in the hash table use String keys and values of type BooleanIntegerStringBorderColorIcon, Font, and more.

UIDefaults defaults = UIManager.getDefaults( );

Mining the UI defaults

The UI defaults table can be a gold mine of useful information about the look and feel. Want to know the default color of all buttons? Get the “Button.background” default. Need the default font for all labels? Get the “Label.font” default. Need the default width of a horizontal progress bar? Get the “ProgressBar.horizontalSize” default.

Java components use the UI defaults to initialize themselves when created. So, the color from the “Button.background” default is also available by calling getBackground( ) on a newly created button. The value for the “Label.font” default is the same as that returned by getFont( ) on a new label, and so forth.

Some values are much easier to get at through the defaults table than through the Swing API. For example, say you want the system’s floppy drive icon? Using the Swing API, you need to get the system’s FileSystemView object, then call getSystemIcon( ) to get the icon for a File object that points to a floppy drive. But what is the file path to a floppy drive on the current OS? Instead of figuring that out, just get the “FileView.floppyDriveIcon” UI default.

Some UI defaults aren’t available through the Swing API at all. For example, say you want to build a custom scrollbar-like component that uses the same color scheme as the current look and feel. You need the scrollbar track and thumb colors, but there are no Swing API calls to get them. Instead, use the “ScrollBar.track” and “ScrollBar.thumb” defaults.

Some look and feels even include special settings and optional values within the defaults table. For example, the “Mac OS X” look and feel on a Mac includes an “InsetBorder.aquaVariant” default that you can use to create Mac-style recessed shaded panel borders. The “Metal”, “Windows”, and “Windows Classic” look and feels even include the resource names for sounds to play on button presses and menu choices.

The trick in using UI defaults, however, is in knowing the hash table keys to use. These are largely undocumented, and they vary a bit from one look and feel to another. To discover these keys, you need to either print them all out, or use a giant table of keys… such as in this article.

Listing UI defaults

You can print out all of the UI defaults by iterating over the hash table keys:

UIDefaults defaults = UIManager.getDefaults( );
for ( Object key: defaults.keys( ) )
{
    System.out.println( key.toString( ) + ":  " +
        defaults.get( key ).toString( ) );
}

Getting UI defaults

The generic get( ) method on UIDefaults returns an Object value, or you can use any of several type-specific methods:

Object obj    = defaults.get( key );
 
boolean bool  = defaults.getBoolean( key );
Border border = defaults.getBorder( key )
Color color   = defaults.getColor( key );
Dimension dim = defaults.getDimension( key );
Font font     = defaults.getFont( key );
Icon icon     = defaults.getIcon( key );
Insets insets = defaults.getInsets( key );
int i         = defaults.getInt( key );
String string = defaults.getString( key );

Setting UI defaults

If you put a new value into the table before constructing components, you can change the way those components are initialized. Note that changing a default only affects future component construction, and not components already built and initialized.

defaults.put( key, value );

For many look and feels, however, most of the defaults are effectively read-only. While you can change them, they won’t affect component appearance. This is most often the case with buttons, check boxes, radio buttons, sliders, and scroll bars that are implemented using icons buried in the look and feel. Changing the default color of an icon-based button doesn’t change the internal icon, so the next new button doesn’t change color.

UI defaults tables

Below are tables with all of the UI defaults keys and data types for the following common look and feels for JDK 1.6:

  • GTK+ (native on Linux)
  • Mac OS X (native on Mac)
  • Metal (cross-platform)
  • Windows (native on Windows Vista)
  • Windows Classic (native on Windows XP)

An “X” in a look and feel’s column indicates the key is available for that look and feel.

UI defaults values are not listed here. These can vary based upon a user’s OS preferences settings for colors, sounds, and fonts. They can also change slightly from one OS update to the next.

Future versions of Java may add or remove defaults, so code defensively and always have a backup value if an expected key is not found in the defaults table.

While the CDE/Motif look and feel is available on all platforms, it is so old and unattractive that it isn’t (and shouldn’t be) used for new Java applications. Its UI defaults are not listed here.

There are many more third-party look and feels for Swing, and each has their own UI defaults. Please see the documentation for those products.

Tables: General purpose defaults

System colors

Type GTK+ Mac OS X Metal Windows Windows
Classic
activeCaption Color X X X X X
activeCaptionBorder Color X X X X X
activeCaptionText Color X X X X X
control Color X X X X X
controlDkShadow Color X X X X X
controlHighlight Color X X X X X
controlLtHighlight Color X X X X X
controlShadow Color X X X X X
controlText Color X X X X X
desktop Color X X X X X
inactiveCaption Color X X X X X
inactiveCaptionBorder Color X X X X X
inactiveCaptionText Color X X X X X
info Color X X X X X
infoText Color X X X X X
menu Color X X X X X
menuText Color X X X X X
scrollbar Color X X X X X
text Color X X X X X
textHightlight Color X X X X X
textHighlightText Color X X X X X
textInactiveText Color X X X X X
textText Color X X X X X
window Color X X X X X
windowBorder Color X X X X X
windowText Color X X X X X

Other

Type GTK+ Mac OS X Metal Windows Windows
Classic
AATextInfoPropertyKey Object X X X
html.missingImage Icon X X X
html.pendingImage Icon X X X
menuPressedItemB Color X X
menuPressedItemF Color X X
Synth.doNotSetTextAA Boolean X

Tables: Basic components

ArrowButton

Type GTK+ Mac OS X Metal Windows Windows
Classic
ArrowButton.size Integer X

Button

Type GTK+ Mac OS X Metal Windows Windows
Classic
Button.background Color X X X X X
Button.border Border X X X X X
Button.darkShadow Color X X X X X
Button.dashedRectGapHeight Integer X X
Button.dashedRectGapWidth Integer X X
Button.dashedRectGapX Integer X X
Button.dashedRectGapY Integer X X
Button.defaultButtonFollowsFocus Boolean X X X X X
Button.disabledForeground Color X X
Button.disabledShadow Color X X
Button.disabledText Color X X
Button.disabledToolBarBorderBackground Color X
Button.focus Color X X X
Button.focusInputMap InputMap X X X X X
Button.font Font X X X X X
Button.foreground Color X X X X X
Button.gradient Object X
Button.highlight Color X X X X X
Button.light Color X X X X X
Button.margin Insets X X X X
Button.rollover Boolean X X
Button.rolloverIconType String X
Button.opaque Boolean X
Button.select Color X X
Button.shadow Color X X X X X
Button.showMnemonics Boolean X X
Button.textIconGap Integer X X X X X
Button.textShiftOffset Integer X X X X X
Button.toolBarBorderBackground Color X

CheckBox

Type GTK+ Mac OS X Metal Windows Windows
Classic
CheckBox.background Color X X X X X
CheckBox.border Border X X X X X
CheckBox.darkShadow Color X X
CheckBox.disabledText Color X X
CheckBox.focus Color X X X
CheckBox.focusInputMap InputMap X X X X X
CheckBox.font Font X X X X X
CheckBox.foreground Color X X X X X
CheckBox.gradient Object X
CheckBox.highlight Color X X
CheckBox.icon Icon X X X X X
CheckBox.interiorBackground Color X X
CheckBox.light Color X X
CheckBox.margin Insets X X X X X
CheckBox.rollover Boolean X
CheckBox.select Color X
Checkbox.select (lower case b) Color X
CheckBox.shadow Color X X
CheckBox.textIconGap Integer X X X X X
CheckBox.textShiftOffset Integer X X X X X
CheckBox.totalInsets Insets X X

ComboBox

Type GTK+ Mac OS X Metal Windows Windows
Classic
ComboBox.ancestorInputMap InputMap X X X X X
ComboBox.background Color X X X X X
ComboBox.border Border X X
ComboBox.buttonBackground Color X X X X X
ComboBox.buttonDarkShadow Color X X X X X
ComboBox.buttonHighlight Color X X X X X
ComboBox.buttonShadow Color X X X X X
ComboBox.disabledBackground Color X X X X X
ComboBox.disabledForeground Color X X X X X
ComboBox.editorBorder Border X X
ComboBox.font Font X X X X X
ComboBox.foreground Color X X X X X
ComboBox.isEnterSelectablePopup Boolean X X X
ComboBox.selectionBackground Color X X X X X
ComboBox.selectionForeground Color X X X X X
ComboBox.timeFactor Integer X X X X X
ComboBox.togglePopupText String X

IconButton

Type GTK+ Mac OS X Metal Windows Windows
Classic
IconButton.font Font X

Label

Type GTK+ Mac OS X Metal Windows Windows
Classic
Label.background Color X X X X X
Label.disabledForeground Color X X X X X
Label.disabledShadow Color X X X X X
Label.font Font X X X X
Label.foreground Color XX X X X X
Label.opaque Boolean X

ProgressBar

Type GTK+ Mac OS X Metal Windows Windows
Classic
ProgressBar.background Color X X X X X
ProgressBar.border Border X X X X X
ProgressBar.cellLength Integer X X X X X
ProgressBar.cellSpacing Integer X X X X X
ProgressBar.cycleTime Integer X X X X X
ProgressBar.font Font X X X X X
ProgressBar.foreground Color X X X X X
ProgressBar.highlight Color X X
ProgressBar.horizontalSize Dimension X X X X X
ProgressBar.indeterminateInsets Insets X X
ProgressBar.repaintInterval Integer X X X X X
ProgressBar.selectionBackground Color X X X X X
ProgressBar.selectionForeground Color X X X X X
ProgressBar.shadow Color X X
ProgressBar.verticalSize Dimension X X X X X

RadioButton

Type GTK+ Mac OS X Metal Windows Windows
Classic
RadioButton.background Color X X X X X
RadioButton.border Border X X X X X
RadioButton.darkShadow Color X X X X X
RadioButton.disabledText Color X X
RadioButton.focus Color X X X
RadioButton.focusInputMap InputMap X X X X X
RadioButton.font Font X X X X X
RadioButton.foreground Color X X X X X
RadioButton.gradient Object X
RadioButton.highlight Color X X X X X
RadioButton.icon Icon X X X X X
RadioButton.interiorBackground Color X X
RadioButton.light Color X X X X X
RadioButton.margin Insets X X X X X
RadioButton.rollover Boolean X
RadioButton.select Color X X
RadioButton.shadow Color X X X X X
RadioButton.textIconGap Integer X X X X X
RadioButton.textShiftOffset Integer X X X X X
RadioButton.totalInsets Insets X X

ScrollBar

Type GTK+ Mac OS X Metal Windows Windows
Classic
ScrollBar.allowsAbsolutePositioning Boolean X X
ScrollBar.ancestorInputMap InputMap X X X X X
ScrollBar.ancestorInputMap.RightToLeft InputMap X X X X X
ScrollBar.background Color X X X X X
ScrollBar.darkShadow Color X
ScrollBar.focusInputMap InputMap X
ScrollBar.focusInputMap.RightToLeft InputMap X
ScrollBar.foreground Color X X X X X
ScrollBar.gradient Object X
ScrollBar.highlight Color X
ScrollBar.maximumThumbSize Dimension X X X X X
ScrollBar.minimumThumbSize Dimension X X X X X
ScrollBar.shadow Color X
ScrollBar.squareButtons Boolean X
ScrollBar.thumb Color X X X X X
ScrollBar.thumbDarkShadow Color X X X X X
ScrollBar.thumbHeight Integer X
ScrollBar.thumbHighlight Color X X X X X
ScrollBar.thumbShadow Color X X X X X
ScrollBar.track Color X X X X X
ScrollBar.trackForeground Color X X
ScrollBar.trackHighlight Color X X X X X
ScrollBar.trackHighlightForeground Color X X
ScrollBar.width Integer X X X X X

Separator

Type GTK+ Mac OS X Metal Windows Windows
Classic
Separator.background Color X X X X
Separator.foreground Color X X X X X
Separator.highlight Color X X X X X
Separator.insets Insets X
Separator.shadow Color X X X X X
Separator.thickness Integer X

Slider

Type GTK+ Mac OS X Metal Windows Windows
Classic
Slider.altTrackColor Color X
Slider.background Color X X X X X
Slider.focus Color X X X X X
Slider.focusGradient Object X
Slider.focusInputMap InputMap X X X X X
Slider.focusInputMap.RightToLeft InputMap X X X X X
Slider.focusInsets Insets X X X X X
Slider.font Font X X X
Slider.foreground Color X X X X X
Slider.gradient Object X
Slider.highlight Color X X X X X
Slider.horizontalSize Dimension X X X X X
Slider.horizontalThumbIcon Icon X
Slider.majorTickLength Integer X
Slider.minimumHorizontalSize Dimension X X X X X
Slider.minimumVerticalSize Dimension X X X X X
Slider.paintValue Boolean X
Slider.shadow Color X X X X X
Slider.thumbHeight Integer X
Slider.thumbWidth Integer X
Slider.tickColor Color X X X X X
Slider.trackWidth Integer X
Slider.verticalSize Dimension X X X X X
Slider.verticalThumbIcon Icon X

Spinner

Type GTK+ Mac OS X Metal Windows Windows
Classic
Spinner.ancestorInputMap InputMap X X X X X
Spinner.arrowButtonBorder Border X
Spinner.arrowButtonInsets Insets X X X
Spinner.arrowButtonSize Dimension X X X X X
Spinner.background Color X X X X X
Spinner.border Border X X X X
Spinner.disableOnBoundaryValues True X
Spinner.editorAlignment Integer X X X X
Spinner.editorBorderPainted Boolean X X X X X
Spinner.font Font X X X X X
Spinner.foreground Color X X X X X

ToggleButton

Type GTK+ Mac OS X Metal Windows Windows
Classic
ToggleButton.background Color X X X X X
ToggleButton.border Border X X X X X
ToggleButton.darkShadow Color X X X X X
ToggleButton.disabledText Color X X
ToggleButton.focus Color X X X
ToggleButton.focusInputMap InputMap X X X X X
ToggleButton.font Font X X X X X
ToggleButton.foreground Color X X X X X
ToggleButton.gradient Object X
ToggleButton.highlight Color X X X X X
ToggleButton.light Color X X X X X
ToggleButton.margin Insets X X X X X
ToggleButton.select Color X
ToggleButton.shadow Color X X X X X
ToggleButton.textIconGap Integer X X X X X
ToggleButton.textShiftOffset Integer X X X X X

ToolBarButton

Type GTK+ Mac OS X Metal Windows Windows
Classic
ToolBarButton.Insets Insets X
ToolBarButton.margin Insets X

ToolTip

Type GTK+ Mac OS X Metal Windows Windows
Classic
ToolTip.background Color X X X X X
ToolTip.backgroundInactive Color X
ToolTip.border Border X X X X X
ToolTip.borderInactive Border X
ToolTip.font Font X X X X X
ToolTip.foreground Color X X X X X
ToolTip.foregroundInactive Color X
ToolTip.hideAccelerator Boolean X

Tables: Text editing components

EditorPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
EditorPane.background Color X X X X X
EditorPane.border Border X X X X X
EditorPane.caretAspectRatio Float X
EditorPane.caretBlinkRate Integer X X X X X
EditorPane.caretForeground Color X X X X X
EditorPane.disabledBackground Color X X
EditorPane.focusInputMap InputMap X X X X X
EditorPane.font Font X X X X X
EditorPane.foreground Color X X X X X
EditorPane.inactiveBackground Color X X X
EditorPane.inactiveForeground Color X X X X X
EditorPane.margin Insets X X X X X
EditorPane.selectionBackground Color X X X X X
EditorPane.selectionForeground Color X X X X X

FormattedTextField

Type GTK+ Mac OS X Metal Windows Windows
Classic
FormattedTextField.background Color X X X X X
FormattedTextField.border Border X X X X X
FormattedTextField.caretAspectRatio Float X
FormattedTextField.caretBlinkRate Integer X X X X X
FormattedTextField.caretForeground Color X X X X X
FormattedTextField.focusInputMap InputMap X X X X X
FormattedTextField.font Font X X X X X
FormattedTextField.foreground Color X X X X X
FormattedTextField.inactiveBackground Color X X X X X
FormattedTextField.inactiveForeground Color X X X X X
FormattedTextField.margin Insets X X X X X
FormattedTextField.selectionBackground Color X X X X X
FormattedTextField.selectionForeground Color X X X X X

PasswordField

Type GTK+ Mac OS X Metal Windows Windows
Classic
PasswordField.background Color X X X X X
PasswordField.border Border X X X X X
PasswordField.caretAspectRatio Float X
PasswordField.caretBlinkRate Integer X X X X X
PasswordField.caretForeground Color X X X X X
PasswordField.disabledBackground Color X X
PasswordField.echoChar String X X X X
PasswordField.focusInputMap InputMap X X X X X
PasswordField.font Font X X X X X
PasswordField.foreground Color X X X X X
PasswordField.inactiveBackground Color X X X X X
PasswordField.inactiveForeground Color X X X X X
PasswordField.margin Insets X X X X X
PasswordField.selectionBackground Color X X X X X
PasswordField.selectionForeground Color X X X X X

TextArea

Type GTK+ Mac OS X Metal Windows Windows
Classic
TextArea.background Color X X X X X
TextArea.border Border X X X X X
TextArea.caretAspectRatio Float X
TextArea.caretBlinkRate Integer X X X X X
TextArea.caretForeground Color X X X X X
TextArea.disabledBackground Color X X
TextArea.focusInputMap InputMap X X X X X
TextArea.font Font X X X X X
TextArea.foreground Color X X X X X
TextArea.inactiveBackground Color X X X
TextArea.inactiveForeground Color X X X X X
TextArea.margin Insets X X X X X
TextArea.selectionBackground Color X X X X X
TextArea.selectionForeground Color X X X X X

TextComponent

Type GTK+ Mac OS X Metal Windows Windows
Classic
TextComponent.selectionBackgroundInactive Color X

TextField

Type GTK+ Mac OS X Metal Windows Windows
Classic
TextField.background Color X X X X X
TextField.border Border X X X X X
TextField.caretAspectRatio Float X
TextField.caretBlinkRate Integer X X X X X
TextField.caretForeground Color X X X X X
TextField.darkShadow Color X X X X X
TextField.disabledBackground Color X X
TextField.focusInputMap InputMap X X X X X
TextField.font Font X X X X X
TextField.foreground Color X X X X X
TextField.highlight Color X X X X X
TextField.inactiveBackground Color X X X X X
TextField.inactiveForeground Color X X X X X
TextField.light Color X X X X X
TextField.margin Insets X X X X X
TextField.selectionBackground Color X X X X X
TextField.selectionForeground Color X X X X X
TextField.shadow Color X X X X X

TextPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
TextPane.background Color X X X X X
TextPane.border Border X X X X X
TextPane.caretAspectRatio Float X
TextPane.caretBlinkRate Integer X X X X X
TextPane.caretForeground Color X X X X X
TextPane.disabledBackground Color X X
TextPane.focusInputMap InputMap X X X X X
TextPane.font Font X X X X X
TextPane.foreground Color X X X X X
TextPane.inactiveBackground Color X X X
TextPane.inactiveForeground Color X X X X X
TextPane.margin Insets X X X X X
TextPane.selectionBackground Color X X X X
TextPane.selectionForeground Color XX X X X X

Tables: Lists, tables, and trees

List

Type GTK+ Mac OS X Metal Windows Windows
Classic
List.background Color X X X X X
List.cellRenderer CellRenderer X X X X X
List.dropLineColor Color X X X
List.evenRowBackgroundPainter Border X
List.focusCellHighlightBorder Border X X X X X
List.focusInputMap InputMap X X X X X
List.focusInputMap.RightToLeft InputMap X X X X X
List.font Font X X X X X
List.foreground Color X X X X X
List.lockToPositionOnScroll Boolean X X
List.oddRowBackgroundPainter Border X
List.selectionBackground Color X X X X X
List.selectionForeground Color X X X X X
List.sourceListBackgroundPainter Border X
List.sourceListFocusedSelectionBackgroundPainter Border X
List.sourceListSelectionBackgroundPainter Border X
List.timeFactor Integer X X X X X

Table

Type GTK+ Mac OS X Metal Windows Windows
Classic
Table.ancestorInputMap InputMap X X X X X
Table.ancestorInputMap.RightToLeft InputMap X X X X X
Table.ascendingSortIcon Icon X X X
Table.background Color X X X X X
Table.darkShadow Color X X
Table.descendingSortIcon Icon X X X
Table.dropLineColor Color X
Table.dropLineShortColor Color X
Table.focusCellBackground Color X X X X X
Table.focusCellForeground Color X X X X X
Table.focusCellHighlightBorder Border X X X X X
Table.focusSelectedCellHighlightBorder Border X
Table.font Font X X X X X
Table.foreground Color X X X X X
Table.gridColor Color X X X X X
Table.highlight Color X X
Table.light Color X X
Table.scrollPaneBorder Border X X X X X
Table.selectionBackground Color X X X X X
Table.selectionForeground Color X X X X X
Table.shadow Color X X
Table.sortIconColor Color X X X
Table.sortIconHighlight Color X X
Table.sortIconLight Color X X

TableHeader

Type GTK+ Mac OS X Metal Windows Windows
Classic
TableHeader.ancestorInputMap InputMap X X X
TableHeader.background Color X X X X X
TableHeader.cellBorder Border X X X X X
TableHeader.focusCellBackground Color X X X
TableHeader.font Font X X X X X
TableHeader.foreground Color X X X X X

Tree

Type GTK+ Mac OS X Metal Windows Windows
Classic
Tree.ancestorInputMap InputMap X X X X X
Tree.background Color X X X X X
Tree.changeSelectionWithFocus Boolean X X X X X
Tree.closedIcon Icon X X X X
Tree.collapsedIcon Icon X X X X X
Tree.drawDashedFocusIndicator Boolean X X
Tree.drawHorizontalLines Boolean X
Tree.drawVerticalLines Boolean X
Tree.drawsFocusBorder Boolean X
Tree.drawsFocusBorderAroundIcon Boolean X X X X X
Tree.dropLineColor Color X X X
Tree.editorBorder Border X X X X X
Tree.expandedIcon Icon X X X X X
Tree.expandedSize Integer X
Tree.focusInputMap InputMap X X X X X
Tree.focusInputMap.RightToLeft InputMap X X X X X
Tree.font Font X X X X X
Tree.foreground Color X X X X X
Tree.hash Color X X X X X
Tree.leafIcon Icon X X X X
Tree.leafChildIndent Integer X X X X
Tree.leftChildIndent Integer X
Tree.line Color X X
Tree.lineTypeDashed Boolean X X X X X
Tree.openIcon Icon X X X X
Tree.padding Integer X
Tree.paintLines Boolean X X X X X
Tree.repaintWholeRow Boolean X
Tree.rightChildIndent Integer X X X X X
Tree.rowHeight Integer X X X X X
Tree.scrollsHorizontallyAndVertically Boolean X
Tree.scrollsOnExpand Boolean X X X X X
Tree.selectionBackground Color X X X X X
Tree.selectionBorderColor Color X X X X X
Tree.selectionForeground Color X X X X X
Tree.textBackground Color X X X X X
Tree.textForeground Color X X X X X
Tree.timeFactor Integer X X X X X

Tables: Panels, panes, and tool bars

Panel

Type GTK+ Mac OS X Metal Windows Windows
Classic
Panel.background Color X X X X X
Panel.font Font X X X X X
Panel.foreground Color X X X X X
Panel.opaque Boolean X

RootPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
RootPane.ancestorInputMap InputMap X X X X X
RootPane.ColorChooserDialogBorder Border X
RootPane.defaultButtonWindowKeyBindings Object X X X
RootPane.errorDialogBorder Border X X X
RootPane.fileChooserDialogBorder Border X
RootPane.frameBorder Border X
RootPane.informationDialogBorder Border X
RootPane.plainDialogBorder Border X
RootPane.questionDialogBorder Border X
RootPane.warningDialogBorder Border X

ScrollPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
ScrollPane.ancestorInputMap InputMap X X X X X
ScrollPane.ancestorInputMap.RightToLeft InputMap X X X X X
ScrollPane.background Color X X X X X
ScrollPane.border Border X X X X X
ScrollPane.font Font X X X X X
ScrollPane.foreground Color X X X X X

SplitPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
SplitPane.ancestorInputMap InputMap X X X X X
SplitPane.background Color X X X X X
SplitPane.border Border X X X X X
SplitPane.centerOneTouchButtons Boolean X
SplitPane.darkShadow Color X X X X X
SplitPane.dividerFocusColor Color X
SplitPane.dividerSize Integer X X X X X
SplitPane.highlight Color X X X X X
SplitPane.oneTouchButtonsOpaque Boolean X
SplitPane.oneTouchButtonSize Integer X
SplitPane.oneTouchOffset Integer X
SplitPane.leftButtonText String X
SplitPane.rightButtonText String X
SplitPane.shadow Color X X X X X
SplitPane.supportsOneTouchButtons Boolean X

SplitPaneDivider

Type GTK+ Mac OS X Metal Windows Windows
Classic
SplitPaneDivider.border Border X X X X
SplitPaneDivider.draggingColor Color X X X X

TabbedPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
TabbedPane.ancestorInputMap InputMap X X X X X
TabbedPane.background Color X X X X X
TabbedPane.borderHighlightColor Color X
TabbedPane.contentAreaColor Color X
TabbedPane.contentBorderInsets Insets X X X X X
TabbedPane.contentOpaque Boolean X X X X X
TabbedPane.darkShadow Color X X X X X
TabbedPane.focus Color X X X X X
TabbedPane.focusInputMap InputMap X X X X X
TabbedPane.font Font X X X X X
TabbedPane.foreground Color X X X X X
TabbedPane.highlight Color X X X X X
TabbedPane.isTabRollover Boolean X
TabbedPane.leftTabInsets Insets X
TabbedPane.light Color X X X X X
TabbedPane.opaque Boolean X
TabbedPane.rightTabInsets Insets X
TabbedPane.selectHighlight Color X
TabbedPane.selected Color X
TabbedPane.selectedTabPadInsets Insets X X X X X
TabbedPane.selectionFollowsFocus Boolean X
TabbedPane.shadow Color X X X X X
TabbedPane.smallFont Font X
TabbedPane.tabAreaBackground Color X
TabbedPane.tabAreaInsets Insets X X X X X
TabbedPane.tabInsets Insets X X X X
TabbedPane.tabRunOverlay Integer X X X X X
TabbedPane.tabsOpaque Boolean X X X X X
TabbedPane.tabsOverlapBorder Boolean X X X X X
TabbedPane.textInconGap Integer X X X X X
TabbedPane.unselectedBackground Color X
TabbedPane.useSmallLayout Boolean X

ToolBar

Type GTK+ Mac OS X Metal Windows Windows
Classic
ToolBar.ancestorInputMap InputMap X X X X X
ToolBar.background Color X X X X X
ToolBar.border Border X X X X X
ToolBar.borderColor Color X
ToolBar.darkShadow Color X X X X X
ToolBar.dockingBackground Color X X X X X
ToolBar.dockingForeground Color X X X X X
ToolBar.floatingBackground Color X X X X X
ToolBar.floatingForeground Color X X X X X
ToolBar.font Font X X X X X
ToolBar.foreground Color X X X X X
ToolBar.handleIcon Icon X
ToolBar.highlight Color X X X X X
ToolBar.isRollover Boolean X
ToolBar.light Color X X X X X
ToolBar.nonrolloverBorder Border X
ToolBar.rolloverBorder Border X
ToolBar.separatorSize Dimension X X
ToolBar.shadow Color X X X X

Viewport

Type GTK+ Mac OS X Metal Windows Windows
Classic
Viewport.background Color X X X X X
Viewport.font Font X X X X X
Viewport.foreground Color X X X X X

Tables: Menu bars, menus, and menu items

CheckBoxMenuItem

Type GTK+ Mac OS X Metal Windows Windows
Classic
CheckBoxMenuItem.acceleratorDelimiter String X
CheckBoxMenuItem.acceleratorFont Font X X X X X
CheckBoxMenuItem.acceleratorForeground Color X X X X X
CheckBoxMenuItem.acceleratorSelectionForeground Color X X X X X
CheckBoxMenuItem.arrowIcon Icon X X X X X
CheckBoxMenuItem.background Color X X X X X
CheckBoxMenuItem.border Border X X X X X
CheckBoxMenuItem.borderPainted Boolean X X X X X
CheckBoxMenuItem.checkIcon Icon X X X X X
CheckBoxMenuItem.checkIconFactory Object X X
CheckBoxMenuItem.checkIconOffset Integer X X
CheckBoxMenuItem.commandSound String X X X
CheckBoxMenuItem.disabledBackground Color X
CheckBoxMenuItem.disabledForeground Color X X
CheckBoxMenuItem.evenHeight Boolean X X
CheckBoxMenuItem.font Font X X X X X
CheckBoxMenuItem.foreground Color X X X X X
CheckBoxMenuItem.gradient Object X
CheckBoxMenuItem.margin Insets X X X X X
CheckBoxMenuItem.minimumTextOffset Integer X X
CheckBoxMenuItem.opaque Boolean X X
CheckBoxMenuItem.selectionBackground Color X X X X X
CheckBoxMenuItem.selectionForeground Color X X X X X
Type GTK+ Mac OS X Metal Windows Windows
Classic
Menu.acceleratorFont Font X X X X X
Menu.acceleratorForeground Color X X X X X
Menu.acceleratorSelectionForeground Color X X X X X
Menu.arrowIcon Icon X X X X X
Menu.background Color X X X X X
Menu.border Border X X X X X
Menu.borderPainted Boolean X X X X X
Menu.checkIcon Icon X X X X X
Menu.checkIconFactory Object X X
Menu.checkIconOffset Integer X X
Menu.consumesTabs Boolean X
Menu.crossMenuMnemonic Boolean X X X
Menu.disabledBackground Color X X
Menu.disabledForeground Color X X
Menu.evenHeight Boolean X X
Menu.font Font X X X X X
Menu.foreground Color X X X X X
Menu.margin Insets X X X X X
Menu.menuPopupOffsetX Integer X X X X X
Menu.menuPopupOffsetY Integer X X X X X
Menu.minimumTextOffset Integer X X
Menu.opaque Boolean X X X
Menu.selectionBackground Color X X X X X
Menu.selectionForeground Color X X X X X
Menu.shortcutKeys Object X X X X X
Menu.submenuPopupOffsetX Integer X X X X X
Menu.submenuPopupOffsetY Integer X X X X X
Menu.useMenuBarBackgroundForTopLevel Boolean X X
Type GTK+ Mac OS X Metal Windows Windows
Classic
MenuBar.background Color X X X X X
MenuBar.backgroundPainter Border X
MenuBar.border Border X X X X X
MenuBar.borderColor Color X
MenuBar.disabledBackground Color X
MenuBar.disabledForeground Color X
MenuBar.font Font X X X X X
MenuBar.foreground Color X X X X X
MenuBar.gradient Object X
MenuBar.height Integer X X
MenuBar.highlight Color X X X X X
MenuBar.margin Insets X
MenuBar.rolloverEnabled Boolean X X
MenuBar.selectedBackgroundPainter Border X
MenuBar.selectionBackground Color X
MenuBar.selectionForeground Color X
MenuBar.shadow Color X X X X X
MenuBar.windowBindings Object X X X X X
Type GTK+ Mac OS X Metal Windows Windows
Classic
MenuItem.acceleratorDelimiter String X X X X X
MenuItem.acceleratorFont Font X X X X X
MenuItem.acceleratorForeground Color X X X X X
MenuItem.acceleratorSelectionForeground Color X X X X X
MenuItem.arrowIcon Icon X X X X X
MenuItem.background Color X X X X X
MenuItem.border Border X X X X X
MenuItem.borderPainted Boolean X X X X X
MenuItem.checkIcon Icon X X X X
MenuItem.checkIconFactory Object X X
MenuItem.checkIconOffset Integer X X
MenuItem.commandSound String X X X
MenuItem.disabledAreNavigable Boolean X X
MenuItem.disabledBackground Color X
MenuItem.disabledForeground Color X X X X
MenuItem.evenHeight Boolean X X
MenuItem.font Font X X X X X
MenuItem.foreground Color X X X X X
MenuItem.margin Insets X X X X X
MenuItem.minimumTextOffset Integer X X
MenuItem.opaque Boolean X X
MenuItem.selectedBackgroundPainter Border X
MenuItem.selectionBackground Color X X X X X
MenuItem.selectionForeground Color X X X X X

PopupMenu

Type GTK+ Mac OS X Metal Windows Windows
Classic
PopupMenu.background Color X X X X X
PopupMenu.border Border X X X X X
PopupMenu.consumeEventOnClose Boolean X X X X X
PopupMenu.font Font X X X X X
PopupMenu.foreground Color X X X X X
PopupMenu.popupSound String X X X
PopupMenu.selectedWindowInputMapBindings Object X X X X X
PopupMenu.selectedWindowInputMapBindings.RightToLeft Object X X X X X
PopupMenu.selectionBackground Color X
PopupMenu.selectionForeground Color X

RadioButtonMenuItem

Type GTK+ Mac OS X Metal Windows Windows
Classic
RadioButtonMenuItem.acceleratorDelimiter String X
RadioButtonMenuItem.acceleratorFont Font X X X X X
RadioButtonMenuItem.acceleratorForeground Color X X X X X
RadioButtonMenuItem.acceleratorSelectionForeground Color X X X X X
RadioButtonMenuItem.arrowIcon Icon X X X X X
RadioButtonMenuItem.background Color X X X X X
RadioButtonMenuItem.border Border X X X X X
RadioButtonMenuItem.borderPainted Boolean X X X X X
RadioButtonMenuItem.checkIcon Icon X X X X X
RadioButtonMenuItem.checkIconFactory Object X X
RadioButtonMenuItem.checkIconOffset Integer X X
RadioButtonMenuItem.commandSound String X X X
RadioButtonMenuItem.disabledBackground Color X
RadioButtonMenuItem.disabledForeground Color X X X X
RadioButtonMenuItem.evenHeight Boolean X X
RadioButtonMenuItem.font Font X X X X X
RadioButtonMenuItem.foreground Color X X X X X
RadioButtonMenuItem.gradient Object X
RadioButtonMenuItem.margin Insets X X X X X
RadioButtonMenuItem.minimumTextOffset Integer X X
RadioButtonMenuItem.opaque Boolean X X
RadioButtonMenuItem.selectionBackground Color X X X X X
RadioButtonMenuItem.selectionForeground Color X X X X X

Tables: Desktop and internal frames

Desktop

Type GTK+ Mac OS X Metal Windows Windows
Classic
Desktop.ancestorInputMap InputMap X X X
Desktop.background Color X X X
Desktop.minOnScreenInsets Insets X X X

DesktopIcon

Type GTK+ Mac OS X Metal Windows Windows
Classic
DesktopIcon.background Color X
DesktopIcon.border Border X X X X X
DesktopIcon.font Font X
DesktopIcon.foreground Color X
DesktopIcon.width Integer X X X

InternalFrame

Type GTK+ Mac OS X Metal Windows Windows
Classic
InternalFrame.activeBorderColor Color X X
InternalFrame.activeTitleBackground Color X X X X
InternalFrame.activeTitleForeground Color X X X X
InternalFrame.activeTitleGradient Object X X X
InternalFrame.background Color X
InternalFrame.border Border X X X X
InternalFrame.borderColor Color X X X X X
InternalFrame.borderDarkShadow Color X X X X X
InternalFrame.borderHighlight Color X X X X X
InternalFrame.borderLight Color X X X X X
InternalFrame.borderShadow Color X X X X X
InternalFrame.borderWidth Integer X X
InternalFrame.closeButtonToolTip String X
InternalFrame.closeIcon Icon X X X X X
InternalFrame.closeSound String X X X
InternalFrame.icon Icon X X X X
InternalFrame.iconButtonToolTip String X
InternalFrame.iconifyIcon Icon X X X X X
InternalFrame.inactiveBorderColor Color X X
InternalFrame.inactiveTitleBackground Color X X X X
InternalFrame.inactiveTitleForeground Color X X X X
InternalFrame.inactiveTitleGradient Object X X
InternalFrame.layoutTitlePaneAtOrigin Boolean X X X
InternalFrame.maxButtonToolTip String X
InternalFrame.maximizeIcon Icon X X X X X
InternalFrame.maximizeSound String X X X
InternalFrame.minimizeIcon Icon X X X X X
InternalFrame.minimizeSound String X X X
InternalFrame.opaque Boolean X
InternalFrame.optionDialogBackground Color X
InternalFrame.optionDialogBorder Border X
InternalFrame.optionDialogTitleFont Color X
InternalFrame.paletteBackground Color X
InternalFrame.paletteBorder Border X
InternalFrame.paletteCloseIcon Icon X
InternalFrame.paletteTitleFont Color X
InternalFrame.paletteTitleHeight Integer X
InternalFrame.resizeIconHighlight Color X X
InternalFrame.resizeIconShadow Color X X
InternalFrame.restoreButtonToolTip String X
InternalFrame.restoreDownSound String X X X
InternalFrame.restoreUpSound String X X X
InternalFrame.titleButtonHeight Integer X X
InternalFrame.titleButtonToolTipsOn Boolean X X
InternalFrame.titleButtonWidth Integer X X
InternalFrame.titleFont Font X X X X X
InternalFrame.titlePaneHeight Integer X X
InternalFrame.useTaskBar Boolean X
InternalFrame.windowBindings Object X X X X

InternalFrameTitlePane

Type GTK+ Mac OS X Metal Windows Windows
Classic
InternalFrameTitlePane.closeButtonAcessibleName String X
InternalFrameTitlePane.closeButtonOpacity Boolean X X
InternalFrameTitlePane.closeButtonText String X
InternalFrameTitlePane.iconifyButtonAccessibleName String X
InternalFrameTitlePane.iconifyButtonOpacity Boolean X X
InternalFrameTitlePane.maximizeButtonAccessibleName String X
InternalFrameTitlePane.maximizeButtonOpacity Boolean X X
InternalFrameTitlePane.maximizeButtonText String X
InternalFrameTitlePane.minimizeButtonText String X
InternalFrameTitlePane.moveButtonText String X
InternalFrameTitlePane.restoreButtonText String X
InternalFrameTitlePane.sizeButtonText String X
InternalFrameTitlePane.titlePaneLayout Object X

Tables: Standard dialogs

ColorChooser

Type GTK+ Mac OS X Metal Windows Windows
Classic
ColorChooser.background Color X X X X X
ColorChooser.cancelText String X
ColorChooser.font Font X X X X X
ColorChooser.foreground Color X X X X X
ColorChooser.hsbBlueText String X
ColorChooser.hsbBrightnessText String X
ColorChooser.hsbDisplayMnemonicIndex Integer X
ColorChooser.hsbGreenText String X
ColorChooser.hsbHueText String X
ColorChooser.hsbNameText String X
ColorChooser.hsbRedText String X
ColorChooser.hsbSaturationText String X
ColorChooser.okText String X
ColorChooser.panels Object X
ColorChooser.previewText String X
ColorChooser.resetText String X
ColorChooser.rgbBlueText String X
ColorChooser.rgbDisplayedMnemonicIndex Integer X
ColorChooser.rgbGreenText String X
ColorChooser.rgbNameText String X
ColorChooser.rgbRedText String X
ColorChooser.sampleText String X
ColorChooser.showPreviewPanelText Boolean X
ColorChooser.swatchesDefaultRecentColor Color X X X X X
ColorChooser.swatchesDisplayedMnemonicIndex Integer X
ColorChooser.swatchesNameText String X
ColorChooser.swatchesRecentSwatchSize Dimension X X X X X
ColorChooser.swatchesRecentText String X
ColorChooser.swatchesSwatchSize Dimension X X X X X

FileChooser

Type GTK+ Mac OS X Metal Windows Windows
Classic
FileChooser.acceptAllFileFilterText String X
FileChooser.ancestorInputMap InputMap X X X X X
FileChooser.byDateText String X
FileChooser.byNameText String X
FileChooser.cancelButtonMnemonic Integer X
FileChooser.cancelButtonText String X
FileChooser.chooseButtonText String X
FileChooser.createButtonText String X
FileChooser.desktopName String X
FileChooser.detailsViewIcon Icon X X X X
FileChooser.directoryDescriptionText String X
FileChooser.directoryOpenButtonMnemonic Integer X
FileChooser.directoryOpenButtonText String X
FileChooser.fileDescriptionText String X X
FileChooser.fileNameLabelMnemonic Integer X X X X
FileChooser.fileNameLabelText String X
FileChooser.filesOfTypeLabelMnemonic Integer X X
FileChooser.filesOfTypeLabelText String X
FileChooser.helpButtonMnemonic Integer X
FileChooser.helpButtonText String X
FileChooser.homeFolderIcon Icon X X X X X
FileChooser.listFont Font X X
FileChooser.listViewBackground Color X X
FileChooser.listViewBorder Border X X
FileChooser.listViewIcon Icon X X X
FileChooser.listViewWindowsStyle Boolean X X
FileChooser.lookInLabelMnemonic Integer X X X X
FileChooser.mac.newFolder String X
FileChooser.mac.newFolder.subsequent String X
FileChooser.newFolderAccessibleName String X
FileChooser.newFolderButtonText String X
FileChooser.newFolderErrorSeparator String X
FileChooser.newFolderErrorText String X
FileChooser.newFolderExistsErrorText String X
FileChooser.newFolderIcon Icon X X X X X
FileChooser.newFolderPromptText String X
FileChooser.newFolderTitleText String X
FileChooser.noPlacesBar Boolean X X
FileChooser.openButtonMnemonic Integer X
FileChooser.openDialogText String X
FileChooser.openTitleText String X
FileChooser.readOnly Boolean X X X X X
FileChooser.saveButtonMnemonic Integer X
FileChooser.saveButtonText String X
FileChooser.saveDialogFileNameLabelText String X
FileChooser.saveDialogTitleText String X
FileChooser.saveTitleText String X
FileChooser.untitledFileName String X
FileChooser.untitledFolderName String X
FileChooser.upFolderIcon Icon X X X X X
FileChooser.updateButtonMnemonic Integer X
FileChooser.updateButtonText String X
FileChooser.useSystemExtensionHiding Boolean X X X X X
FileChooser.usesSingleFilePane Boolean X X X X X

OptionPane

Type GTK+ Mac OS X Metal Windows Windows
Classic
OptionPane.background Color X X X X X
OptionPane.border Border X X X X X
OptionPane.buttonAreaBorder Border X X X X X
OptionPane.buttonClickThreshold Integer X X X X X
OptionPane.buttonFont Font X X X
OptionPane.buttonMinimumWidth Integer X X
OptionPane.buttonOrientation Integer X
OptionPane.buttonPadding Integer X
OptionPane.cancelButtonMnemonic String X
OptionPane.cancelButtonText String X
OptionPane.errorDialog.border.background Color X
OptionPane.errorDialog.titlePane.background Color X
OptionPane.errorDialog.titlePane.foreground Color X
OptionPane.errorDialog.titlePane.shadow Color X
OptionPane.errorIcon Icon X X X X X
OptioinPane.errorSound String X X X
OptionPane.font Font X X X X X
OptionPane.foreground Color X X X X X
OptionPane.informationIcon Icon X X X X X
OptionPane.informationSound String X X X
OptionPane.inputDialogTitle String X
OptionPane.isYesLast Boolean X
OptionPane.messageAreaBorder Border X X X X X
OptionPane.messageDialogTitle String X
OptionPane.messageFont Font X X X
OptionPane.messageForeground Color X X X X X
OptionPane.minimumSize Dimension X X X X X
OptionPane.noButtonMnemonic String X
OptionPane.noButtonText String X
OptionPane.okButtonMnemonic String X
OptionPane.okButtonMnemonic String X
OptionPane.okButtonText String X
OptionPane.questionDialog.border.background Color X
OptionPane.questionDialog.titlePane.background Color X
OptionPane.questionDialog.titlePane.foreground Color X
OptionPane.questionDialog.titlePane.shadow Color X
OptionPane.questionIcon Icon X X X X
OptionPane.questionSound String X X X
OptionPane.sameSizeButtons Boolean X
OptionPane.setButtonMargin Boolean X
OptionPane.titleText String X
OptionPane.warningDialog.border.background Color X
OptionPane.warningDialog.titlePane.background Color X
OptionPane.warningDialog.titlePane.foreground Color X
OptionPane.warningDialog.titlePane.shadow Color X
OptionPane.warningIcon Icon X X X X X
OptionPane.warningSound String X X X
OptionPane.windowBindings Object X X X X X
OptionPane.yesButtonMnemonic String X
OptionPane.yesButtonText String X

PrintingDialog

Type GTK+ Mac OS X Metal Windows Windows
Classic
PrintingDialog.abortButtonText String X
PrintingDialog.abortButtonToolTipText String X
PrintingDialog.contentAbortingText String X
PrintingDialog.contentInitialText String X
PrintingDialog.contentProgressText String X
PrintingDialog.titleAbortingText String X
PrintingDialog.titleProgressText String X

Tables: Borders

InsetBorder

Type GTK+ Mac OS X Metal Windows Windows
Classic
InsetBorder.aquaVariant Border X

TitledBorder

Type GTK+ Mac OS X Metal Windows Windows
Classic
TitledBorder.aquaVariant Border X
TitledBorder.border Border X X X X X
TitledBorder.font Font X X X X X
TitledBorder.titleColor Color X X X X X

Tables: Miscellaneous defaults

AbstractUndoableEdit

Type GTK+ Mac OS X Metal Windows Windows
Classic
AbstractUndoableEdit.redoText String X
AbstractUndoableEdit.undoText String X

Application

Type GTK+ Mac OS X Metal Windows Windows
Classic
Application.useSystemFontSettings Boolean X X

AuditoryCues

Type GTK+ Mac OS X Metal Windows Windows
Classic
AuditoryCues.allAuditoryCues Object X X X X
AuditoryCues.cueList Object X X X X
AuditoryCues.noAuditoryCues Object X X X X

FileView

Type GTK+ Mac OS X Metal Windows Windows
Classic
FileView.computerIcon Icon X X X X X
FileView.directoryIcon Icon X X X X X
FileView.fileIcon Icon X X X X X
FileView.floppyDriveIcon Icon X X X X X
FileView.hardDriveIcon Icon X X X X X

Focus

Type GTK+ Mac OS X Metal Windows Windows
Classic
Focus.Color Color X

IsindexView

Type GTK+ Mac OS X Metal Windows Windows
Classic
IsindexView.prompt String X

ProgressMonitor

Type GTK+ Mac OS X Metal Windows Windows
Classic
ProgressMonitor.progressText String X

ToolTipManager

Type GTK+ Mac OS X Metal Windows Windows
Classic
ToolTipManager.enableToolTipMode String X X X

read count : 1

TOP