summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* 2006-12-01 Mario Torre <neugens@limasoftware.net>Mario Torre2006-12-011-66/+96
| | | | | | | | * java/text/DecimalFormat.java (formatInternal): move the formatting of fractional portion in a separate method. Also fixes the handling of decimal separator and its associated field. (handleFractionalPart): new method, needed to relax a bit formatInternal.
* 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-011-15/+24
| | | | | | | | | | | | | | * java/beans/beancontext/BeanContextServicesSupport.java: (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices, Class)): Implemented. (BCSSProxyServiceProvider.getService(BeanContextServices, Object, Class, Object)): Implemented. (BCSSProxyServiceProvider.releaseService(BeanContextServices, Object, Object)): Implemented. (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)): Implemented. (initialiseBeanContextResources()): Implemented. (releaseBeanContextResoures()): Implemented.
* 2006-11-30 Gary Benson <gbenson@redhat.com>Gary Benson2006-11-301-2/+6
| | | | * java/lang/Thread.java: Javadoc fixes.
* 2006-11-29 Mario Torre <neugens@limasoftware.net>Mario Torre2006-11-293-40/+42
| | | | | | | | | | | | * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign with the default international currency sign \u00A4. * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol table for string formatting. (formatInternal): likewise. (scanNegativePattern): likewise. (applyPattern): likewise. * java/text/DecimalFormatSymbols.java (clone): Revert to old version as Locale is immutable and does not need clone.
* 2006-11-29 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-291-4/+7
| | | | | | | | | | | | | | | | | | | | | * java/awt/Component.java (isShowing): Simplified condition code and avoid unnecessary if-codepaths. (coalesceEvents): Always coalesce paint events and let the peer figure out the expanding of the repaint area. * gnu/java/awt/peer/swing/SwingComponentPeer.java (currentPaintEvents): Removed. Replaced by paintArea. (paintArea): New field. Tracks the dirty area. (SwingComponentPeer): Removed init of currentPaintEvents. (coalescePaintEvent): Simplified to only union the dirty regions. (handleEvent): Paint dirty region that was tracked in paintArea. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): New field. Tracks the dirty region. (coalescePaintEvent): Implemented to track the dirty region. (paintComponent): Use the dirty region in paintArea. Protect state by putting the paint and dispose code in a try-finally. (updateComponent): Use the dirty region in paintArea. Protect state by putting the paint and dispose code in a try-finally.
* 2006-11-29 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-291-2/+0
| | | | | * java/awt/font/TextLayout.java (getVisualHighlightShape): Removed debug output.
* 2006-11-27Ê Casey MarshallÊ <csm@gnu.org>Casey Marshall2006-11-282-35/+20
| | | | | | | | | * java/util/jar/JarEntry.java (certs): removed. (jarfile): new field. (getCertificates): read the certificates from the containing JarFile. * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't fill in 'certs,' fill in 'jarfile' for the entry. (getEntry): likewise.
* 2006-11-27 Francis Kung <fkung@redhat.com>Francis Kung2006-11-271-0/+19
| | | | | * java/awt/image/WritableRaster.java (createChild): Implemented.
* 2006-11-27 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-271-5/+77
| | | | | | | | | * java/awt/font/TextLayout.java (TextLayout(TextLayout,int,int)): Also layout the new runs. (getVisualHighlightShape): Implemented. (layoutRuns): Fixed boundary so that the last run is also laid out. (left): New helper method. (right): New helper method.
* 2006-11-27 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-271-10/+57
| | | | | | | | | | * java/awt/font/TextLayout.java (getCaretShape(TextHitInfo,Rectangle2D)): Implemented. (getCaretShape(TextHitInfo)): Use natural bounds. (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method. (getCaretShapes(int,Rectangle2D)): Delegate to new method above with DEFAULT_CARET_POLICY. (getCaretShapes(int)): Use natural bounds.
* 2006-11-27 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-271-11/+98
| | | | | | | | | | | | | | | | * java/awt/font/TextLayout.java (Run.font): New field. (Run.location): New field. (Run.Run): Initialize font. (font): Removed field. This is moved into Run as the actual font is something run-specific. (TextLayout(String,Font,FontRenderContext)): Set font on the single runs. Layout the runs here. (TextLayout(TextLayout,int,int)): Copy over the run fonts. (findRunAtIndex): New helper method. (getCaretInfo): Implemented. (layoutRuns): New helper method. (toString): Don't put font in output string.
* 2006-11-27 neugens <neugens@nirvana.limasoftware.net>Mario Torre2006-11-271-5/+37
| | | | | | | | | * java/text/DecimalFormat.java (formatInternal): Add an explicit test for FieldPosition to be null. Check if the factional part is just 0 and can be omitted from the result. (scanNegativePattern): Fixed index out of bound exception when searching for international currency symbol in negative pattern.
* 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-11-271-23/+128
| | | | | | | | | | | | | * java/beans/beancontext/BeanContextSupport.java: (readObject(ObjectInputStream)): Implemented. (writeObject(ObjectOutputStream)): Likewise. (BCSChild.getTargetChild()): Added. (bcsPreDeserializationHook()): Implemented. (bcsPreSerializationHook()): Likewise. (childDeserializedHook(Object,BCSChild)): Likewise. (isSerializing()): Likewise. (readChildren(ObjectInputStream)): Likewise. (writeChildren(ObjectOutputStream)): Likewise.
* * java/io/File.java (list): Return empty list for unreadable dirs.Mark Wielaard2006-11-251-1/+2
|
* 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>Mario Torre2006-11-253-1124/+1865
| | | | | | | | | | | | PR28462 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5. * java/text/NumberFormat.java (format): all format methods, fixed FieldPosition argument should never be null. (format(Object, StringBuffer, FieldPosition)): fixed signature, method is not final. * java/text/DecimalFormatSymbols.java (clone): fixed to also clone locale. * AUTHORS: added my name to the file.
* * java/awt/EventQueue.java (pop): Only terminate dispatchThread whenMark Wielaard2006-11-251-2/+5
| | | | it is still running.
* 2006-11-24 Tania Bento <tbento@redhat.com>Tania Bento2006-11-241-1/+4
| | | | | | * java/awt/font/TextHitInfo.java (equals(TextHitInfo)): If TextHitInfo parameter is null, return false. (beforeOffset): Decreased first parameter by 1.
* 2006-11-24 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-241-21/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/dnd/DropTarget.java (DropTargetAutoScroller.HYSTERESIS): New constant. (DropTargetAutoScroller.DELAY): New constant. (DropTargetAutoScroller.inner): New field. A cached Rectangle instance. (DropTargetAutoScroller.outer): New field. A cached Rectangle instance. (DropTargetAutoScroller.timer): New field. The actual timer. (DropTargetAutoScroller.DropTargetAutoScroller): Initialize timer. (DropTargetAutoScroller.actionPerformed): Implemented. (DropTargetAutoScroller.stop): Implemented. (DropTargetAutoScroller.updateLocation): Implemented. (clearAutoscroll): Stop the autoscroller before nullifying it. (createDropTargetAutoScroller): Don't set the field here, only return a new instance. (dragEnter): Only do something when active. Initialize auto scrolling. (dragExit): Only do something when active. Stop auto scrolling. (dragOver): Only do something when active. Update auto scrolling. (drop): Only do something when active. Update auto scrolling. (dropActionChanged): Only do something when active. Update auto scrolling. (initializeAutoScrolling): Check if component is an instance of Autoscroll, otherwise do nothing. (setActive): Disable autoscrolling when deactivating. (setComponent): When component is set to null, disable autoscrolling.
* 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-241-3/+14
| | | | | * java/beans/beancontext/BeanContextServicesSupport.java (getChildBeanContextServicesListener): Implemented.
* 2006-11-23 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-231-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java (createGraphics): Use constructor to create new instance of BufferedImageGraphics. * java/awt/Toolkit.java (getDefaultToolkit): Really try to get a real toolkit. Only use HeadlessToolkit if no other is available. * gnu/java/awt/peer/gtk/GtkToolkit.java (checkHeadless): New helper method. Checks for headless environment and throws HeadlessException if appropriate. (createButton): Check for headless. (createCanvas): Check for headless. (createCheckbox): Check for headless. (createCheckboxMenuItem): Check for headless. (createChoice): Check for headless. (createDialog): Check for headless. (createDragGestureRecognizer): Check for headless. (createDragSourceContextPeer): Check for headless. (createEmbeddedWindow): Check for headless. (createFileDialog): Check for headless. (createFrame): Check for headless. (createCheckbox): Check for headless. (createLabel): Check for headless. (createList): Check for headless. (createMenu): Check for headless. (createMenuBar): Check for headless. (createMenuItem): Check for headless. (createPanel): Check for headless. (createPopupMenu): Check for headless. (createScrollbar): Check for headless. (createScrollPane): Check for headless. (createTextArea): Check for headless. (createTextField): Check for headless. (createWindow): Check for headless.
* 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-231-5/+44
| | | | | | * java/beans/beancontext/BeanContextSupport.java (deserialize): Implemented, (serialize): Implemented.
* 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-221-3/+14
| | | | | | * java/beans/beancontext/BeanContextSupport.java (toArray): Added API docs, (toArray(Object[])): Added API docs, removed NotImplementedException.
* 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-221-1/+0
| | | | | * java/beans/beancontext/BeanContextSupport.java (avoidingGui): Removed NotImplementedException.
* 2006-11-22 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-221-2/+13
| | | | | | * java/awt/font/TextLayout.java (hash): New field. Caches the hash code. (hashCode): Implemented.
* 2006-11-22 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-226-597/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/image/ImageFilter.java Reformat whole class. (getFilterInstance): Don't touch the consumer field. Don't check consumer. (imageComplete): Don't check consumer. (setColorModel): Don't check consumer. (setDimensions): Don't check consumer. (setHints): Don't check consumer. (setPixels): Don't check consumer. (setProperties): Pass the original property too. * java/awt/image/IndexColorModel.java (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the transparent pixel by calling the new helper method. (IndexColorModel(int,int,byte[],int,boolean,int)): Set the transparent pixel by calling the new helper method. (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the transparent pixel by calling the new helper method. (coerceData): Removed. This is not needed. (getAlpha): Simply return value from color map. The transparent pixel has to be there. (setTransparentPixel): New helper method. Inserts the transparent pixel. * java/awt/image/RGBImageFilter.java Reformat whole class. (convertColorModelToDefault): Removed. No longer needed. (filterIndexColorModel): Don't handle transparent pixels separately. (filterRGBPixels): Set pixels on consumer already. (makeColor): Removed. No longer needed. * java/awt/image/ReplicateScaleFilter.java (replicatePixels): Removed. (setDimension): Correctly compute destination size, avoid double calculations. (setPixels): Avoid double calculations. Fixed some boundary cases. (setupSources): New helper method. * java/awt/image/SampleModel.java (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. * java/awt/image/SinglePixelPackedSampleModel.java (setDataElements(int,int,int,int,Object,DataBuffer)): Removed. This is not needed as the superclass already copies line by line. (setDataElements(int,int,Object,DataBuffer)): Simplified code, removed some checks that the RI also doesn't perform. Call DataBuffer.setElem().
* 2006-11-22 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-221-2/+53
| | | | | * java/awt/text/TextLayout.java (getLogicalRangesForVisualSelection): Implemented.
* 2006-11-21 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-211-18/+248
| | | | | | | | | | | | | | | | | | | | | | | | * java/awt/text/TextLayout.java (Run.isLeftToRight): New helper method. (logicalToVisual): New field. Maps logical indices to visual indices. (visualToLogical): New field. Maps visual indices to logical indices. (TextLayout): Setup mappings. (setupMappings): New method for setting up the mappings. (getCharacterLevel): Reorganized code. (getNextLeftHit(int)): Implemented. (getNextLeftHit(int,CaretPolicy)): New method. (getNextLeftHit(TextHitInfo)): Implemented. (getNextRightHit(int)): Implemented. (getNextRightHit(int,CaretPolicy)): New method. (getNextRightHit(TextHitInfo)): New method. (getVisualOtherHit): Implemented. (checkHitInfo): New helper methods for checking parameters. (hitToCaret): New helper method. Maps hit infos to caret locations. (caretToHit): New helper method. Maps caret locations to hit infos. (isCharacterLTR): New helper method. (CaretPolicy.getStrongCaret): Implemented.
* 2006-11-21 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-212-113/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/text/TextLayout.java (Run): New inner helper class. (length): New field. (naturalBounds): New field. (offset): New field. (runIndices): Removed. This is now encapsulate in a Run object. (runs): Changed to Run[]. (string): Changed to char[]. (totalAdvance): New field. Caches advance value. (TextLayout(String,Font,FontRenderContext)): Change to store string as char[] and run layout as Run[]. Clean out empty run items. (TextLayout(TextLayout,int,int)): Change to store string as char[] and run layout as Run[]. (clone): Call private constructor for maximum efficiency. (determineWhitespace): Adapted to use char[] data. (draw): Adapted to use Run objects. (getAdvance): Cache computed total advance. (getBlackBoxBounds): Adapted to use Run objects. (getCaretInfo): Use natural layout bounds. (getCharacterCount): Return length field. (getLogicalHighlightShape): Adapted to use Run objects. (getNaturalBounds): New helper method. Calculates and returns the natural bounds of this text layout. (getOutline): Adapted to use Run objects. (getStringProperties): Adapted to use char[] data. (getVisibleAdvance): Adapted to use char[] and Run data. (handleJustify): Adapted to use char[] and Run data. (hitTestChar(float,float,Rectangle2D)): Implemented. (hitTestChar(float,float)): Use natural bounds. (setCharIndices): Adapted to use char[] and Run data. (toString): Adapted to use char[] and Run data. * java/text/Bidi.java (requiresBidi): Exclude paragraph separators from bidi-triggers.
* 2006-11-20 Marco Trudel <mtrudel@gmx.ch>Raif S. Naffah2006-11-201-121/+55
| | | | | | | | | * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache digest algorithm implementations. (readSignatures): Parse the manifest once and reuse that data. Add support for line breaks. (verifyHashes): Use the parsed manifest entry. (readManifestEntry): Removed.
* 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-11-202-41/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/beans/beancontext/BeanContextServicesSupport.java: Added more documentation. (addService(Class,BeanContextServiceProvider,boolean)): Synchronized over global hierarchy lock. (bcsPreDeserializationHook(ObjectInputStream)): Implemented. (bcsPreSerializationHook(ObjectOutputStream)): Implemented. (childJustRemovedHook(Object,BCSChild)): Implemented. (createBCSSServiceProvider(Class,BeanContextServiceProvider)): Implemented. (fireServiceRevoked(BeanContextServiceRevokedEvent)): Added revocation-only listeners. (getBeanContextServicesPeer()): Implemented. (getCurrentServiceClasses(Class)): Synchronized over global hierarchy lock. (getCurrentServiceSelectors(Class)): Synchronized over global hierarchy lock, and fixed FIXME. (getService(BeanContextChild,Object,Class,Object, BeanContextServiceRevokedListener)): Implemented. (hasService(Class)): Synchronized over global hierarchy lock. (releaseService(BeanContextChild,Object,Object)): Implemented. (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented. * java/beans/beancontext/BeanContextSupport.java: (remove(Object, boolean)): Documentation correction.
* 2006-11-17 Gary Benson <gbenson@redhat.com>Gary Benson2006-11-171-3/+3
| | | | | * java/net/DatagramSocket.java (getLocalAddress, connect, receive): Perform security check on address not hostname.
* 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-161-18/+97
| | | | | | | | | | * java/beans/beancontext/BeanContextSupport.java (getChildBeanContextMembershipListener): Implemented, (getChildPropertyChangeListener): Implemented, (getChildSerializable): Implemented, (getChildVetoableChangeListener): Implemented, (getChildVisibility): Implemented, (setDesignTime): Use same property name as Sun's implementation.
* 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-162-50/+56
| | | | | | * java/beans/DesignMode.java: Reformatted and removed a FIXME, * java/beans/Statement.java (toString): Updated to match reference implementation.
* 2006-11-13 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-131-1/+21
| | | | | * java/awt/image/IndexColorModel.java (createCompatibleSampleModel): Implemented missing method.
* 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-111-4/+22
| | | | | * java/beans/beancontext/BeanContextSupport.java (getChildBeanContextChild): Implemented.
* 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-101-6/+9
| | | | | | * java/util/Collections.java (sort(List)): Minor API doc addition, (sort(List, Comparator)): Likewise.
* 2006-11-09 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-091-0/+9
| | | | | | | | | * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment, * gnu/java/awt/peer/headless/HeadlessToolkit: New classes. Implement basic headless toolkit. * java/awt/Toolkit.java (getDefaultToolkit): Check headless property and create headless toolkit when true.
* 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-091-9/+28
| | | | | | | | | | * java/beans/beancontext/BeanContextSupport.java (BeanContextSupport): Use correct dtime default, (BeanContextSupport(BeanContext)): Likewise, (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed locale argument, (BeanContextSupport(BeanContext, Locale, boolean)): Likewise, (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
* 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-091-3/+9
| | | | | * java/beans/beancontext/BeanContextSupport.java (getBeanContextPeer): Implemented.
* 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-091-4/+11
| | | | | | Fixes bug #29770 * java/beans/SimpleBeanInfo.java (loadImage): Check for nulls.
* Fixes bug #29754Mark Wielaard2006-11-081-0/+6
| | | | | | * java/io/OutputStreamWriter.java (OutputStreamWriter(OutputStream,Charset)): Set encodingName. (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
* 2006-11-07 Tania Bento <tbento@redhat.com>Tania Bento2006-11-071-1/+4
| | | | | | * java/awt/FlowLayout.java (getSize): If parent does not have a component, then a different formula is used to calcuate the width.
* 2006-11-06 Tania Bento <tbento@redhat.com>Tania Bento2006-11-061-1/+3
| | | | | * java/awt/TextComponent.java (setSelectionStart): Added check.
* 2006-11-06 Tania Bento <tbento@redhat.com>Tania Bento2006-11-061-3/+9
| | | | | | | | * java/awt/TextField.java (minimumSize(int)): Check if minimum size has been previously set and changed values of Dimension returned if peer == null. (preferredSize(int)): Check if preferred size has been previously set and changed values of Dimension returned if peer == null.
* 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2006-11-061-0/+1
| | | | | Fixes bug #29703 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
* 2006-11-03 Tania Bento <tbento@redhat.com>generics-merge-20061104Tania Bento2006-11-031-47/+21
| | | | | | | | | | | | | | | | * java/awt/TextArea.java (getMinimumSize): Changed documentation. (getPreferredSize): Changed documentation. (getMinimumSize(int,int)): Changed documenation. (getPreferredSize(int,int)): Changed documenation. (minimumSize): Changed documentation. (preferredSize): Changed documenation. (minimumSize(int,int)): Changed documentation. Checked if minimum size had been previously set and changed values of Dimension returned if peer == null. (preferredSize(int, int)): Checked if preferred size had been previously set and changed values of Dimension returned if peer = null.
* 2006-11-03 Tania Bento <tbento@redhat.com>Tania Bento2006-11-031-18/+21
| | | | | * java/awt/event/ComponentEvent.java (paramString): Changed format of string representation returned.
* 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-021-5/+34
| | | | * java/awt/geom/GeneralPath.java: API doc fixes.
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-021-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 29644 * gnu/java/awt/peer/ClasspathFontPeer.java (getStringBounds): Removed abstract method. This is replaced in java.awt.Font to use a TextLayout. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (GtkWindowPeer): Set a font on the window object. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (FreetypeGlyphVector(Font,String,FontRenderContext,int)): Changed to take char,int,int instead of String. Filter control characters. (FreetypeGlyphVector(Font,String,FontRenderContext)): Create char array out of string. (getLogicalBounds): Don't translate bounds. They already are translated. * gnu/java/awt/peer/gtk/GdkFontMetrics.java (stringWidth): Filter out control characters. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getStringBounds): Removed unneeded method. (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector constructor. * gnu/java/awt/peer/qt/QtFontPeer.java (getStringBounds): Removed unneeded method. * gnu/java/awt/peer/x/XFontPeer.java (getStringBounds): Removed unneeded method. * gnu/java/awt/peer/x/XFontPeer2.java (getStringBounds): Removed unneeded method. * java/awt/Font.java (getStringBounds(char[],int,int,FontRenderContext)): Use TextLayout to determine the bounds. (getStringBounds(CharacterIterator,int,int,FontRenderContext)): Delegate to the char[] version of this method. (getStringBounds(String,FontRenderContext)): Delegate to the char[] version of this method. (getStringBounds(String,int,int,FontRenderContext)): Delegate to the String version of this method.
* 2006-11-01 Tania Bento <tbento@redhat.com>Tania Bento2006-11-011-5/+16
| | | | | | * java/awt/ScrollPaneAdjustable.java (paramString): Changed format of string representation returned. (paramStringHelper): New private method.