Imported GNU Classpath 0.90

Imported GNU Classpath 0.90
       * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
       * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
       * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
       * java/lang/Math.java: New override file.
       * java/lang/Character.java: Merged from Classpath.
       (start, end): Now 'int's.
       (canonicalName): New field.
       (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
       (UnicodeBlock): Added argument.
       (of): New overload.
       (forName): New method.
       Updated unicode blocks.
       (sets): Updated.
       * sources.am: Regenerated.
       * Makefile.in: Likewise.

From-SVN: r111942
This commit is contained in:
Mark Wielaard 2006-03-10 21:46:48 +00:00
parent 27079765d0
commit 8aa540d2f7
1367 changed files with 188789 additions and 22762 deletions

View file

@ -117,7 +117,7 @@ public class CardLayout implements LayoutManager2, Serializable
/**
* Cause the first component in the container to be displayed.
*
* @param parent The parent container
* @param parent The parent container, not <code>null</code>.
*/
public void first (Container parent)
{
@ -181,7 +181,7 @@ public class CardLayout implements LayoutManager2, Serializable
/**
* Cause the last component in the container to be displayed.
*
* @param parent The parent container
* @param parent The parent container, not <code>null</code>.
*/
public void last (Container parent)
{
@ -247,7 +247,7 @@ public class CardLayout implements LayoutManager2, Serializable
* this current card is the last one in the deck, the first
* component is displayed.
*
* @param parent The parent container
* @param parent The parent container, not <code>null</code>.
*/
public void next (Container parent)
{
@ -271,7 +271,7 @@ public class CardLayout implements LayoutManager2, Serializable
* If this current card is the first one in the deck, the last
* component is displayed.
*
* @param parent The parent container
* @param parent The parent container, not <code>null</code>.
*/
public void previous (Container parent)
{
@ -321,13 +321,19 @@ public class CardLayout implements LayoutManager2, Serializable
/**
* Cause the named component to be shown. If the component name is
* unknown, this method does nothing.
* unknown or <code>null</code>, this method does nothing.
*
* @param parent The parent container
* @param name The name of the component to show
* @param parent The parent container, not <code>null</code>.
* @param name The name of the component to show
*/
public void show (Container parent, String name)
{
if (name == null)
return;
if (parent.getLayout() != this)
throw new IllegalArgumentException("parent's layout is not this CardLayout");
Object target = tab.get (name);
if (target != null)
{
@ -362,9 +368,15 @@ public class CardLayout implements LayoutManager2, Serializable
*
* @param parent The parent container
* @param what The type of goto: FIRST, LAST, NEXT or PREV
*
* @throws IllegalArgumentException if parent has not this
* CardLayout set as its layout.
*/
private void gotoComponent (Container parent, int what)
{
if (parent.getLayout() != this)
throw new IllegalArgumentException("parent's layout is not this CardLayout");
synchronized (parent.getTreeLock ())
{
int num = parent.ncomponents;