* java/awt/List.java: Merged with Classpath.

From-SVN: r60896
This commit is contained in:
Tom Tromey 2003-01-05 01:18:21 +00:00 committed by Tom Tromey
parent 7c288b7346
commit 3128dd5cbd
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-04 Tom Tromey <tromey@redhat.com>
* java/awt/List.java: Merged with Classpath.
2003-01-03 Mark Wielaard <mark@klomp.org>
* java/io/FileDescriptor.java (position): New private field.

View File

@ -113,6 +113,8 @@ private ActionListener action_listeners;
/**
* Initializes a new instance of <code>List</code> with no visible lines
* and multi-select disabled.
*
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
*/
public
List()
@ -127,6 +129,8 @@ List()
* number of visible lines and multi-select disabled.
*
* @param lines The number of visible lines in the list.
*
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
*/
public
List(int rows)
@ -143,12 +147,17 @@ List(int rows)
* @param lines The number of visible lines in the list.
* @param multipleMode <code>true</code> if multiple lines can be selected
* simultaneously, <code>false</code> otherwise.
*
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
*/
public
List(int rows, boolean multipleMode)
{
this.rows = rows;
this.multipleMode = multipleMode;
if (GraphicsEnvironment.isHeadless())
throw new HeadlessException ();
}
/*************************************************************************/