提交 6f6e9d4c 编写于 作者: T tbell

Merge

......@@ -504,7 +504,7 @@ public class GIFImageReader extends ImageReader {
}
// Found position of metadata for image 0
imageStartPosition.add(new Long(stream.getStreamPosition()));
imageStartPosition.add(Long.valueOf(stream.getStreamPosition()));
} catch (IOException e) {
throw new IIOException("I/O error reading header!", e);
}
......
......@@ -98,7 +98,7 @@ class GIFWritableImageMetadata extends GIFImageMetadata {
try {
return data.getBytes("ISO-8859-1");
} catch (UnsupportedEncodingException e) {
return (new String("")).getBytes();
return "".getBytes();
}
}
......
......@@ -328,7 +328,7 @@ class GTKColorChooserPanel extends AbstractColorChooserPanel implements
setHSB(hue, saturation, brightness);
if (update) {
settingColor = true;
hueSpinner.setValue(new Integer((int)(hue * 360)));
hueSpinner.setValue(Integer.valueOf((int)(hue * 360)));
settingColor = false;
}
}
......@@ -376,8 +376,8 @@ class GTKColorChooserPanel extends AbstractColorChooserPanel implements
setHSB(hue, s, b);
if (update) {
settingColor = true;
saturationSpinner.setValue(new Integer((int)(s * 255)));
valueSpinner.setValue(new Integer((int)(b * 255)));
saturationSpinner.setValue(Integer.valueOf((int)(s * 255)));
valueSpinner.setValue(Integer.valueOf((int)(b * 255)));
settingColor = false;
}
}
......@@ -391,9 +391,9 @@ class GTKColorChooserPanel extends AbstractColorChooserPanel implements
setColor(color, false, true, true);
settingColor = true;
hueSpinner.setValue(new Integer((int)(hue * 360)));
saturationSpinner.setValue(new Integer((int)(saturation * 255)));
valueSpinner.setValue(new Integer((int)(brightness * 255)));
hueSpinner.setValue(Integer.valueOf((int)(hue * 360)));
saturationSpinner.setValue(Integer.valueOf((int)(saturation * 255)));
valueSpinner.setValue(Integer.valueOf((int)(brightness * 255)));
settingColor = false;
}
......@@ -409,9 +409,9 @@ class GTKColorChooserPanel extends AbstractColorChooserPanel implements
setColor(color, false, false, true);
settingColor = true;
redSpinner.setValue(new Integer(color.getRed()));
greenSpinner.setValue(new Integer(color.getGreen()));
blueSpinner.setValue(new Integer(color.getBlue()));
redSpinner.setValue(Integer.valueOf(color.getRed()));
greenSpinner.setValue(Integer.valueOf(color.getGreen()));
blueSpinner.setValue(Integer.valueOf(color.getBlue()));
settingColor = false;
}
......@@ -454,13 +454,13 @@ class GTKColorChooserPanel extends AbstractColorChooserPanel implements
colorNameTF.setText("#" + hexString.substring(1));
if (updateSpinners) {
redSpinner.setValue(new Integer(color.getRed()));
greenSpinner.setValue(new Integer(color.getGreen()));
blueSpinner.setValue(new Integer(color.getBlue()));
redSpinner.setValue(Integer.valueOf(color.getRed()));
greenSpinner.setValue(Integer.valueOf(color.getGreen()));
blueSpinner.setValue(Integer.valueOf(color.getBlue()));
hueSpinner.setValue(new Integer((int)(hue * 360)));
saturationSpinner.setValue(new Integer((int)(saturation * 255)));
valueSpinner.setValue(new Integer((int)(brightness * 255)));
hueSpinner.setValue(Integer.valueOf((int)(hue * 360)));
saturationSpinner.setValue(Integer.valueOf((int)(saturation * 255)));
valueSpinner.setValue(Integer.valueOf((int)(brightness * 255)));
}
settingColor = false;
}
......
......@@ -97,14 +97,11 @@ class GTKFileChooserUI extends SynthFileChooserUI {
private static final Dimension hstrut3 = new Dimension(3, 1);
private static final Dimension vstrut10 = new Dimension(1, 10);
private static final Insets insets = new Insets(10, 10, 10, 10);
private static Dimension prefListSize = new Dimension(75, 150);
private static Dimension PREF_SIZE = new Dimension(435, 360);
private static Dimension MIN_SIZE = new Dimension(200, 300);
private static Dimension PREF_ACC_SIZE = new Dimension(10, 10);
private static Dimension ZERO_ACC_SIZE = new Dimension(1, 1);
private static Dimension MAX_SIZE = new Dimension(Short.MAX_VALUE, Short.MAX_VALUE);
......@@ -125,7 +122,6 @@ class GTKFileChooserUI extends SynthFileChooserUI {
private JPanel bottomButtonPanel;
private GTKDirectoryModel model = null;
private Action newFolderAction;
private JPanel interior;
private boolean readOnly;
private boolean showDirectoryIcons;
private boolean showFileIcons;
......@@ -710,15 +706,19 @@ class GTKFileChooserUI extends SynthFileChooserUI {
bottomButtonPanel.setName("GTKFileChooser.bottomButtonPanel");
align(bottomButtonPanel);
JPanel pnButtons = new JPanel(new GridLayout(1, 2, 5, 0));
JButton cancelButton = getCancelButton(fc);
align(cancelButton);
cancelButton.setMargin(buttonMargin);
bottomButtonPanel.add(cancelButton);
pnButtons.add(cancelButton);
JButton approveButton = getApproveButton(fc);;
JButton approveButton = getApproveButton(fc);
align(approveButton);
approveButton.setMargin(buttonMargin);
bottomButtonPanel.add(approveButton);
pnButtons.add(approveButton);
bottomButtonPanel.add(pnButtons);
if (fc.getControlButtonsAreShown()) {
fc.add(bottomButtonPanel, BorderLayout.SOUTH);
......@@ -1108,7 +1108,7 @@ class GTKFileChooserUI extends SynthFileChooserUI {
// Get the canonical (full) path. This has the side
// benefit of removing extraneous chars from the path,
// for example /foo/bar/ becomes /foo/bar
File canonical = null;
File canonical;
try {
canonical = fsv.createFileObject(ShellFolder.getNormalizedFile(directory).getPath());
} catch (IOException e) {
......
......@@ -336,7 +336,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
// populate the table with the values from basic.
super.initComponentDefaults(table);
Integer zero = new Integer(0);
Integer zero = Integer.valueOf(0);
Object zeroBorder = new sun.swing.SwingLazyValue(
"javax.swing.plaf.BorderUIResource$EmptyBorderUIResource",
new Object[] {zero, zero, zero, zero});
......@@ -371,7 +371,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
int vProgWidth = 22 - (progXThickness * 2);
int vProgHeight = 80 - (progYThickness * 2);
Integer caretBlinkRate = new Integer(500);
Integer caretBlinkRate = Integer.valueOf(500);
Insets zeroInsets = new InsetsUIResource(0, 0, 0, 0);
Double defaultCaretAspectRatio = new Double(0.025);
......@@ -540,7 +540,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
}
Object[] defaults = new Object[] {
"ArrowButton.size", new Integer(13),
"ArrowButton.size", Integer.valueOf(13),
"Button.defaultButtonFollowsFocus", Boolean.FALSE,
......@@ -893,8 +893,8 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
"ScrollBar.squareButtons", Boolean.FALSE,
"ScrollBar.thumbHeight", new Integer(14),
"ScrollBar.width", new Integer(16),
"ScrollBar.thumbHeight", Integer.valueOf(14),
"ScrollBar.width", Integer.valueOf(16),
"ScrollBar.minimumThumbSize", new Dimension(8, 8),
"ScrollBar.maximumThumbSize", new Dimension(4096, 4096),
"ScrollBar.allowsAbsolutePositioning", Boolean.TRUE,
......@@ -954,12 +954,12 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
"Separator.insets", zeroInsets,
"Separator.thickness", new Integer(2),
"Separator.thickness", Integer.valueOf(2),
"Slider.paintValue", Boolean.TRUE,
"Slider.thumbWidth", new Integer(30),
"Slider.thumbHeight", new Integer(14),
"Slider.thumbWidth", Integer.valueOf(30),
"Slider.thumbHeight", Integer.valueOf(14),
"Slider.focusInputMap",
new UIDefaults.LazyInputMap(new Object[] {
"RIGHT", "positiveUnitIncrement",
......@@ -982,7 +982,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
"LEFT", "positiveUnitIncrement",
"KP_LEFT", "positiveUnitIncrement",
}),
"Slider.onlyLeftMouseButtonDrag", Boolean.FALSE,
"Spinner.ancestorInputMap",
new UIDefaults.LazyInputMap(new Object[] {
......@@ -1013,9 +1013,9 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
}),
"SplitPane.size", new Integer(7),
"SplitPane.oneTouchOffset", new Integer(2),
"SplitPane.oneTouchButtonSize", new Integer(5),
"SplitPane.size", Integer.valueOf(7),
"SplitPane.oneTouchOffset", Integer.valueOf(2),
"SplitPane.oneTouchButtonSize", Integer.valueOf(5),
"SplitPane.supportsOneTouchButtons", Boolean.FALSE,
......@@ -1223,13 +1223,13 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
"ToolTip.font", new FontLazyValue(Region.TOOL_TIP),
"Tree.padding", new Integer(4),
"Tree.padding", Integer.valueOf(4),
"Tree.background", tableBg,
"Tree.drawHorizontalLines", Boolean.FALSE,
"Tree.drawVerticalLines", Boolean.FALSE,
"Tree.rowHeight", new Integer(-1),
"Tree.rowHeight", Integer.valueOf(-1),
"Tree.scrollsOnExpand", Boolean.FALSE,
"Tree.expanderSize", new Integer(10),
"Tree.expanderSize", Integer.valueOf(10),
"Tree.repaintWholeRow", Boolean.TRUE,
"Tree.closedIcon", null,
"Tree.leafIcon", null,
......@@ -1240,8 +1240,8 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
"Tree.collapsedIcon", new GTKStyle.GTKLazyValue(
"com.sun.java.swing.plaf.gtk.GTKIconFactory",
"getTreeCollapsedIcon"),
"Tree.leftChildIndent", new Integer(2),
"Tree.rightChildIndent", new Integer(12),
"Tree.leftChildIndent", Integer.valueOf(2),
"Tree.rightChildIndent", Integer.valueOf(12),
"Tree.scrollsHorizontallyAndVertically", Boolean.FALSE,
"Tree.drawsFocusBorder", Boolean.TRUE,
"Tree.focusInputMap",
......
......@@ -851,7 +851,7 @@ class GTKStyle extends SynthStyle implements GTKConstants {
int focusLineWidth = getClassSpecificIntValue(context,
"focus-line-width", 0);
if (value == null && focusLineWidth > 0) {
value = new Integer(16 + 2 * focusLineWidth);
value = Integer.valueOf(16 + 2 * focusLineWidth);
}
}
return value;
......@@ -975,12 +975,12 @@ class GTKStyle extends SynthStyle implements GTKConstants {
private static void initIconTypeMap() {
ICON_TYPE_MAP = new HashMap<String,Integer>();
ICON_TYPE_MAP.put("gtk-menu", new Integer(1));
ICON_TYPE_MAP.put("gtk-small-toolbar", new Integer(2));
ICON_TYPE_MAP.put("gtk-large-toolbar", new Integer(3));
ICON_TYPE_MAP.put("gtk-button", new Integer(4));
ICON_TYPE_MAP.put("gtk-dnd", new Integer(5));
ICON_TYPE_MAP.put("gtk-dialog", new Integer(6));
ICON_TYPE_MAP.put("gtk-menu", Integer.valueOf(1));
ICON_TYPE_MAP.put("gtk-small-toolbar", Integer.valueOf(2));
ICON_TYPE_MAP.put("gtk-large-toolbar", Integer.valueOf(3));
ICON_TYPE_MAP.put("gtk-button", Integer.valueOf(4));
ICON_TYPE_MAP.put("gtk-dnd", Integer.valueOf(5));
ICON_TYPE_MAP.put("gtk-dialog", Integer.valueOf(6));
}
}
......
......@@ -178,7 +178,7 @@ class Metacity implements SynthConstants {
name = child.getNodeName();
Object value = null;
if ("distance".equals(name)) {
value = new Integer(getIntAttr(child, "value", 0));
value = Integer.valueOf(getIntAttr(child, "value", 0));
} else if ("border".equals(name)) {
value = new Insets(getIntAttr(child, "top", 0),
getIntAttr(child, "left", 0),
......@@ -808,7 +808,7 @@ class Metacity implements SynthConstants {
protected void setFrameGeometry(JComponent titlePane, Map gm) {
this.frameGeometry = gm;
if (getInt("top_height") == 0 && titlePane != null) {
gm.put("top_height", new Integer(titlePane.getHeight()));
gm.put("top_height", Integer.valueOf(titlePane.getHeight()));
}
}
......
......@@ -225,15 +225,15 @@ public class MotifGraphicsUtils implements SwingConstants
if(b.getIcon() != null) {
Icon icon;
if(!model.isEnabled()) {
icon = (Icon) b.getDisabledIcon();
icon = b.getDisabledIcon();
} else if(model.isPressed() && model.isArmed()) {
icon = (Icon) b.getPressedIcon();
icon = b.getPressedIcon();
if(icon == null) {
// Use default icon
icon = (Icon) b.getIcon();
icon = b.getIcon();
}
} else {
icon = (Icon) b.getIcon();
icon = b.getIcon();
}
if (icon!=null) {
......
......@@ -86,18 +86,18 @@ public class MotifInternalFrameTitlePane
protected void assembleSystemMenu() {
systemMenu = new JPopupMenu();
JMenuItem mi = (JMenuItem)systemMenu.add(new JMenuItem(restoreAction));
JMenuItem mi = systemMenu.add(new JMenuItem(restoreAction));
mi.setMnemonic('R');
mi = (JMenuItem) systemMenu.add(new JMenuItem(moveAction));
mi = systemMenu.add(new JMenuItem(moveAction));
mi.setMnemonic('M');
mi = (JMenuItem) systemMenu.add(new JMenuItem(sizeAction));
mi = systemMenu.add(new JMenuItem(sizeAction));
mi.setMnemonic('S');
mi = (JMenuItem) systemMenu.add(new JMenuItem(iconifyAction));
mi = systemMenu.add(new JMenuItem(iconifyAction));
mi.setMnemonic('n');
mi = (JMenuItem) systemMenu.add(new JMenuItem(maximizeAction));
mi = systemMenu.add(new JMenuItem(maximizeAction));
mi.setMnemonic('x');
systemMenu.add(new JSeparator());
mi = (JMenuItem) systemMenu.add(new JMenuItem(closeAction));
mi = systemMenu.add(new JMenuItem(closeAction));
mi.setMnemonic('C');
systemButton = new SystemButton();
......@@ -157,7 +157,7 @@ public class MotifInternalFrameTitlePane
}
public void propertyChange(PropertyChangeEvent evt) {
String prop = (String)evt.getPropertyName();
String prop = evt.getPropertyName();
JInternalFrame f = (JInternalFrame)evt.getSource();
boolean value = false;
if (JInternalFrame.IS_SELECTED_PROPERTY.equals(prop)) {
......
......@@ -290,7 +290,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
Object unselectedTabBackground = new UIDefaults.LazyValue() {
public Object createValue(UIDefaults table) {
Color c = (Color)table.getColor("control");
Color c = table.getColor("control");
return new ColorUIResource(Math.max((int)(c.getRed()*.85),0),
Math.max((int)(c.getGreen()*.85),0),
Math.max((int)(c.getBlue()*.85),0));
......@@ -299,7 +299,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
Object unselectedTabForeground = new UIDefaults.LazyValue() {
public Object createValue(UIDefaults table) {
Color c = (Color)table.getColor("controlText");
Color c = table.getColor("controlText");
return new ColorUIResource(Math.max((int)(c.getRed()*.85),0),
Math.max((int)(c.getGreen()*.85),0),
Math.max((int)(c.getBlue()*.85),0));
......@@ -308,7 +308,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
Object unselectedTabShadow = new UIDefaults.LazyValue() {
public Object createValue(UIDefaults table) {
Color c = (Color)table.getColor("control");
Color c = table.getColor("control");
Color base = new Color(Math.max((int)(c.getRed()*.85),0),
Math.max((int)(c.getGreen()*.85),0),
Math.max((int)(c.getBlue()*.85),0));
......@@ -318,7 +318,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
Object unselectedTabHighlight = new UIDefaults.LazyValue() {
public Object createValue(UIDefaults table) {
Color c = (Color)table.getColor("control");
Color c = table.getColor("control");
Color base = new Color(Math.max((int)(c.getRed()*.85),0),
Math.max((int)(c.getGreen()*.85),0),
Math.max((int)(c.getBlue()*.85),0));
......@@ -567,7 +567,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"ProgressBar.selectionBackground", table.get("controlText"),
"ProgressBar.border", loweredBevelBorder,
"ProgressBar.cellLength", new Integer(6),
"ProgressBar.cellSpacing", new Integer(0),
"ProgressBar.cellSpacing", Integer.valueOf(0),
// Buttons
"Button.margin", new InsetsUIResource(2, 4, 2, 4),
......@@ -859,7 +859,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"SplitPane.background", table.get("control"),
"SplitPane.highlight", table.get("controlHighlight"),
"SplitPane.shadow", table.get("controlShadow"),
"SplitPane.dividerSize", new Integer(20),
"SplitPane.dividerSize", Integer.valueOf(20),
"SplitPane.activeThumb", table.get("activeCaptionBorder"),
"SplitPane.ancestorInputMap",
new UIDefaults.LazyInputMap(new Object[] {
......@@ -1160,7 +1160,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
}),
"TextField.caretForeground", black,
"TextField.caretBlinkRate", new Integer(500),
"TextField.caretBlinkRate", Integer.valueOf(500),
"TextField.inactiveForeground", table.get("textInactiveText"),
"TextField.selectionBackground", table.get("textHighlight"),
"TextField.selectionForeground", table.get("textHighlightText"),
......@@ -1171,7 +1171,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"TextField.focusInputMap", fieldInputMap,
"PasswordField.caretForeground", black,
"PasswordField.caretBlinkRate", new Integer(500),
"PasswordField.caretBlinkRate", Integer.valueOf(500),
"PasswordField.inactiveForeground", table.get("textInactiveText"),
"PasswordField.selectionBackground", table.get("textHighlight"),
"PasswordField.selectionForeground", table.get("textHighlightText"),
......@@ -1182,7 +1182,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"PasswordField.focusInputMap", passwordInputMap,
"TextArea.caretForeground", black,
"TextArea.caretBlinkRate", new Integer(500),
"TextArea.caretBlinkRate", Integer.valueOf(500),
"TextArea.inactiveForeground", table.get("textInactiveText"),
"TextArea.selectionBackground", table.get("textHighlight"),
"TextArea.selectionForeground", table.get("textHighlightText"),
......@@ -1193,7 +1193,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"TextArea.focusInputMap", multilineInputMap,
"TextPane.caretForeground", black,
"TextPane.caretBlinkRate", new Integer(500),
"TextPane.caretBlinkRate", Integer.valueOf(500),
"TextPane.inactiveForeground", table.get("textInactiveText"),
"TextPane.selectionBackground", lightGray,
"TextPane.selectionForeground", table.get("textHighlightText"),
......@@ -1204,7 +1204,7 @@ public class MotifLookAndFeel extends BasicLookAndFeel
"TextPane.focusInputMap", multilineInputMap,
"EditorPane.caretForeground", red,
"EditorPane.caretBlinkRate", new Integer(500),
"EditorPane.caretBlinkRate", Integer.valueOf(500),
"EditorPane.inactiveForeground", table.get("textInactiveText"),
"EditorPane.selectionBackground", lightGray,
"EditorPane.selectionForeground", table.get("textHighlightText"),
......
......@@ -299,9 +299,9 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
initResourceBundle(table);
// *** Shared Fonts
Integer twelve = new Integer(12);
Integer fontPlain = new Integer(Font.PLAIN);
Integer fontBold = new Integer(Font.BOLD);
Integer twelve = Integer.valueOf(12);
Integer fontPlain = Integer.valueOf(Font.PLAIN);
Integer fontBold = Integer.valueOf(Font.BOLD);
Object dialogPlain12 = new SwingLazyValue(
"javax.swing.plaf.FontUIResource",
......@@ -522,19 +522,19 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
toolkit);
Object WindowBorderWidth = new DesktopProperty(
"win.frame.sizingBorderWidth",
new Integer(1),
Integer.valueOf(1),
toolkit);
Object TitlePaneHeight = new DesktopProperty(
"win.frame.captionHeight",
new Integer(18),
Integer.valueOf(18),
toolkit);
Object TitleButtonWidth = new DesktopProperty(
"win.frame.captionButtonWidth",
new Integer(16),
Integer.valueOf(16),
toolkit);
Object TitleButtonHeight = new DesktopProperty(
"win.frame.captionButtonHeight",
new Integer(16),
Integer.valueOf(16),
toolkit);
Object InactiveTextColor = new DesktopProperty(
"win.text.grayedTextColor",
......@@ -567,7 +567,7 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
Object IconFont = ControlFont;
Object scrollBarWidth = new DesktopProperty("win.scrollbar.width",
new Integer(16), toolkit);
Integer.valueOf(16), toolkit);
Object menuBarHeight = new DesktopProperty("win.menu.height",
null, toolkit);
......@@ -673,12 +673,12 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"Button.disabledForeground", InactiveTextColor,
"Button.disabledShadow", ControlHighlightColor,
"Button.focus", black,
"Button.dashedRectGapX", new XPValue(new Integer(3), new Integer(5)),
"Button.dashedRectGapY", new XPValue(new Integer(3), new Integer(4)),
"Button.dashedRectGapWidth", new XPValue(new Integer(6), new Integer(10)),
"Button.dashedRectGapHeight", new XPValue(new Integer(6), new Integer(8)),
"Button.textShiftOffset", new XPValue(new Integer(0),
new Integer(1)),
"Button.dashedRectGapX", new XPValue(Integer.valueOf(3), Integer.valueOf(5)),
"Button.dashedRectGapY", new XPValue(Integer.valueOf(3), Integer.valueOf(4)),
"Button.dashedRectGapWidth", new XPValue(Integer.valueOf(6), Integer.valueOf(10)),
"Button.dashedRectGapHeight", new XPValue(Integer.valueOf(6), Integer.valueOf(8)),
"Button.textShiftOffset", new XPValue(Integer.valueOf(0),
Integer.valueOf(1)),
// W2K keyboard navigation hidding.
"Button.showMnemonics", showMnemonics,
"Button.focusInputMap",
......@@ -780,7 +780,7 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
}),
// DesktopIcon
"DesktopIcon.width", new Integer(160),
"DesktopIcon.width", Integer.valueOf(160),
"EditorPane.font", ControlFont,
"EditorPane.background", WindowBackgroundColor,
......@@ -814,9 +814,9 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"icons/NewFolder.gif"),
"FileChooser.useSystemExtensionHiding", Boolean.TRUE,
"FileChooser.lookInLabelMnemonic", new Integer(KeyEvent.VK_I),
"FileChooser.fileNameLabelMnemonic", new Integer(KeyEvent.VK_N),
"FileChooser.filesOfTypeLabelMnemonic", new Integer(KeyEvent.VK_T),
"FileChooser.lookInLabelMnemonic", Integer.valueOf(KeyEvent.VK_I),
"FileChooser.fileNameLabelMnemonic", Integer.valueOf(KeyEvent.VK_N),
"FileChooser.filesOfTypeLabelMnemonic", Integer.valueOf(KeyEvent.VK_T),
"FileChooser.usesSingleFilePane", Boolean.TRUE,
"FileChooser.noPlacesBar", new DesktopProperty("win.comdlg.noPlacesBar",
Boolean.FALSE, toolkit),
......@@ -1021,10 +1021,10 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"Menu.selectionBackground", SelectionBackgroundColor,
"Menu.acceleratorForeground", MenuTextColor,
"Menu.acceleratorSelectionForeground", SelectionTextColor,
"Menu.menuPopupOffsetX", new Integer(0),
"Menu.menuPopupOffsetY", new Integer(0),
"Menu.submenuPopupOffsetX", new Integer(-4),
"Menu.submenuPopupOffsetY", new Integer(-3),
"Menu.menuPopupOffsetX", Integer.valueOf(0),
"Menu.menuPopupOffsetY", Integer.valueOf(0),
"Menu.submenuPopupOffsetX", Integer.valueOf(-4),
"Menu.submenuPopupOffsetY", Integer.valueOf(-3),
"Menu.crossMenuMnemonic", Boolean.FALSE,
"Menu.preserveTopLevelSelection", Boolean.TRUE,
......@@ -1184,8 +1184,8 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"ProgressBar.highlight", ControlHighlightColor,
"ProgressBar.selectionForeground", ControlBackgroundColor,
"ProgressBar.selectionBackground", SelectionBackgroundColor,
"ProgressBar.cellLength", new Integer(7),
"ProgressBar.cellSpacing", new Integer(2),
"ProgressBar.cellLength", Integer.valueOf(7),
"ProgressBar.cellSpacing", Integer.valueOf(2),
"ProgressBar.indeterminateInsets", new Insets(3, 3, 3, 3),
// *** RootPane.
......@@ -1292,7 +1292,7 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"SplitPane.highlight", ControlHighlightColor,
"SplitPane.shadow", ControlShadowColor,
"SplitPane.darkShadow", ControlDarkShadowColor,
"SplitPane.dividerSize", new Integer(5),
"SplitPane.dividerSize", Integer.valueOf(5),
"SplitPane.ancestorInputMap",
new UIDefaults.LazyInputMap(new Object[] {
"UP", "negativeIncrement",
......@@ -1496,7 +1496,7 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"ToggleButton.light", ControlLightColor,
"ToggleButton.highlight", ControlHighlightColor,
"ToggleButton.focus", ControlTextColor,
"ToggleButton.textShiftOffset", new Integer(1),
"ToggleButton.textShiftOffset", Integer.valueOf(1),
"ToggleButton.focusInputMap",
new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
......@@ -1548,8 +1548,8 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
"Tree.background", WindowBackgroundColor,
"Tree.foreground", WindowTextColor,
"Tree.hash", gray,
"Tree.leftChildIndent", new Integer(8),
"Tree.rightChildIndent", new Integer(11),
"Tree.leftChildIndent", Integer.valueOf(8),
"Tree.rightChildIndent", Integer.valueOf(11),
"Tree.textForeground", WindowTextColor,
"Tree.textBackground", WindowBackgroundColor,
"Tree.selectionForeground", SelectionTextColor,
......@@ -2488,18 +2488,18 @@ public class WindowsLookAndFeel extends BasicLookAndFeel
private int direction;
XPDLUValue(int xpdlu, int classicdlu, int direction) {
super(new Integer(xpdlu), new Integer(classicdlu));
super(Integer.valueOf(xpdlu), Integer.valueOf(classicdlu));
this.direction = direction;
}
public Object getXPValue(UIDefaults table) {
int px = dluToPixels(((Integer)xpValue).intValue(), direction);
return new Integer(px);
return Integer.valueOf(px);
}
public Object getClassicValue(UIDefaults table) {
int px = dluToPixels(((Integer)classicValue).intValue(), direction);
return new Integer(px);
return Integer.valueOf(px);
}
}
......
......@@ -23,18 +23,10 @@
* have any questions.
*/
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat;
......
......@@ -27,19 +27,9 @@
<!--
The contents of this file are subject to the Sun Public License
Version 1.0 (the "License"); you may not use this file except in
compliance with the License. A copy of the License is available at
http://www.sun.com/, and in the file LICENSE.html in the
doc directory.
The Original Code is HAT. The Initial Developer of the
Original Code is Bill Foote, with contributions from others
at JavaSoft/Sun. Portions created by Bill Foote and others
at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
In addition to the formal license, I ask that you don't
change the history or donations files without permission.
at JavaSoft/Sun.
-->
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.model;
......
/*
* Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.oql;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.oql;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.oql;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.oql;
......
/*
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -23,21 +23,11 @@
* have any questions.
*/
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -23,21 +23,11 @@
* have any questions.
*/
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.parser;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,20 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,20 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.server;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.util;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.util;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -25,20 +25,9 @@
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.util;
......
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.util;
......
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -24,19 +24,10 @@
*/
/* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
/*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
* at JavaSoft/Sun.
*/
package com.sun.tools.hat.internal.util;
......
......@@ -23,22 +23,10 @@
* have any questions.
*/
/*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/, and in the file LICENSE.html in the
* doc directory.
*
* The Original Code is HAT. The Initial Developer of the
* Original Code is Bill Foote, with contributions from others
* at JavaSoft/Sun. Portions created by Bill Foote and others
* at Javasoft/Sun are Copyright (C) 1997-2004. All Rights Reserved.
*
* In addition to the formal license, I ask that you don't
* change the history or donations files without permission.
*
* at JavaSoft/Sun.
*/
var hatPkg = Packages.com.sun.tools.hat.internal;
......
......@@ -597,7 +597,7 @@ public class Button extends Component implements Accessible {
public String getAccessibleActionDescription(int i) {
if (i == 0) {
// [[[PENDING: WDW -- need to provide a localized string]]]
return new String("click");
return "click";
} else {
return null;
}
......
......@@ -51,6 +51,7 @@ import java.awt.color.ColorSpace;
* http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html
* </A>.
* <p>
* @version 10 Feb 1997
* @author Sami Shaio
* @author Arthur van Hoff
* @see ColorSpace
......@@ -1176,23 +1177,32 @@ public class Color implements Paint, java.io.Serializable {
}
/**
* Creates and returns a {@link PaintContext} used to generate a solid
* color pattern. This enables a <code>Color</code> object to be used
* as an argument to any method requiring an object implementing the
* {@link Paint} interface.
* The same <code>PaintContext</code> is returned, regardless of
* whether or not <code>r</code>, <code>r2d</code>,
* <code>xform</code>, or <code>hints</code> are <code>null</code>.
* @param cm the specified <code>ColorModel</code>
* @param r the specified {@link Rectangle}
* @param r2d the specified {@link Rectangle2D}
* @param xform the specified {@link AffineTransform}
* @param hints the specified {@link RenderingHints}
* @return a <code>PaintContext</code> that is used to generate a
* solid color pattern.
* Creates and returns a {@link PaintContext} used to
* generate a solid color field pattern.
* See the {@link Paint#createContext specification} of the
* method in the {@link Paint} interface for information
* on null parameter handling.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param r the device space bounding box
* of the graphics primitive being rendered.
* @param r2d the user space bounding box
* of the graphics primitive being rendered.
* @param xform the {@link AffineTransform} from user
* space into device space.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* @return the {@code PaintContext} for
* generating color patterns.
* @see Paint
* @see PaintContext
* @see Graphics2D#setPaint
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public synchronized PaintContext createContext(ColorModel cm, Rectangle r,
Rectangle2D r2d,
......
/*
* Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -49,6 +49,7 @@ import java.io.ObjectInputStream;
import java.io.IOException;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.beans.Transient;
import java.awt.event.InputMethodListener;
import java.awt.event.InputMethodEvent;
import java.awt.im.InputContext;
......@@ -634,7 +635,9 @@ public abstract class Component implements ImageObserver, MenuContainer,
*/
private PropertyChangeSupport changeSupport;
private transient final Object changeSupportLock = new Object();
// Note: this field is considered final, though readObject() prohibits
// initializing final fields.
private transient Object changeSupportLock = new Object();
private Object getChangeSupportLock() {
return changeSupportLock;
}
......@@ -1003,7 +1006,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
/**
* Gets this component's locking object (the object that owns the thread
* sychronization monitor) for AWT component-tree and layout
* synchronization monitor) for AWT component-tree and layout
* operations.
* @return this component's locking object
*/
......@@ -1100,6 +1103,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* @see #setVisible
* @since JDK1.0
*/
@Transient
public boolean isVisible() {
return isVisible_NoClientCode();
}
......@@ -1325,12 +1329,15 @@ public abstract class Component implements ImageObserver, MenuContainer,
KeyboardFocusManager.clearMostRecentFocusOwner(this);
synchronized (getTreeLock()) {
enabled = false;
if (isFocusOwner()) {
// A disabled lw container is allowed to contain a focus owner.
if ((isFocusOwner() || (containsFocus() && !isLightweight())) &&
KeyboardFocusManager.isAutoFocusTransferEnabled())
{
// Don't clear the global focus owner. If transferFocus
// fails, we want the focus to stay on the disabled
// Component so that keyboard traversal, et. al. still
// makes sense to the user.
autoTransferFocus(false);
transferFocus(false);
}
ComponentPeer peer = this.peer;
if (peer != null) {
......@@ -1491,8 +1498,8 @@ public abstract class Component implements ImageObserver, MenuContainer,
synchronized (getTreeLock()) {
visible = false;
mixOnHiding(isLightweight());
if (containsFocus()) {
autoTransferFocus(true);
if (containsFocus() && KeyboardFocusManager.isAutoFocusTransferEnabled()) {
transferFocus(true);
}
ComponentPeer peer = this.peer;
if (peer != null) {
......@@ -1531,6 +1538,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* @beaninfo
* bound: true
*/
@Transient
public Color getForeground() {
Color foreground = this.foreground;
if (foreground != null) {
......@@ -1585,6 +1593,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* @see #setBackground
* @since JDK1.0
*/
@Transient
public Color getBackground() {
Color background = this.background;
if (background != null) {
......@@ -1644,6 +1653,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* @see #setFont
* @since JDK1.0
*/
@Transient
public Font getFont() {
return getFont_NoClientCode();
}
......@@ -6576,12 +6586,8 @@ public abstract class Component implements ImageObserver, MenuContainer,
}
synchronized (getTreeLock()) {
if (isFocusOwner()
&& KeyboardFocusManager.isAutoFocusTransferEnabled()
&& !nextFocusHelper())
{
KeyboardFocusManager.getCurrentKeyboardFocusManager().
clearGlobalFocusOwner();
if (isFocusOwner() && KeyboardFocusManager.isAutoFocusTransferEnabledFor(this)) {
transferFocus(true);
}
if (getContainer() != null && isAddNotifyComplete) {
......@@ -6716,8 +6722,8 @@ public abstract class Component implements ImageObserver, MenuContainer,
firePropertyChange("focusable", oldFocusable, focusable);
if (oldFocusable && !focusable) {
if (isFocusOwner()) {
autoTransferFocus(true);
if (isFocusOwner() && KeyboardFocusManager.isAutoFocusTransferEnabled()) {
transferFocus(true);
}
KeyboardFocusManager.clearMostRecentFocusOwner(this);
}
......@@ -7371,69 +7377,6 @@ public abstract class Component implements ImageObserver, MenuContainer,
}
}
private void autoTransferFocus(boolean clearOnFailure) {
Component toTest = KeyboardFocusManager.
getCurrentKeyboardFocusManager().getFocusOwner();
if (toTest != this) {
if (toTest != null) {
toTest.autoTransferFocus(clearOnFailure);
}
return;
}
// Check if there are pending focus requests. We shouldn't do
// auto-transfer if user has already took care of this
// component becoming ineligible to hold focus.
if (!KeyboardFocusManager.isAutoFocusTransferEnabled()) {
return;
}
// the following code will execute only if this Component is the focus
// owner
if (!(isDisplayable() && isVisible() && isEnabled() && isFocusable())) {
doAutoTransfer(clearOnFailure);
return;
}
toTest = getParent();
while (toTest != null && !(toTest instanceof Window)) {
if (!(toTest.isDisplayable() && toTest.isVisible() &&
(toTest.isEnabled() || toTest.isLightweight()))) {
doAutoTransfer(clearOnFailure);
return;
}
toTest = toTest.getParent();
}
}
private void doAutoTransfer(boolean clearOnFailure) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "this = " + this + ", clearOnFailure = " + clearOnFailure);
}
if (clearOnFailure) {
if (!nextFocusHelper()) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "clear global focus owner");
}
KeyboardFocusManager.getCurrentKeyboardFocusManager().
clearGlobalFocusOwner();
}
} else {
transferFocus();
}
}
/**
* Transfers the focus to the next component, as though this Component were
* the focus owner.
* @see #requestFocus()
* @since JDK1.1
*/
public void transferFocus() {
nextFocus();
}
/**
* Returns the Container which is the focus cycle root of this Component's
* focus traversal cycle. Each focus traversal cycle has only a single
......@@ -7473,31 +7416,51 @@ public abstract class Component implements ImageObserver, MenuContainer,
return (rootAncestor == container);
}
Container getTraversalRoot() {
return getFocusCycleRootAncestor();
}
/**
* Transfers the focus to the next component, as though this Component were
* the focus owner.
* @see #requestFocus()
* @since JDK1.1
*/
public void transferFocus() {
nextFocus();
}
/**
* @deprecated As of JDK version 1.1,
* replaced by transferFocus().
*/
@Deprecated
public void nextFocus() {
nextFocusHelper();
transferFocus(false);
}
private boolean nextFocusHelper() {
Component toFocus = preNextFocusHelper();
boolean transferFocus(boolean clearOnFailure) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "toFocus = " + toFocus);
focusLog.finer("clearOnFailure = " + clearOnFailure);
}
if (isFocusOwner() && toFocus == this) {
return false;
Component toFocus = getNextFocusCandidate();
boolean res = false;
if (toFocus != null && !toFocus.isFocusOwner() && toFocus != this) {
res = toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_FORWARD);
}
return postNextFocusHelper(toFocus, CausedFocusEvent.Cause.TRAVERSAL_FORWARD);
}
Container getTraversalRoot() {
return getFocusCycleRootAncestor();
if (clearOnFailure && !res) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.finer("clear global focus owner");
}
KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();
}
if (focusLog.isLoggable(Level.FINER)) {
focusLog.finer("returning result: " + res);
}
return res;
}
final Component preNextFocusHelper() {
final Component getNextFocusCandidate() {
Container rootAncestor = getTraversalRoot();
Component comp = this;
while (rootAncestor != null &&
......@@ -7509,18 +7472,19 @@ public abstract class Component implements ImageObserver, MenuContainer,
rootAncestor = comp.getFocusCycleRootAncestor();
}
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "comp = " + comp + ", root = " + rootAncestor);
focusLog.finer("comp = " + comp + ", root = " + rootAncestor);
}
Component candidate = null;
if (rootAncestor != null) {
FocusTraversalPolicy policy = rootAncestor.getFocusTraversalPolicy();
Component toFocus = policy.getComponentAfter(rootAncestor, comp);
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "component after is " + toFocus);
focusLog.finer("component after is " + toFocus);
}
if (toFocus == null) {
toFocus = policy.getDefaultComponent(rootAncestor);
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "default component is " + toFocus);
focusLog.finer("default component is " + toFocus);
}
}
if (toFocus == null) {
......@@ -7529,23 +7493,12 @@ public abstract class Component implements ImageObserver, MenuContainer,
toFocus = applet;
}
}
return toFocus;
candidate = toFocus;
}
return null;
}
static boolean postNextFocusHelper(Component toFocus, CausedFocusEvent.Cause cause) {
if (toFocus != null) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "Next component " + toFocus);
}
boolean res = toFocus.requestFocusInWindow(cause);
if (focusLog.isLoggable(Level.FINER)) {
focusLog.log(Level.FINER, "Request focus returned " + res);
}
return res;
if (focusLog.isLoggable(Level.FINER)) {
focusLog.finer("Focus transfer candidate: " + candidate);
}
return false;
return candidate;
}
/**
......@@ -7555,6 +7508,10 @@ public abstract class Component implements ImageObserver, MenuContainer,
* @since 1.4
*/
public void transferFocusBackward() {
transferFocusBackward(false);
}
boolean transferFocusBackward(boolean clearOnFailure) {
Container rootAncestor = getTraversalRoot();
Component comp = this;
while (rootAncestor != null &&
......@@ -7565,6 +7522,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
comp = rootAncestor;
rootAncestor = comp.getFocusCycleRootAncestor();
}
boolean res = false;
if (rootAncestor != null) {
FocusTraversalPolicy policy = rootAncestor.getFocusTraversalPolicy();
Component toFocus = policy.getComponentBefore(rootAncestor, comp);
......@@ -7572,9 +7530,19 @@ public abstract class Component implements ImageObserver, MenuContainer,
toFocus = policy.getDefaultComponent(rootAncestor);
}
if (toFocus != null) {
toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_BACKWARD);
res = toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_BACKWARD);
}
}
if (!res) {
if (focusLog.isLoggable(Level.FINER)) {
focusLog.finer("clear global focus owner");
}
KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();
}
if (focusLog.isLoggable(Level.FINER)) {
focusLog.finer("returning result: " + res);
}
return res;
}
/**
......@@ -7649,6 +7617,20 @@ public abstract class Component implements ImageObserver, MenuContainer,
return hasFocus();
}
/*
* Used to disallow auto-focus-transfer on disposal of the focus owner
* in the process of disposing its parent container.
*/
private boolean autoFocusTransferOnDisposal = true;
void setAutoFocusTransferOnDisposal(boolean value) {
autoFocusTransferOnDisposal = value;
}
boolean isAutoFocusTransferOnDisposal() {
return autoFocusTransferOnDisposal;
}
/**
* Adds the specified popup menu to the component.
* @param popup the popup menu to be added to the component.
......@@ -8310,6 +8292,8 @@ public abstract class Component implements ImageObserver, MenuContainer,
private void readObject(ObjectInputStream s)
throws ClassNotFoundException, IOException
{
changeSupportLock = new Object();
s.defaultReadObject();
appContext = AppContext.getAppContext();
......
......@@ -2660,9 +2660,26 @@ public class Container extends Component {
synchronized (getTreeLock()) {
int ncomponents = this.ncomponents;
Component component[] = this.component;
for (int i = ncomponents-1 ; i >= 0 ; i--) {
if( component[i] != null )
component[i].removeNotify();
for (int i = ncomponents - 1; i >= 0; i--) {
if( component[i] != null ) {
// Fix for 6607170.
// We want to suppress focus change on disposal
// of the focused component. But because of focus
// is asynchronous, we should suppress focus change
// on every component in case it receives native focus
// in the process of disposal.
component[i].setAutoFocusTransferOnDisposal(false);
component[i].removeNotify();
component[i].setAutoFocusTransferOnDisposal(true);
}
}
// If some of the children had focus before disposal then it still has.
// Auto-transfer focus to the next (or previous) component if auto-transfer
// is enabled.
if (containsFocus() && KeyboardFocusManager.isAutoFocusTransferEnabledFor(this)) {
if (!transferFocus(false)) {
transferFocusBackward(true);
}
}
if ( dispatcher != null ) {
dispatcher.dispose();
......
......@@ -155,12 +155,13 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
boolean clearOnFailure)
{
if (toFocus != vetoedComponent && toFocus.isShowing() && toFocus.isFocusable() &&
toFocus.requestFocus(false, CausedFocusEvent.Cause.ROLLBACK)) {
toFocus.requestFocus(false, CausedFocusEvent.Cause.ROLLBACK))
{
return true;
} else {
Component nextFocus = toFocus.preNextFocusHelper();
if (nextFocus != vetoedComponent
&& Component.postNextFocusHelper(nextFocus, CausedFocusEvent.Cause.ROLLBACK))
Component nextFocus = toFocus.getNextFocusCandidate();
if (nextFocus != null && nextFocus != vetoedComponent &&
nextFocus.requestFocusInWindow(CausedFocusEvent.Cause.ROLLBACK))
{
return true;
} else if (clearOnFailure) {
......@@ -504,9 +505,16 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
{
// we should not accept focus on such component, so reject it.
dequeueKeyEvents(-1, newFocusOwner);
if (KeyboardFocusManager.isAutoFocusTransferEnabled())
{
restoreFocus(fe, newFocusedWindow);
if (KeyboardFocusManager.isAutoFocusTransferEnabled()) {
// If FOCUS_GAINED is for a disposed component (however
// it shouldn't happen) its toplevel parent is null. In this
// case we have to try to restore focus in the current focused
// window (for the details: 6607170).
if (newFocusedWindow == null) {
restoreFocus(fe, currentFocusedWindow);
} else {
restoreFocus(fe, newFocusedWindow);
}
}
break;
}
......@@ -1078,6 +1086,9 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
focusNextComponent(focusedComponent);
}
return;
} else if (e.getID() == KeyEvent.KEY_PRESSED) {
// Fix for 6637607: consumeNextKeyTyped should be reset.
consumeNextKeyTyped = false;
}
toTest = focusedComponent.getFocusTraversalKeys(
......
/*
* Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -26,6 +26,7 @@
package java.awt;
import java.awt.geom.Dimension2D;
import java.beans.Transient;
/**
* The <code>Dimension</code> class encapsulates the width and
......@@ -165,6 +166,7 @@ public class Dimension extends Dimension2D implements java.io.Serializable {
* @see java.awt.Component#getSize
* @since 1.1
*/
@Transient
public Dimension getSize() {
return new Dimension(width, height);
}
......
......@@ -53,6 +53,7 @@ import java.awt.image.ColorModel;
*
* @see Paint
* @see Graphics2D#setPaint
* @version 10 Feb 1997
*/
public class GradientPaint implements Paint {
......@@ -223,19 +224,32 @@ public class GradientPaint implements Paint {
}
/**
* Creates and returns a context used to generate the color pattern.
* @param cm {@link ColorModel} that receives
* the <code>Paint</code> data. This is used only as a hint.
* @param deviceBounds the device space bounding box of the
* graphics primitive being rendered
* @param userBounds the user space bounding box of the
* graphics primitive being rendered
* Creates and returns a {@link PaintContext} used to
* generate a linear color gradient pattern.
* See the {@link Paint#createContext specification} of the
* method in the {@link Paint} interface for information
* on null parameter handling.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param deviceBounds the device space bounding box
* of the graphics primitive being rendered.
* @param userBounds the user space bounding box
* of the graphics primitive being rendered.
* @param xform the {@link AffineTransform} from user
* space into device space
* @param hints the hints that the context object uses to choose
* between rendering alternatives
* @return the {@link PaintContext} that generates color patterns.
* space into device space.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* @return the {@code PaintContext} for
* generating color patterns.
* @see Paint
* @see PaintContext
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
......
......@@ -2578,6 +2578,10 @@ public abstract class KeyboardFocusManager
}
}
static boolean isAutoFocusTransferEnabledFor(Component comp) {
return isAutoFocusTransferEnabled() && comp.isAutoFocusTransferOnDisposal();
}
/*
* Used to process exceptions in dispatching focus event (in focusLost/focusGained callbacks).
* @param ex previously caught exception that may be processed right here, or null
......
......@@ -296,7 +296,32 @@ public final class LinearGradientPaint extends MultipleGradientPaint {
}
/**
* {@inheritDoc}
* Creates and returns a {@link PaintContext} used to
* generate a linear color gradient pattern.
* See the {@link Paint#createContext specification} of the
* method in the {@link Paint} interface for information
* on null parameter handling.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param deviceBounds the device space bounding box
* of the graphics primitive being rendered.
* @param userBounds the user space bounding box
* of the graphics primitive being rendered.
* @param transform the {@link AffineTransform} from user
* space into device space.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* @return the {@code PaintContext} for
* generating color patterns.
* @see Paint
* @see PaintContext
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
......
......@@ -847,7 +847,7 @@ public class MenuItem extends MenuComponent implements Accessible {
public String getAccessibleActionDescription(int i) {
if (i == 0) {
// [[[PENDING: WDW -- need to provide a localized string]]]
return new String("click");
return "click";
} else {
return null;
}
......
......@@ -46,42 +46,58 @@ import java.awt.geom.Rectangle2D;
* @see GradientPaint
* @see TexturePaint
* @see Graphics2D#setPaint
* @version 1.36, 06/05/07
*/
public interface Paint extends Transparency {
/**
* Creates and returns a {@link PaintContext} used to
* generate the color pattern.
* Since the ColorModel argument to createContext is only a
* hint, implementations of Paint should accept a null argument
* for ColorModel. Note that if the application does not
* prefer a specific ColorModel, the null ColorModel argument
* will give the Paint implementation full leeway in using the
* most efficient ColorModel it prefers for its raster processing.
* <p>
* Since the API documentation was not specific about this in
* releases before 1.4, there may be implementations of
* <code>Paint</code> that do not accept a null
* <code>ColorModel</code> argument.
* If a developer is writing code which passes a null
* <code>ColorModel</code> argument to the
* <code>createContext</code> method of <code>Paint</code>
* objects from arbitrary sources it would be wise to code defensively
* by manufacturing a non-null <code>ColorModel</code> for those
* objects which throw a <code>NullPointerException</code>.
* @param cm the {@link ColorModel} that receives the
* <code>Paint</code> data. This is used only as a hint.
* The arguments to this method convey additional information
* about the rendering operation that may be
* used or ignored on various implementations of the {@code Paint} interface.
* A caller must pass non-{@code null} values for all of the arguments
* except for the {@code ColorModel} argument which may be {@code null} to
* indicate that no specific {@code ColorModel} type is preferred.
* Implementations of the {@code Paint} interface are allowed to use or ignore
* any of the arguments as makes sense for their function, and are
* not constrained to use the specified {@code ColorModel} for the returned
* {@code PaintContext}, even if it is not {@code null}.
* Implementations are allowed to throw {@code NullPointerException} for
* any {@code null} argument other than the {@code ColorModel} argument,
* but are not required to do so.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param deviceBounds the device space bounding box
* of the graphics primitive being rendered
* of the graphics primitive being rendered.
* Implementations of the {@code Paint} interface
* are allowed to throw {@code NullPointerException}
* for a {@code null} {@code deviceBounds}.
* @param userBounds the user space bounding box
* of the graphics primitive being rendered
* of the graphics primitive being rendered.
* Implementations of the {@code Paint} interface
* are allowed to throw {@code NullPointerException}
* for a {@code null} {@code userBounds}.
* @param xform the {@link AffineTransform} from user
* space into device space
* @param hints the hint that the context object uses to
* choose between rendering alternatives
* @return the <code>PaintContext</code> for
* generating color patterns
* space into device space.
* Implementations of the {@code Paint} interface
* are allowed to throw {@code NullPointerException}
* for a {@code null} {@code xform}.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* Implementations of the {@code Paint} interface
* are allowed to throw {@code NullPointerException}
* for a {@code null} {@code hints}.
* @return the {@code PaintContext} for
* generating color patterns.
* @see PaintContext
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
......
/*
* Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -26,6 +26,7 @@
package java.awt;
import java.awt.geom.Point2D;
import java.beans.Transient;
/**
* A point representing a location in {@code (x,y)} coordinate space,
......@@ -119,6 +120,7 @@ public class Point extends Point2D implements java.io.Serializable {
* @see java.awt.Point#setLocation(int, int)
* @since 1.1
*/
@Transient
public Point getLocation() {
return new Point(x, y);
}
......
......@@ -543,7 +543,31 @@ public final class RadialGradientPaint extends MultipleGradientPaint {
}
/**
* {@inheritDoc}
* Creates and returns a {@link PaintContext} used to
* generate a circular radial color gradient pattern.
* See the description of the {@link Paint#createContext createContext} method
* for information on null parameter handling.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param deviceBounds the device space bounding box
* of the graphics primitive being rendered.
* @param userBounds the user space bounding box
* of the graphics primitive being rendered.
* @param transform the {@link AffineTransform} from user
* space into device space.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* @return the {@code PaintContext} for
* generating color patterns.
* @see Paint
* @see PaintContext
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
......
/*
* Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -26,6 +26,7 @@
package java.awt;
import java.awt.geom.Rectangle2D;
import java.beans.Transient;
/**
* A <code>Rectangle</code> specifies an area in a coordinate space that is
......@@ -308,6 +309,7 @@ public class Rectangle extends Rectangle2D
* @see #setBounds(int, int, int, int)
* @since 1.1
*/
@Transient
public Rectangle getBounds() {
return new Rectangle(x, y, width, height);
}
......
/*
* Copyright 1996-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -32,6 +32,7 @@ import sun.awt.ScrollPaneWheelScroller;
import sun.awt.SunToolkit;
import java.beans.ConstructorProperties;
import java.beans.Transient;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.IOException;
......@@ -390,6 +391,7 @@ public class ScrollPane extends Container implements Accessible {
* @throws NullPointerException if the scrollpane does not contain
* a child
*/
@Transient
public Point getScrollPosition() {
if (ncomponents <= 0) {
throw new NullPointerException("child is null");
......
......@@ -45,6 +45,7 @@ import java.awt.image.ColorModel;
* replicated <code>Rectangle2D</code>.
* @see Paint
* @see Graphics2D#setPaint
* @version 1.48, 06/05/07
*/
public class TexturePaint implements Paint {
......@@ -93,20 +94,32 @@ public class TexturePaint implements Paint {
}
/**
* Creates and returns a context used to generate the color pattern.
* @param cm the {@link ColorModel} that receives the
* <code>Paint</code> data. This is used only as a hint.
* @param deviceBounds the device space bounding box of the graphics
* primitive being rendered
* @param userBounds the user space bounding box of the graphics
* primitive being rendered
* @param xform the {@link AffineTransform} from user space
* into device space
* @param hints a {@link RenderingHints} object that can be used to
* specify how the pattern is ultimately rendered
* @return the {@link PaintContext} used for generating color
* patterns.
* Creates and returns a {@link PaintContext} used to
* generate a tiled image pattern.
* See the {@link Paint#createContext specification} of the
* method in the {@link Paint} interface for information
* on null parameter handling.
*
* @param cm the preferred {@link ColorModel} which represents the most convenient
* format for the caller to receive the pixel data, or {@code null}
* if there is no preference.
* @param deviceBounds the device space bounding box
* of the graphics primitive being rendered.
* @param userBounds the user space bounding box
* of the graphics primitive being rendered.
* @param xform the {@link AffineTransform} from user
* space into device space.
* @param hints the set of hints that the context object can use to
* choose between rendering alternatives.
* @return the {@code PaintContext} for
* generating color patterns.
* @see Paint
* @see PaintContext
* @see ColorModel
* @see Rectangle
* @see Rectangle2D
* @see AffineTransform
* @see RenderingHints
*/
public PaintContext createContext(ColorModel cm,
Rectangle deviceBounds,
......
......@@ -298,7 +298,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable {
while (continueLine(line)) {
String nextLine = in.readLine();
if (nextLine == null) {
nextLine = new String("");
nextLine = "";
}
String loppedLine =
line.substring(0, line.length() - 1);
......@@ -313,7 +313,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable {
}
nextLine = nextLine.substring(startIndex,
nextLine.length());
line = new String(loppedLine+nextLine);
line = loppedLine+nextLine;
}
// Find start of key
......
/*
* Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -55,9 +55,19 @@ import java.io.ObjectOutputStream;
* platform dependent drag initiating gesture has occurred
* on the <code>Component</code> that it is tracking.
*
* The {@code action} field of any {@code DragGestureEvent} instance should take one of the following
* values:
* <ul>
* <li> {@code DnDConstants.ACTION_COPY}
* <li> {@code DnDConstants.ACTION_MOVE}
* <li> {@code DnDConstants.ACTION_LINK}
* </ul>
* Assigning the value different from listed above will cause an unspecified behavior.
*
* @see java.awt.dnd.DragGestureRecognizer
* @see java.awt.dnd.DragGestureListener
* @see java.awt.dnd.DragSource
* @see java.awt.dnd.DnDConstants
*/
public class DragGestureEvent extends EventObject {
......@@ -65,19 +75,25 @@ public class DragGestureEvent extends EventObject {
private static final long serialVersionUID = 9080172649166731306L;
/**
* Constructs a <code>DragGestureEvent</code> given the
* <code>DragGestureRecognizer</code> firing this event,
* an <code>int</code> representing
* the user's preferred action, a <code>Point</code>
* indicating the origin of the drag, and a <code>List</code>
* of events that comprise the gesture.
* Constructs a <code>DragGestureEvent</code> object given by the
* <code>DragGestureRecognizer</code> instance firing this event,
* an {@code act} parameter representing
* the user's preferred action, an {@code ori} parameter
* indicating the origin of the drag, and a {@code List} of
* events that comprise the gesture({@code evs} parameter).
* <P>
* @param dgr The <code>DragGestureRecognizer</code> firing this event
* @param act The the user's preferred action
* @param act The user's preferred action.
* For information on allowable values, see
* the class description for {@link DragGestureEvent}
* @param ori The origin of the drag
* @param evs The <code>List</code> of events that comprise the gesture
* <P>
* @throws IllegalArgumentException if input parameters are {@code null}
* @throws IllegalArgumentException if any parameter equals {@code null}
* @throws IllegalArgumentException if the act parameter does not comply with
* the values given in the class
* description for {@link DragGestureEvent}
* @see java.awt.dnd.DnDConstants
*/
public DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori,
......
......@@ -45,10 +45,13 @@ public class DropTargetEvent extends java.util.EventObject {
private static final long serialVersionUID = 2821229066521922993L;
/**
* Construct a <code>DropTargetEvent</code> with
* a specified <code>DropTargetContext</code>.
* Construct a <code>DropTargetEvent</code> object with
* the specified <code>DropTargetContext</code>.
* <P>
* @param dtc the <code>DropTargetContext</code>
* @param dtc The <code>DropTargetContext</code>
* @throws NullPointerException if {@code dtc} equals {@code null}.
* @see #getSource()
* @see #getDropTargetContext()
*/
public DropTargetEvent(DropTargetContext dtc) {
......
/*
* Copyright 1996-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -45,6 +45,10 @@ import java.awt.Event;
* is therefore spared the details of processing individual mouse movements
* and mouse clicks, and can instead process a "meaningful" (semantic)
* event like "button pressed".
* <p>
* An unspecified behavior will be caused if the {@code id} parameter
* of any particular {@code ActionEvent} instance is not
* in the range from {@code ACTION_FIRST} to {@code ACTION_LAST}.
*
* @see ActionListener
* @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/eventmodel.html">Tutorial: Java 1.1 Event Model</a>
......@@ -134,18 +138,22 @@ public class ActionEvent extends AWTEvent {
/**
* Constructs an <code>ActionEvent</code> object.
* <p>
* Note that passing in an invalid <code>id</code> results in
* unspecified behavior. This method throws an
* This method throws an
* <code>IllegalArgumentException</code> if <code>source</code>
* is <code>null</code>.
* A <code>null</code> <code>command</code> string is legal,
* but not recommended.
*
* @param source the object that originated the event
* @param id an integer that identifies the event
* @param command a string that may specify a command (possibly one
* @param source The object that originated the event
* @param id An integer that identifies the event.
* For information on allowable values, see
* the class description for {@link ActionEvent}
* @param command A string that may specify a command (possibly one
* of several) associated with the event
* @throws IllegalArgumentException if <code>source</code> is null
* @see #getSource()
* @see #getID()
* @see #getActionCommand()
*/
public ActionEvent(Object source, int id, String command) {
this(source, id, command, 0);
......@@ -154,19 +162,27 @@ public class ActionEvent extends AWTEvent {
/**
* Constructs an <code>ActionEvent</code> object with modifier keys.
* <p>
* Note that passing in an invalid <code>id</code> results in
* unspecified behavior. This method throws an
* This method throws an
* <code>IllegalArgumentException</code> if <code>source</code>
* is <code>null</code>.
* A <code>null</code> <code>command</code> string is legal,
* but not recommended.
*
* @param source the object that originated the event
* @param id an integer that identifies the event
* @param command a string that may specify a command (possibly one
* of several) associated with the event
* @param modifiers the modifier keys held down during this action
* @param source The object that originated the event
* @param id An integer that identifies the event.
* For information on allowable values, see
* the class description for {@link ActionEvent}
* @param command A string that may specify a command (possibly one
* of several) associated with the event
* @param modifiers The modifier keys down during event
* (shift, ctrl, alt, meta).
* Passing negative parameter is not recommended.
* Zero value means that no modifiers were passed
* @throws IllegalArgumentException if <code>source</code> is null
* @see #getSource()
* @see #getID()
* @see #getActionCommand()
* @see #getModifiers()
*/
public ActionEvent(Object source, int id, String command, int modifiers) {
this(source, id, command, 0, modifiers);
......@@ -176,20 +192,31 @@ public class ActionEvent extends AWTEvent {
* Constructs an <code>ActionEvent</code> object with the specified
* modifier keys and timestamp.
* <p>
* Note that passing in an invalid <code>id</code> results in
* unspecified behavior. This method throws an
* This method throws an
* <code>IllegalArgumentException</code> if <code>source</code>
* is <code>null</code>.
* A <code>null</code> <code>command</code> string is legal,
* but not recommended.
*
* @param source the object that originated the event
* @param id an integer that identifies the event
* @param command a string that may specify a command (possibly one
* of several) associated with the event
* @param when the time the event occurred
* @param modifiers the modifier keys held down during this action
* @param source The object that originated the event
* @param id An integer that identifies the event.
* For information on allowable values, see
* the class description for {@link ActionEvent}
* @param command A string that may specify a command (possibly one
* of several) associated with the event
* @param modifiers The modifier keys down during event
* (shift, ctrl, alt, meta).
* Passing negative parameter is not recommended.
* Zero value means that no modifiers were passed
* @param when A long that gives the time the event occurred.
* Passing negative or zero value
* is not recommended
* @throws IllegalArgumentException if <code>source</code> is null
* @see #getSource()
* @see #getID()
* @see #getActionCommand()
* @see #getModifiers()
* @see #getWhen()
*
* @since 1.4
*/
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册