Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6449841

Incomplete text layout for sample codes in the Japanese API docs

    XMLWordPrintable

    Details

      Description

      The following text layout should be fixed according to the English docs.
      It seems that most of the cause is in section put in <blockquote> tag.
      --------------------------------------------------------------------------
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/applet/Applet.html#getParameterInfo()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/AlphaComposite.html
      All Constants

      http://java.sun.com/j2se/1.5.0/docs/api/java/awt/BorderLayout.html
      English bug:
       <blockquote><tt>
            // sets the Graphics2D object's Tranform attribute
              g2d.scale(10, 10);
            // sets the Graphics2D object's Stroke attribute
            g2d.setStroke(new BasicStroke(1.5f));
       </tt></blockquote>

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/GridBagLayout.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/font/NumericShaper.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/font/TextHitInfo.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/font/TextLayout.html
      grabled the sample code in the overview
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/font/TextLayout.html#getLeading()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/awt/MediaTracker.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/beans/EventHandler.html
      grabled the sample code in the overview
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/beans/EventHandler.html#create(java.lang.Class,%20java.lang.Object,%20java.lang.String,%20java.lang.String)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/beans/EventHandler.html#create(java.lang.Class,%20java.lang.Object,%20java.lang.String,%20java.lang.String,%20java.lang.String)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/ByteArrayOutputStream.html#toString(int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/DataInput.html#readShort()http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/DataInput.html#readUnsignedShort()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/DataInput.html#readChar()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/DataInput.html#readUTF()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/ObjectStreamField.html#getTypeCode()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/RandomAccessFile.html#readShort()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/RandomAccessFile.html#readUnsignedShort()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/RandomAccessFile.html#readChar()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/RandomAccessFile.html#readInt()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/RandomAccessFile.html#readLong()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/io/StreamTokenizer.html#StreamTokenizer(java.io.InputStream)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/ArrayStoreException.htmlgrabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/ClassLoader.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Character.html#isLowerCase(char)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Character.html#isLowerCase(int)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Character.html#isUpperCase(char)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Character.html#isUpperCase(int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Class.html
      grabled the sample code in the overview
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Class.html#getName()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/ClassCastException.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Double.html#longBitsToDouble(long)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Float.html#intBitsToFloat(int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Integer.html#parseInt(java.lang.String,%20int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Long.html#parseLong(java.lang.String,%20int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/ProcessBuilder.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Runtime.html#loadLibrary(java.lang.String)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/SecurityManager.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/String.html
      grabled the sample code in the overview
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/String.html#substring(int)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/String.html#substring(int,%20int)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/String.html#concat(java.lang.String)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/String.html#replace(char,%20char)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Thread.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/Throwable.html#printStackTrace()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/management/MemoryPoolMXBean.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/management/MemoryNotificationInfo.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/lang/management/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/net/URI.html
      grabled the URI list in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/ByteBuffer.html
      grabled the listed methods in the overview
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/ByteBuffer.html#compact()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/Buffer.html#clear()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/Buffer.html#flip()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/Buffer.html#rewind()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/spi/AbstractInterruptibleChannel.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/spi/AbstractSelector.html-
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/Channels.html#newReader(java.nio.channels.ReadableByteChannel,%20java.lang.String)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/Channels.html#newWriter(java.nio.channels.WritableByteChannel,%20java.lang.String)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/GatheringByteChannel.html#write(java.nio.ByteBuffer[],%20int,%20int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/channels/ScatteringByteChannel.html#read(java.nio.ByteBuffer[],%20int,%20int)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/nio/CharBuffer.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/text/DecimalFormat.html
      wrong indents at Patterns in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/text/MessageFormat.html
      In the overview,
      ---
       FormatType: one of

               number date time choice
      ---
      should be
      ---
       FormatType: one of
               number date time choice
      ---
      and grabled the sample code at Usage Information

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/text/SimpleDateFormat.html
      grabled the listed syntax at Date and Time Patterns in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Date.html#getTimezoneOffset()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Formatter.html
      grabled the sample code in the overview
      No "Details" in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Enumeration.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Formattable.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Hashtable.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/jar/Pack200.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#Random(long)http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#setSeed(long)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#next(int)
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextInt()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextInt(int)http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextLong()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextFloat()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextDouble()http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Random.html#nextGaussian()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/Scanner.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/StringTokenizer.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/TimeZone.html
      grabled the listed syntax in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/regex/Matcher.html#appendReplacement(java.lang.StringBuffer,%20java.lang.String)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/zip/Deflater.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/zip/Inflater.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/Context.html
      grabled the listed resource file in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/InitialContext.html#getURLOrDefaultInitCtx(javax.naming.Name)

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ReferralException.html#retryReferral()

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/event/EventContext.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/event/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/ExtendedRequest.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/ExtendedResponse.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/HasControls.htmlgrabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/StartTlsRequest.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/naming/ldap/StartTlsResponse.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/net/ssl/SSLEngine.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/print/attribute/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/print/package-summary.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/security/sasl/SaslClient.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/security/sasl/SaslServer.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/javax/swing/JLayeredPane.html
      grabled the sample code and wrong indents in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/org/omg/PortableInterceptor/ORBInitializer.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/apt/mirror/com/sun/mirror/util/DeclarationFilter.html
      grabled the sample code in the overview

      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/javaws/jnlp/javax/jnlp/JNLPRandomAccessFile.html#readShort()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/javaws/jnlp/javax/jnlp/JNLPRandomAccessFile.html#readUnsignedShort()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/javaws/jnlp/javax/jnlp/JNLPRandomAccessFile.html#readChar()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/javaws/jnlp/javax/jnlp/JNLPRandomAccessFile.html#readInt()
      http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/javaws/jnlp/javax/jnlp/JNLPRandomAccessFile.html#readLong()
      --------------------------------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ogino Shinya Ogino (Inactive)
              Reporter:
              kurosaki Kenichi Kurosaki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: