summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2005-11-17 Roman Kennke <kennke@aicas.com>libgcj-import-20051117Roman Kennke2005-11-173-10/+70
| | | | | | | | | * javax/swing/JEditorPane.java (PlainEditorKit): New inner class. (createDefaultEditorKit): Return an instance of PlainEditorKit. * javax/swing/JTextPane.java (insertComponent): Implemented previously stubbed method. (insertIcon): Implemented previously stubbed method.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-173-19/+7
| | | | | | | * javax/swing/BasicEditorPaneUI.java (create): Removed unneeded method. * javax/swing/BasicTextPaneUI.java (create): Removed unneeded method.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-172-11/+28
| | | | | | | | | | | | | | | * java/awt/Container.java (Container): Added comment. (remove): Only call removeNotify if removed component is still showing. (paintComponents): Call paint() instead of super.paint(). (AccessibleContainerHandler.AccessibleContainerHandler): Added comment. (LightweightDispatcher.acquireComponentForMouseEvent): Don't special case MOUSE_RELEASED events. They should be dispatched unmodified just as MOUSE_PRESSED. (LightweightDispatcher.handleEvent): Also clean up the pressCount after a MOUSE_
* 2005-11-17 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-172-0/+23
| | | | | * javax/swing/text/BoxView.java: (modelToView): New API method.
* 2005-11-17 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-175-55/+83
| | | | | | | | | | | | | | | | Fixes PR classpath/PR24721 * javax/swing/text/BoxView.java (getViewAtPoint): Added check in to return the last view, if one exists and the point was not contained in the rectangle. This is what the JDK does. * javax/swing/text/CompositeView.java (viewToModel): Fixed API documentation. Added check to make sure x and y are greater than 0. Otherwise, 0 is returned. * javax/swing/text/DefaultCaret.java (moveDot): Added check to match API specs. (setDot): Likewise. * javax/swing/text/GlyphView.java (viewToModel): Removed assert. This is not needed here. The point does not need to be in the rectangle.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-172-29/+15
| | | | | | | | | | | Reported by Roman Schnider <schnider@aicas.com>: * java/awt/Component.java (reshape): Removed unused statement. (repaint()): Don't forward to parent when not showing. (repaint(int)): Don't forward to parent when not showing. (repaint(int,int,int,int)): Don't forward to parent when not showing. (repaint(float,int,int,int,int)): Don't forward to parent when not showing.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-176-40/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/text/AbstractDocument.java (LeafElement.getName): If super.getName() returns something non-null, then return that instead of ContentElementName. * javax/swing/text/ComponentView.java (comp): New field. (getAlignment): Implemented previously stubbed method. (getComponent): Implemented previously stubbed method. (getMaximumSpan): Implemented previously stubbed method. (getMinimumSpan): Implemented previously stubbed method. (getPreferredSpan): Implemented previously stubbed method. (modelToView): Implemented previously stubbed method. (paint): Implemented previously stubbed method. (setParent): Implemented previously stubbed method. (setSize): Removed unneeded method. (viewToModel): Implemented previously stubbed method. * javax/swing/text/FlowView.java (insertUpdate): Forward this event to the logical view. * javax/swing/text/IconView.java (paint): Implemented previously stubbed method. (getPreferredSpan): Implemented previously stubbed method. (modelToView): Implemented previously stubbed method. (viewToModel): Implemented previously stubbed method. * javax/swing/text/ParagraphView.java (firstLineIndent): New field. (justification): New field. (lineSpacing): New field. (tabSet): New field. (changedUpdate): New method. (setPropertiesFromAttributes): New method. (setFirstLineIndent): New method. (setJustification): New method. (setLineSpacing): New method. (getLayoutView): New method. (getLayoutViewCount): New method. (getTabSet): New method.
* 2005-11-17 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-172-2/+7
| | | | | * javax/swing/plaf/basic/BasicEditorPaneUI.java: (create): Create new WrappedPlainView instance instead of PlainView.
* 2005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2005-11-172-2/+13
| | | | | | | | PR 24911 * classpath/examples/Makefile.am (EXAMPLE_JAVA_FILES): Extended by /*/*/*.java and /*/*/*/*.java. (READMES): New category. (ALL_EXAMPLE_FILES): Extended by READMES category.
* 2004-11-17 Bryce McKinlay <mckinlay@redhat.com>Mark Wielaard2005-11-172-0/+62
| | | | | | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): Implemented. (getLastModified): Implemented.
* 2005-11-17 Mark Wielaard <mark@klomp.org>Mark Wielaard2005-11-172-49/+53
| | | | * java/net/URLClassLoader.java: Reindented.
* Forgot the ChangeLog from my last commit.Roman Kennke2005-11-171-0/+9
|
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-172-2/+2
| | | | | | | | | * javax/swing/JApplet.java (paramString): Returns super.paramString() instead of a meaningless 'JFrame'. * javax/swing/JPanel.java (paramString): Returns super.paramString() instead of a meaningless 'JPanel'.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-172-1/+6
| | | | | | * javax/swing/plaf/basic/BasicButtonUI.java (installDefaults): Don't handle the Button.rollover property here, this is Metal specific and is handled in MetalButtonUI.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-172-1/+10
| | | | | * javax/swing/JList.java (locationToIndex): Clarified API comment.
* 2005-11-17 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-173-19/+34
| | | | | | | | | | | | | | | | | | | | | * javax/swing/tree/DefaultTreeCellEditor.java (DefaultTreeCellEditor): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). (createTreeCellEditor): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). * javax/swing/tree/DefaultTreeCellRenderer.java (DefaultTreeCellRenderer): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). (getDefaultOpenIcon): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). (getDefaultClosedIcon): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). (getDefaultLeafIcon): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). (getTreeCellRendererComponent): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX().w (paint): Replaced UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX().
* 2005-11-17 Andrew Haley <aph@redhat.com>Mark Wielaard2005-11-174-8/+69
| | | | | | | | | | * gnu/java/net/protocol/file/Connection.java (unquote): New method. (connect): Unquote filename. * gnu/java/net/protocol/jar/Connection.java (get): Likewise. * java/net/URL.java (URL): If the file part of a spec is absolute, ignore the file part of its context.
* 2005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2005-11-172-0/+8
| | | | | * examples/gnu/classpath/examples/CORBA/swing/README.html: Added note about the build.
* 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-163-197/+209
| | | | | * javax/swing/JSplitPane.java: Reformatted file. * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reformatted file.
* 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-162-7/+12
| | | | | | | | | | | | | | | * javax/swing/JSplitPane.java: (JSplitPane<init>): This is a "demo" constructor, should create two new JButtons, one with label "left button" and the other with label "right button." (setLeftComponent): Do not create JButtons here. A null argument is taken to mean remove the current component. (setRightComponent): Likewise. * javax/swing/plaf/basic/BasicSplitPaneUI: (setDividerLocation): Check that right component is not null before trying to get its preferred size. (startDragging): Avoid NPE by checking that left and right components are not null.
* Fixed typos.Lillian Angel2005-11-161-2/+2
|
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-1/+6
| | | | | | * javax/swing/ToolTipManager.java (mouseEntered): No need to start the insideTimer here, already called showTip.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-11/+26
| | | | | | | | | | | | Fixes PR classpath/<PR24763> * javax/swing/ToolTipManager.java (mouseEntered): showTip should be called if exitTimer is running. This means that the mouse has exited and re-entered a component in less than 500ms. (mouseExited): If enterTimer is not running, the exitTimer should be started no matter what. (showTip): Should not show tool tip if the currentComponent is not showing.
* Added to ChangeLogLillian Angel2005-11-161-1/+2
| | | | | | | | | | 2005-11-16 Lillian Angel <langel@redhat.com> Fixes PR classpath/<PR23557> and PR classpath/<PR24099> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): Added check to determine if dst->drawable or src->drawable are actually drawable. If not, return.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-0/+14
| | | | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): Added check to determine if dst->drawable or src->drawable are actually drawable. If not, return.
* 2005-11-16 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-164-43/+126
| | | | | | | | | | | | | * javax/swing/plaf/metal/MetalBorders.java (ButtonBorder.paintBorder): Special case the OceanTheme. (ButtonBorder.paintOceanThemeBorder): New method. * javax/swing/plaf/metal/MetalButtonUI.java (installDefaults): Set the rollover flag here. Don't set a special border for rollover buttons. (uninstallDefaults): Reset the rollover flag. (update): Only paint gradient when button is enabled and not pressed. * javax/swing/plaf/metal/MetalButtonUI.java (getCurrentTheme): New method.
* 2005-11-16 Gary Benson <gbenson@redhat.com>Mark Wielaard2005-11-162-4/+9
| | | | | * java/io/FilePermission.java (implies): Correct the sense in which action checks are applied.
* 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-164-2/+10
| | | | | | | * AUTHORS: Added myself. * javax/swing/KeyboardManager.java: Changed @author tag to match the other ones I have. * javax/swing/text/WrappedPlainView.java: Likewise.
* 2005-11-16 Gary Benson <gbenson@redhat.com>Mark Wielaard2005-11-162-1/+9
| | | | | | * java/security/ProtectionDomain.java (toString): Use gnu.classpath.SystemProperties to read line.separator without security manager check.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-1/+9
| | | | | | | | * java/awt/image/MemoryImageSource.java (startProduction): If animated, imageComplete should be called with the SINGLEFRAMEDONE flag, meaning the single frame is complete, but there are more frames to follow.
* 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-162-1/+6
| | | | | * javax/swing/text/PlainDocument.java: (insertString): Null check fixes PR 24890.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-3/+9
| | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (paintVerticalPartOfLeg): Added a check to prevent ArrayOutOfBoundsException.
* 2005-11-16 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-164-8/+40
| | | | | | | | | | | | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (paintTitleBackground): Only paint background if component is opaque. * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java (paintPalette): Added gradient painting. (paintComponent): Added gradient painting. * javax/swing/plaf/metal/OceanTheme.java (addCustomEntriesToTable): Added gradient for InternalFrama.activeTitleGradient.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-162-100/+36
| | | | | | | | * javax/swing/ToolTipManager.java: Removed unneeded fields. (showTip): Re-implemented to use PopupFactory. (hideTip): Likewise. (adjustLocation): Fixed location.
* 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-162-3/+11
| | | | | | | * javax/swing/text/PlainDocument.java: (insertUpdate): The very first new element added doesn't start at the start of the event, it starts at the start offset of the Element that contains the start of the event.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-162-2/+6
| | | | | * javax/swing/plaf/basic/BasicMenuItemUI.java (paintMenuItem): Always call paintBackground().
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-163-26/+18
| | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Since popups were changed to be JWindowPopups, this code should be done in GtkWindowPeer. Code is not needed. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (create): If window is not focusable, it should not take the focus away from any other window. Therefore, its type should be set to GDK_WINDOW_TYPE_HINT_MENU.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-168-0/+185
| | | | | | | | | | | | | | | | * javax/swing/plaf/metal/MetalButtonUI.java (update): New method. Paints the gradient. * javax/swing/plaf/metal/MetalCheckBoxIcon.java (paintIcon): Paint gradient. * javax/swing/plaf/metal/MetalIconFactory.java (RadioButtonIcon.paintIcon): Paint gradient. * javax/swing/plaf/metal/MetalLookAndFeel.java (initClassDefaults): Added MetalMenuBarUI. * javax/swing/plaf/metal/MetalMenuBarUI.java: New file. * javax/swing/plaf/metal/MetalToggleButtonUI.java (update): New method. Paints the gradient. * javax/swing/plaf/metal/OceanTheme.java (addCustomEntriesToTable): Added all the gradients.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-162-0/+10
| | | | | | | * javax/swing/JMenu.java (JMenu()): Set opaque flag to false. (JMenu(String)): Likewise. (JMenu(Action)): Likewise.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-164-38/+39
| | | | | | | | | | | | * javax/swing/plaf/basic/BasicListUI.java (getRowHeight): Adjusted to deal correctly with fixed cell heights. (convertYRoRow): Likewise. * javax/swing/plaf/basic/BasicMenuItemUI.java (installDefaults): Don't make the menu item opaque here. (paintBackground): Moved background painting code from paintMenuItem() to this method. (paintMenuItem): Moved background painting to paintBackground(). (installDefaults): Don't set opaque flag here.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-162-0/+259
| | | | | | | * javax/swing/plaf/metal/MetalUtils.java (paintGradient): New utility method(s). (paintHorizontalGradient): New utility method. (paintVerticalGradient): New utility method.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-152-3/+16
| | | | | | | * javax/swing/JComponent.java (paintDoubleBuffered): Put paint() call inside a try-finally block to correctly recover the double-buffering flag when an exception is thrown inside the paint() call.
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-152-1/+8
| | | | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): Needed to set allow_shrink to the same value as resizable. Other- wise, it is always set to false.
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-152-1/+6
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Added check to prevent NPE.
* 2005-11-15 Anthony Balkissoon <abalkiss@redhat.com>Anthony Balkissoon2005-11-152-3/+8
| | | | | | * javax/swing/JComponent.java: (removeNotify): Unregister WHEN_IN_FOCUSED_WINDOW bindings from the KeyboardManager.
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-154-4/+24
| | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Default rowHeight for tree's should be 0. This is Sun and IBM's default. * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): Default rowHeight for tree's should e 0. This is Sun and IBM's default. * javax/swing/plaf/basic/BasicTreeUI.java: Added a default rowHeight field. (setRowHeight): Set the rowHeight to the class default if parameter is 0. Tree row height should never be set to 0. 20 is the minimum. (installDefaults): fixed call to tree.setRowHeight (shouldPaintExpandControl): Added to check to prevent NPE.
* 2005-11-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2005-11-1519-0/+4148
| | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/CORBA/swing/README.html, examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, examples/gnu/classpath/examples/CORBA/swing/x5/State.java, examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java: New files.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-152-23/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/UIManager.java (userUIDefaults): New field. (get(Object)): Respect the user UI settings. (get(Object,Locale)): Respect the user UI settings. (getBoolean(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getBoolean(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getBorder(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getBorder(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getColor(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getColor(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getDimension(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getDimension(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getFont(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getFont(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getIcon(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getIcon(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getInsets(Object)): Call get() instead of getLookAndFeelDefaults().getInsets() in order to respect the user UI settings. (getInsets(Object,Locale)): Call get() instead of getLookAndFeelDefaults().getInsets() in order to respect the user UI settings. (getInt(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getInt(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getString(Object)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getString(Object,Locale)): Call get() instead of getLookAndFeelDefaults().get() in order to respect the user UI settings. (getUI(JComponent)): Respect the user UI settings. (put): Put key/value into user UI settings.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-1511-172/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/metal/MetalBorders.java (OptionDialogBorder.paintBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalButtonUI.java (MetalButtonUI): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalLabelUI.java (paintDisabledText): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalRadioButtonUI.java (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalScrollBarUI.java (createDecreaseButton): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (createIncreaseButton): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (paintThumbHorizontal): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (paintThumbVertical): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalSplitPaneUI.java (createDefaultDivider): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalToggleButtonUI.java (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalToolTipUI.java (MetalToolTipUI): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/metal/MetalTreeUI.java Removed all listener fields. (installUI): Removed initialization and call super.installUI() instead. (uninstallUI): Removed initialization and call super.uninstallUI() instead.
* Fixed ChangeLog.Lillian Angel2005-11-151-1/+2
| | | | | | | | | | | | | | | | | | 2005-11-15 Lillian Angel <langel@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Code written by Sven de Marothy. (gtkWindowGetLocationOnScreen): Added declaration for native function. (getLocationOnScreen): Changed to handle 2 different cases. If the component is a window, gtkWindowGetLocationOnScreen is called; otherwise, gtkWidetGetLocationOnScreen. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Added signature for new function Java_gnu_java_awt_peer_ gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): Implemented.