Graydon Hoare
cbc848da46
SwingUtilities.java: Many new functions.
...
2004-02-02 Graydon Hoare <graydon@redhat.com>
* javax/swing/SwingUtilities.java: Many new functions.
* java/awt/Container.java (LightweightDispatcher): Reimplement.
* javax/swing/basic/BasicGraphicsUtils.java
(getPreferredButtonSize): Start layout from top-left corner.
From-SVN: r77271
2004-02-04 20:43:32 +00:00
Thomas Fitzsimmons
b6d3cb37ef
GtkListPeer.java, [...]: Fix handling of alias methods...
...
2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkListPeer.java,
java/awt/BorderLayout.java, java/awt/CardLayout.java,
java/awt/CheckboxGroup.java, java/awt/Choice.java,
java/awt/Component.java, java/awt/Container.java,
java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
java/awt/LayoutManager2.java, java/awt/List.java,
java/awt/Menu.java, java/awt/MenuBar.java,
java/awt/MenuItem.java, java/awt/Polygon.java,
java/awt/Rectangle.java, java/awt/ScrollPane.java,
java/awt/Scrollbar.java, java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/image/renderable/RenderContext.java,
javax/swing/JApplet.java: Fix handling of alias methods, where a
method has been deprecated in favour of a new one with the same
funtion but a different name. Put the method implementation in
the deprecated method and have the new method call the
deprecated one. Make all other code call the new method.
From-SVN: r77178
2004-02-03 17:10:56 +00:00
Michael Koch
4f90e1c5fe
2004-01-28 Michael Koch <konqueror@gmx.de>
...
* javax/swing/JComponent.java
(listenerList): Initalize globally.
(ancestor_list): Removed.
(veto_list): Removed.
(change_list): Removed.
(get_veto_list): Removed.
(get_change_list): Removed.
(get_ancestor_list): Removed.
(removeAncestorListener): Reimplemented.
(removePropertyChangeListener): Likewise.
(removeVetoableChangeListener): Likewise.
(addAncestorListener): Likewise.
(addPropertyChangeListener): Likewise.
(addVetoableChangeListener): Likewise.
(getListeners): New method.
(getAncestorListeners): Likewise.
(getVetoableChangeListeners): Likewise.
(fireVetoableChange): Throws PropertyVetoException.
* javax/swing/JEditorPane.java
(JEditorPane): Throws IOException.
From-SVN: r76802
2004-01-28 19:37:59 +00:00
Michael Koch
80d4281fc5
AbstractCellEditor.java: Reformated.
...
2004-01-27 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractCellEditor.java: Reformated.
* javax/swing/DefaultListSelectionModel.java
(listenerList): Made protected.
(addListSelectionListener): Javadoc added.
(removeListSelectionListener): Likewise.
(getListeners): Likewise.
(getListSelectionListeners): Likewise.
* javax/swing/JComboBox.java: Merged copyright year.
* javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
From-SVN: r76737
2004-01-27 18:55:11 +00:00
Andrew Haley
dbc2d64240
JTableHeader.java: Extend JComponent
...
2004-01-26 Andrew Haley <aph@redhat.com>
* javax/swing/table/JTableHeader.java: Extend JComponent
From-SVN: r76733
2004-01-27 17:33:38 +00:00
Michael Koch
f1184d57e2
AbstractAction.java: Reformated.
...
2004-01-23 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java: Reformated.
From-SVN: r76424
2004-01-23 15:19:28 +00:00
Michael Koch
3ac55a5a69
AbstractAction.java: Reformated.
...
2004-01-23 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java: Reformated.
(getPropertyChangeListeners): New method.
* javax/swing/AbstractCellEditor.java: Reformated.
(getCellEditorListeners): New method.
* javax/swing/DefaultListSelectionModel.java
(listenerList): New field.
(listeners): Removed.
(get_listeners): Removed.
(addListSelectionListener): Rewritten.
(removeListSelectionListener): Rewritten.
(getListSelectionListeners): New method.
(getListeners): New method.
* javax/swing/JComboBox.java: Imports reworked.
(addActionListener): Implemented.
(removeActionListener): Implemented.
(addItemListener): Implemented.
(removeItemListener): Implemented.
(addPopupMenuListener): Implemented.
(removePopupMenuListener): Implemented.
(getActionListeners): New method.
(getItemListeners): New method.
(getPopupMenuListeners): New method.
From-SVN: r76413
2004-01-23 12:42:10 +00:00
Arnaud Vandyck
0dce1c0fcb
2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
...
Michael Koch <konqueror@gmx.de>
* javax/swing/table/DefaultTableCellRenderer.java
(DefaultTableCellRenderer): Added javadoc for the class and for
the constructor, Border instance, create an EmptyBorder.
(UIResource): Removed the comment at the end of the class
(setForeground): New method.
(setBackground): New method.
(updateUI): New method.
(getTableCellRendererComponent): Rewritten with the help of
dvholten and Stephane Meslin-Weber.
(validate): New method.
(repaint): New method.
(firePropertyChange): New method.
(setValue): New method.
Co-Authored-By: Michael Koch <konqueror@gmx.de>
From-SVN: r76372
2004-01-22 21:41:53 +00:00
Graydon Hoare
ca3bb0c283
2004-01-22 Graydon Hoare <graydon@redhat.com>
...
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
* gnu/java/awt/peer/gtk/GdkGlyphVector.java:
Predicate static initialization on GtkToolkit.useGraphics2D().
* java/awt/Component.java (processPaintEvent): Consume event.
* javax/swing/AbstractButton.java: Reimplement, document.
* javax/swing/DefaultButtonModel.java: Reimplement, document.
* javax/swing/JComponent.java (paint): Use double buffer.
(listenerList): Enable member.
* javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
* javax/swing/JToggleButton.java
(JToggleButton): Modify model constructor.
* javax/swing/SwingUtilities.java
(layoutCompoundLabel): Adjust arithmetic.
* javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
* javax/swing/plaf/basic/BasicGraphicsUtils.java
(getPreferredButtonSize): Include margins in calculation.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
Receive up events from subordinate layout component.
From-SVN: r76344
2004-01-22 09:54:19 +00:00
Sascha Brawer
fc58328a06
CompoundEdit.java (serialVersionUID): Added.
...
2004-01-11 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
From-SVN: r75671
2004-01-11 12:40:49 +00:00
Michael Koch
6a425fbe8d
2004-01-11 Michael Koch <konqueror@gmx.de>
...
* javax/swing/undo/StateEditable.java
(RCSID): Removed redundant modifiers.
From-SVN: r75657
2004-01-10 23:11:56 +00:00
Michael Koch
162fd675e5
2004-01-10 Michael Koch <konqueror@gmx.de>
...
* javax/print/attribute/EnumSyntax.java
(getStringTable): Made protected.
(getEnumValueTable): Likewise.
* javax/print/attribute/standard/JobKOctetsProcessed.java
(JobKOctetsProcessed): Don't implement PrintRequestAttribute.
* javax/print/attribute/standard/JobMediaSheetsCompleted.java
(JobMediaSheetsCompleted): Made class final.
* javax/print/attribute/standard/OutputDeviceAssigned.java
(getName): Fixed typo.
* javax/print/attribute/standard/RequestingUserName.java
(serialVersionUID): Fixed value.
From-SVN: r75655
2004-01-10 22:16:01 +00:00
Michael Koch
12e978c568
BasicButtonUI.java, [...]: Fixed import statements.
...
2004-01-10 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java,
javax/swing/plaf/basic/BasicPanelUI.java,
javax/swing/plaf/basic/BasicRadioButtonUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicViewportUI.java:
Fixed import statements.
From-SVN: r75654
2004-01-10 21:59:30 +00:00
Michael Koch
5c9092a788
JRadioButtonMenuItem.java, [...]: Fixed import statements.
...
2004-01-10 Michael Koch <konqueror@gmx.de>
* javax/swing/JRadioButtonMenuItem.java,
javax/swing/JSeparator.java,
javax/swing/JSplitPane.java,
javax/swing/JTextPane.java,
javax/swing/JToolBar.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListModel.java,
javax/swing/MenuElement.java,
javax/swing/OverlayLayout.java,
javax/swing/ProgressMonitor.java,
javax/swing/ProgressMonitorInputStream.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/Scrollable.java,
javax/swing/SingleSelectionModel.java,
javax/swing/ToolTipManager.java,
javax/swing/ViewportLayout.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TreeSelectionEvent.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/AttributeSet.java,
javax/swing/text/Caret.java,
javax/swing/text/ComponentView.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/DefaultEditorKit.java,
javax/swing/text/Document.java,
javax/swing/text/EditorKit.java,
javax/swing/text/GapContent.java,
javax/swing/text/Keymap.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/PlainEditorKit.java,
javax/swing/text/Segment.java,
javax/swing/text/Style.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/text/TextAction.java,
javax/swing/text/View.java: Fixed import statements.
From-SVN: r75651
2004-01-10 21:07:44 +00:00
Graydon Hoare
27c99ffebc
JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container...
...
2004-01-08 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Rewrite to accomodate
djee@redhat.com's recent inverse ordering of Container elements.
From-SVN: r75608
2004-01-09 22:52:18 +00:00
Michael Koch
41b19a2d9a
DocumentName.java, [...]: New files.
...
2004-01-09 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PrinterInfo.java,
javax/print/attribute/standard/PrinterLocation.java,
javax/print/attribute/standard/PrinterMakeAndModel.java,
javax/print/attribute/standard/PrinterMessageFromOperator.java,
javax/print/attribute/standard/PrinterName.java,
javax/print/attribute/standard/RequestingUserName.java: New files.
* Makefile.am (javax_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r75573
2004-01-09 11:26:42 +00:00
Michael Koch
af0088587f
AbstractAction.java, [...]: Reworked imports.
...
2004-01-09 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java,
javax/swing/AbstractSet.java,
javax/swing/Action.java,
javax/swing/ActionMap.java,
javax/swing/BoundedRangeModel.java,
javax/swing/ButtonModel.java,
javax/swing/CellEditor.java,
javax/swing/CellRendererPane.java,
javax/swing/ComboBoxEditor.java,
javax/swing/DebugGraphics.java,
javax/swing/DefaultCellEditor.java,
javax/swing/DefaultCellRenderer.java,
javax/swing/DefaultComboBoxModel.java,
javax/swing/DefaultDesktopManager.java,
javax/swing/DefaultFocusManager.java,
javax/swing/DefaultListCellRenderer.java,
javax/swing/Icon.java,
javax/swing/JButton.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JDesktopPane.java,
javax/swing/JEditorPane.java,
javax/swing/JMenu.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java: Reworked imports.
From-SVN: r75572
2004-01-09 10:18:47 +00:00
Michael Koch
bafa7fed79
JLayeredPane.java: Revert changes to standard boilerplate, reworked imports.
...
2004-01-08 Michael Koch <konqueror@gmx.de>
* javax/swing/JLayeredPane.java: Revert changes to standard
boilerplate, reworked imports.
From-SVN: r75543
2004-01-08 09:46:52 +00:00
Sascha Brawer
b3db7ef158
DefaultBoundedRangeModel.java: Documented API.
...
2004-01-07 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/DefaultBoundedRangeModel.java: Documented API.
(changeEvent): Create event object on demand.
(DefaultBoundedRangeModel, toString, setValue, setExtent,
setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
fireStateChanged): Re-written.
* javax/swing/event/EventListenerList.java: Reformatted, document
typical usage.
(toString): Implemented.
(getListeners): Re-written.
(remove): Re-written.
(add): Re-written.
(NO_LISTENERS): New singleton field.
(listenerList): Declare as transient; document.
(serialVersionUID): Document.
(getListenerCount(Class)): More efficient implementation,
also accepts null argument. Improve Javadoc.
(getListenerCount()): Remove unnecessary cast; docfix.
* javax/swing/undo/UndoableEditSupport.java:
Re-format, document.
(UndoableEditSupport): Set realSource field. Improve documentation.
(_postEdit): Iterate over cloned listener vector.
(toString): Don't emit realSource.
(beginUpdate, endUpdate): Support nested updates.
(postEdit): Use compound edit if present.
From-SVN: r75505
2004-01-07 14:42:04 +00:00
Graydon Hoare
68f14fb08a
JLayeredPane.java: Fix semantics, add javadocs.
...
2004-01-06 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
From-SVN: r75478
2004-01-06 18:02:23 +00:00
Michael Koch
9ba6f952f0
DateTimeAtCompleted.java, [...]: New files.
...
2004-01-06 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobPrioritySupported.java: New files.
* Makefile.am (javax_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r75471
2004-01-06 13:48:52 +00:00
Michael Koch
5bd1d00e5c
ResolutionSyntax.java, [...]: Fixed typo (s/then/than/).
...
2003-12-27 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/ResolutionSyntax.java,
javax/print/attribute/SetOfIntegerSyntax.java,
javax/print/attribute/Size2DSyntax.java,
javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/PagesPerMinuteColor.java,
javax/print/attribute/standard/QueuedJobCount.java:
Fixed typo (s/then/than/).
From-SVN: r75171
2003-12-27 14:21:08 +00:00
Michael Koch
32a2571b0c
Copies.java, [...]: New files.
...
2003-12-23 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/PagesPerMinuteColor.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/QueuedJobCount.java: New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r74971
2003-12-23 11:55:30 +00:00
Michael Koch
c36d5c04b1
2003-12-23 Michael Koch <konqueror@gmx.de>
...
* javax/print/attribute/AttributeSetUtilities.java
(verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
* javax/print/attribute/HashAttributeSet.java
(HashAttributeSet): Call internal add methods, added missing
exceptions.
(add): Call addInternal, added exceptions to documentation.
(addInternal): New method.
(addAll): Call addAllInternal, added exception to documentation.
(addAllInternal): New method.
(clear): Added exception to documentation.
(remove): Likewise.
* javax/print/attribute/URISyntax.java
(serialVersionUID): Fixed value.
From-SVN: r74969
2003-12-23 10:21:31 +00:00
Michael Koch
90f107de3b
AttributeSetUtilities.java, [...]: New files.
...
2003-12-21 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/AttributeSetUtilities.java,
javax/print/attribute/HashAttributeSet.java,
javax/print/attribute/HashDocAttributeSet.java,
javax/print/attribute/HashPrintJobAttributeSet.java,
javax/print/attribute/HashPrintRequestAttributeSet.java,
javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r74914
2003-12-21 19:54:52 +00:00
Michael Koch
eb77256b63
EnumSyntax.java, [...]: New files.
...
2003-12-21 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/EnumSyntax.java,
javax/print/attribute/SetOfIntegerSyntax.java: New files.
* Makefile.am (ordinary_java_source_files):
Added javax/print/attribute/EnumSyntax.java
and javax/print/attribute/SetOfIntegerSyntax.java.
* Makefile.in: Regenerated.
From-SVN: r74908
2003-12-21 15:56:38 +00:00
Michael Koch
5b24813d3e
PrintJobAttribute.java, [...]: New files.
...
2003-12-21 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/PrintJobAttribute.java,
javax/print/attribute/PrintJobAttributeSet.java,
javax/print/attribute/PrintRequestAttribute.java,
javax/print/attribute/PrintServiceAttribute.java,
javax/print/attribute/PrintServiceAttributeSet.java,
javax/print/attribute/SupportedValuesAttribute.java: New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r74905
2003-12-21 11:44:02 +00:00
Michael Koch
b8ddbd2d80
DateTimeSyntax.java, [...]: New files.
...
2003-12-21 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/DateTimeSyntax.java,
javax/print/attribute/DocAttribute.java,
javax/print/attribute/DocAttributeSet.java,
javax/print/attribute/IntegerSyntax.java,
javax/print/attribute/ResolutionSyntax.java,
javax/print/attribute/Size2DSyntax.java,
javax/print/attribute/TextSyntax.java,
javax/print/attribute/URISyntax.java,
javax/print/attribute/UnmodifiableSetException.java: New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r74904
2003-12-21 11:10:54 +00:00
Michael Koch
7b9b3ed32c
EventDirContext.java: Jalopied.
...
2003-12-11 Michael Koch <konqueror@gmx.de>
* javax/naming/event/EventDirContext.java: Jalopied.
(addNamingListener): Fixed typo in method name.
From-SVN: r74539
2003-12-11 15:41:21 +00:00
Michael Koch
929a329472
Attribute.java, [...]: Import used classes explicitely.
...
2003-12-06 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/Attribute.java,
javax/naming/directory/Attributes.java,
javax/naming/directory/DirContext.java,
javax/naming/directory/InitialDirContext.java,
javax/naming/directory/SearchResult.java,
javax/naming/event/EventContext.java,
javax/naming/event/NamingEvent.java,
javax/naming/event/NamingExceptionEvent.java,
javax/naming/ldap/ControlFactory.java,
javax/naming/ldap/ExtendedRequest.java,
javax/naming/ldap/HasControls.java,
javax/naming/ldap/InitialLdapContext.java,
javax/naming/ldap/LdapContext.java,
javax/naming/ldap/LdapReferralException.java,
javax/naming/ldap/UnsolicitedNotification.java,
javax/naming/ldap/UnsolicitedNotificationListener.java,
javax/naming/spi/DirObjectFactory.java,
javax/naming/spi/DirStateFactory.java,
javax/naming/spi/DirectoryManager.java,
javax/naming/spi/NamingManager.java,
javax/naming/spi/ObjectFactoryBuilder.java,
javax/naming/spi/ResolveResult.java,
javax/naming/spi/Resolver.java,
javax/naming/spi/StateFactory.java:
Import used classes explicitely.
From-SVN: r74362
2003-12-06 08:41:38 +00:00
Mark Wielaard
0e8c0c22a5
BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
...
2003-11-27 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
From-SVN: r73983
2003-11-27 09:09:13 +00:00
Michael Koch
ad91feff1a
UIDefaults.java: Reformated to match classpath's version.
...
2003-11-27 Michael Koch <konqueror@gmx.de>
* javax/swing/UIDefaults.java:
Reformated to match classpath's version.
From-SVN: r73981
2003-11-27 09:04:01 +00:00
Sascha Brawer
9121d16b4e
UIManager.java (getDefaults, [...]): Declare as public.
...
2003-11-27 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/UIManager.java (getDefaults, getDimension,
getIcon, getInsets, getInstalledLookAndFeels, getInt,
getLookAndFeel, getString, getSystemLookAndFeelClassName):
Declare as public.
From-SVN: r73980
2003-11-27 08:53:42 +00:00
Sascha Brawer
aef81a9acb
StateEdit.java (getPresentationName): Docfix.
...
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
* javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
isSignificant): Likewise.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/CompoundEdit.java: Re-format, document.
(inProgress): Set initial value to true.
(undo, redo, die, canUndo, canRedo): Also call inherited
implementation; simplify code structure.
(getPresentationName, getUndoPresentationName,
getRedoPresentationName): Make behavior dependent on lastEdit.
(addEdit, isSignificant): Completely re-written.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEdit.java: Re-format, document.
(undo, redo): Also call inherited implementation.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEditable.java: Re-format, document.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
(AbstractUndoableEdit): Initialize hasBeenDone to true.
(canUndo, canRedo): Simplify.
(getUndoPresentationName, getRedoPresentationName): Support
localized message; call getPresentationName() only once.
From-SVN: r73967
2003-11-26 22:23:40 +00:00
Michael Koch
3f04702836
2003-11-24 Michael Koch <konqueror@gmx.de>
...
* javax/swing/BoxLayout.java
(serialVersionUIR): New member variable.
(X_AXIS, Y_AXIS): Documentation added.
(LINE_AXIS, PAGE_AXIS): New constants.
(grid): Renamed from gridbag.
(BoxLayout): Use new constants, throw exception if invalid value for
way, added documentation.
(BoxLayout): Removed.
(addLayoutComponent): Use new constants, added documentation.
(removeLayoutComponent): Likewise.
(addLayoutContainer): Added documentation.
(preferredLayoutSize): Added documentation, check given argument.
(minimumLayoutSize): Likewise.
(layoutContainer): Likewise.
(getLayoutAlignmentX): Likewise.
(getLayoutAlignmentY): Likewise.
(invalidateLayout): Likewise.
(maximumLayoutSize): Likewise.
From-SVN: r73878
2003-11-24 16:55:43 +00:00
Graydon Hoare
875a15d0da
JLayeredPane.java: Implement.
...
2003-11-18 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Implement.
* javax/swing/JFrame.java (getContentPane): Make public
* javax/swing/javax/swing/JRootPane.java (setContentPane):
Use JLayeredPane.FRAME_CONTENT_LAYER.
From-SVN: r73825
2003-11-22 00:03:35 +00:00
Graydon Hoare
ccdf1a46ee
BasicDefaults.java: Rewrite to spec.
...
2003-11-17 Graydon Hoare <graydon@redhat.com>
* javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
* javax/swing/UIDefaults.java: Modify to reflect rewrite.
From-SVN: r73688
2003-11-18 01:36:56 +00:00
Michael Koch
5237cd77c2
Font.java, [...]: Removed some redundant obj == null checks.
...
2003-11-11 Michael Koch <konqueror@gmx.de>
* java/awt/Font.java,
java/awt/datatransfer/DataFlavor.java,
java/math/BigInteger.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
java/rmi/MarshalledObject.java,
java/rmi/server/RMIClassLoader.java,
java/security/cert/CertStore.java,
java/sql/Timestamp.java,
java/text/SimpleDateFormat.java,
javax/naming/CompoundName.java:
Removed some redundant obj == null checks.
From-SVN: r73448
2003-11-11 12:22:20 +00:00
Julian Dolby
f0dc1eface
NamingManager.java (getContinuationContext): Call getObjectInstance() with Object...
...
2003-10-29 Julian Dolby <dolby@us.ibm.com>
* javax/naming/spi/NamingManager.java (getContinuationContext): Call
getObjectInstance() with Object, Name, Context and environment
Hashtable from exception. Call fillInStackTrace() on exception when
rethrown.
* javax/naming/InitialContext.java (lookup(Name)): When a
CannotProceedException is thrown use the ContinuationContext.
(lookup(String)): Likewise.
(close): Clear myProps and defaultInitCtx.
From-SVN: r73041
2003-10-29 14:54:00 +00:00
Michael Koch
c191caf2fc
UIDefaults.java (putDefaults): Readded accidently removed "public" modifier.
...
2003-10-15 Michael Koch <konqueror@gmx.de>
* javax/swing/UIDefaults.java (putDefaults):
Readded accidently removed "public" modifier.
From-SVN: r72517
2003-10-15 13:44:22 +00:00
Michael Koch
b77d1698d9
DefaultTableModel.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableCellEditor.java,
javax/swing/table/TableCellRenderer.java,
javax/swing/table/TableColumnModel.java,
javax/swing/table/TableModel.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/Document.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/ViewFactory.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/MutableTreeNode.java,
javax/swing/tree/RowMapper.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeCellRenderer.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/undo/StateEditable.java,
javax/swing/undo/UndoableEdit.java:
Removed redundant modifiers.
From-SVN: r72396
2003-10-12 13:33:32 +00:00
Michael Koch
463bc6afde
AncestorListener.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorListener.java,
javax/swing/event/CaretListener.java,
javax/swing/event/CellEditorListener.java,
javax/swing/event/ChangeListener.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/DocumentListener.java,
javax/swing/event/HyperlinkListener.java,
javax/swing/event/InternalFrameListener.java,
javax/swing/event/ListDataListener.java,
javax/swing/event/ListSelectionListener.java,
javax/swing/event/MenuDragMouseListener.java,
javax/swing/event/MenuKeyListener.java,
javax/swing/event/MenuListener.java,
javax/swing/event/MouseInputListener.java,
javax/swing/event/PopupMenuListener.java,
javax/swing/event/TableColumnModelListener.java,
javax/swing/event/TableModelListener.java,
javax/swing/event/TreeExpansionListener.java,
javax/swing/event/TreeModelListener.java,
javax/swing/event/TreeSelectionListener.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditListener.java,
javax/swing/plaf/UIResource.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
Removed redundant modifiers.
From-SVN: r72395
2003-10-12 13:26:01 +00:00
Michael Koch
134fee658d
Action.java, [...]: Removed redundant modifiers.
...
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/Action.java,
javax/swing/BoundedRangeModel.java,
javax/swing/CellEditor.java,
javax/swing/ComboBoxEditor.java,
javax/swing/ComboBoxModel.java,
javax/swing/DesktopManager.java,
javax/swing/JComboBox.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListSelectionModel.java,
javax/swing/MenuElement.java,
javax/swing/MutableComboBoxModel.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/ScrollPaneConstants.java,
javax/swing/SingleSelectionModel.java,
javax/swing/SpinnerModel.java,
javax/swing/SwingConstants.java,
javax/swing/UIDefaults.java,
javax/swing/WindowConstants.java,
javax/swing/border/Border.java,
javax/swing/colorchooser/ColorSelectionModel.java:
Removed redundant modifiers.
From-SVN: r72394
2003-10-12 13:20:50 +00:00
Michael Koch
9d82a4b34c
Status.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/transaction/Status.java,
javax/transaction/Synchronization.java,
javax/transaction/Transaction.java,
javax/transaction/TransactionManager.java,
javax/transaction/UserTransaction.java,
javax/transaction/xa/XAResource.java,
javax/transaction/xa/Xid.java:
Removing redundant modifiers.
From-SVN: r72365
2003-10-11 19:18:24 +00:00
Michael Koch
89889f2494
Attribute.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/Attribute.java,
javax/print/attribute/AttributeSet.java,
javax/print/attribute/PrintRequestAttributeSet.java:
Removing redundant modifiers.
From-SVN: r72364
2003-10-11 19:15:08 +00:00
Michael Koch
e1feb64f5d
ConnectionEventListener.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java,
javax/sql/PooledConnection.java,
javax/sql/RowSet.java,
javax/sql/RowSetInternal.java,
javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java,
javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java,
javax/sql/XAConnection.java,
javax/sql/XADataSource.java:
Removing redundant modifiers.
From-SVN: r72363
2003-10-11 19:10:36 +00:00
Michael Koch
547f7f8b9d
Context.java, [...]: Removing redundant modifiers.
...
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/naming/Context.java,
javax/naming/Name.java,
javax/naming/NameParser.java,
javax/naming/NamingEnumeration.java,
javax/naming/Referenceable.java,
javax/naming/directory/Attribute.java,
javax/naming/directory/Attributes.java,
javax/naming/directory/DirContext.java,
javax/naming/event/EventContext.java,
javax/naming/event/EventDirContext.java,
javax/naming/event/NamespaceChangeListener.java,
javax/naming/event/NamingListener.java,
javax/naming/event/ObjectChangeListener.java,
javax/naming/ldap/Control.java,
javax/naming/ldap/ExtendedRequest.java,
javax/naming/ldap/ExtendedResponse.java,
javax/naming/ldap/HasControls.java,
javax/naming/ldap/LdapContext.java,
javax/naming/ldap/UnsolicitedNotification.java,
javax/naming/ldap/UnsolicitedNotificationListener.java,
javax/naming/spi/DirObjectFactory.java,
javax/naming/spi/DirStateFactory.java,
javax/naming/spi/InitialContextFactory.java,
javax/naming/spi/InitialContextFactoryBuilder.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ObjectFactoryBuilder.java,
javax/naming/spi/Resolver.java,
javax/naming/spi/StateFactory.java:
Removing redundant modifiers.
From-SVN: r72362
2003-10-11 19:06:23 +00:00
Arnaud Vandyck
e55f4a3413
2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
...
* javax/swing/table/AbstractTableModel.java
(getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
helped stop pulling my hair on this +1 then -1 tricky thing!
From-SVN: r72228
2003-10-08 15:29:52 +00:00
Michael Koch
16aae3d209
2003-10-02 Michael Koch <konqueror@gmx.de>
...
* javax/swing/table/AbstractTableModel.java
(findColumnName): Prevent from NullPointerException if argument
columnName is null.
2003-10-02 Michael Koch <konqueror@gmx.de>
* javax/swing/table/AbstractTableModel.java:
This patch is based on a patch done by Arnaud Vandyck
<arnaud.vandyck@ulg.ac.be>.
(getColumnName): Fixed method documentation.
(findColumn): Likewise.
(getColumnClass): Likewise.
(isCellEditable): Likewise.
(setValueAt): Likewise.
(addTableModelListener): Likewise.
(removeTableModelListener): Likewise.
(getTableModelListeners): New method.
2003-10-02 Michael Koch <konqueror@gmx.de>
* javax/swing/table/AbstractTableModel.java:
Reformated.
From-SVN: r72019
2003-10-02 09:37:04 +00:00
Michael Koch
bc7ac0d88b
[multiple changes]
...
2003-09-25 Sascha Brawer <brawer@dandelis.ch>
* java/awt/font/FontRenderContext.java (getTransform): Return
copy of internal transform object. Add Javadoc.
* java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
winding rule as Sun J2SE.
* javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2003-09-25 Ingo Proetel <proetel@aicas.com>
* java/rmi/Naming.java:
Added comments, now accepts pseudo protocol "rmi".
From-SVN: r71777
2003-09-25 14:38:02 +00:00