JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
java.lang.String

Packages that use String
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.color Provides classes for color spaces. 
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.font Provides classes and interface relating to fonts. 
java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. 
java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. 
java.awt.image Provides classes for creating and modifying images. 
java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images. 
java.awt.print Provides classes and interfaces for a general printing API. 
java.beans Contains classes related to Java Beans development. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.net Provides the classes for implementing networking applications. 
java.rmi Provides the RMI package. 
java.rmi.activation Provides support for RMI Object Activation. 
java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC). 
java.rmi.registry Provides a class and two interfaces for the RMI registry. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.security Provides the classes and interfaces for the security framework. 
java.security.acl The classes and interfaces in this package have been superseded by classes in the java.security package. 
java.security.cert Provides classes and interfaces for parsing and managing certificates. 
java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
java.sql Provides the API for accessing and processing data in a data source using the JavaTM programming language. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. 
javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. 
javax.naming Provides the classes and interfaces for accessing naming services. 
javax.naming.directory Extends the javax.naming package to provide functionality for accessing directory services. 
javax.naming.event Provides support for event notification when accessing naming and directory services. 
javax.naming.ldap Provides support for LDAPv3 extended operations and controls. 
javax.naming.spi Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. 
javax.rmi.CORBA Contains portability APIs for RMI-IIOP. 
javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. 
javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.filechooser Contains classes and interfaces used by the JFileChooser component. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.text.html.parser Provides the default HTML parser, along with support classes. 
javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree. 
javax.swing.undo Provides support for undo/redo capabilities in an application such as a text editor. 
javax.transaction Contains three exceptions thrown by the ORB machinery during unmarshalling. 
org.omg.CORBA Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). 
org.omg.CORBA_2_3 The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java 2 Standard Edition.   These changes occurred in recent revisions to the CORBA API defined by the OMG.  The new methods were added to  interfaces derived from the corresponding interfaces in the CORBA package.  This provides backward compatibility and avoids breaking the JCK tests. 
org.omg.CORBA_2_3.portable Provides methods for the input and output of value types, and contains other updates to the org/omg/CORBA/portable package. 
org.omg.CORBA.DynAnyPackage Provides the exceptions used with the DynAny interface (InvalidValue, Invalid, InvalidSeq, and TypeMismatch). 
org.omg.CORBA.ORBPackage Provides the exception InvalidName, which is thrown by the method ORB.resolve_initial_references and the exception InconsistentTypeCode, which is thrown by the Dynamic Any creation methods in the ORB class. 
org.omg.CORBA.portable Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. 
org.omg.CORBA.TypeCodePackage Provides the user-defined exceptions BadKind and Bounds, which are thrown by methods in in the class TypeCode
org.omg.CosNaming Provides the naming service for Java IDL. 
org.omg.CosNaming.NamingContextPackage Provides the exceptions used in the package org.omg.CosNaming (AlreadyBound, CannotProceed, InvalidName, NotEmpty, and NotFound) and also the Helper and Holder classes for those exceptions. 
org.omg.stub.java.rmi Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. 
 

Uses of String in java.applet
 

Methods in java.applet that return String
 String Applet.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 String Applet.getAppletInfo()
          Returns information about this applet.
 String[][] Applet.getParameterInfo()
          Returns information about the parameters than are understood by this applet.
 String AppletStub.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 

Methods in java.applet with parameters of type String
 Applet AppletContext.getApplet(String name)
          Finds and returns the applet in the document represented by this applet context with the given name.
 void AppletContext.showDocument(URL url, String target)
          Requests that the browser or applet viewer show the Web page indicated by the url argument.
 void AppletContext.showStatus(String status)
          Requests that the argument string be displayed in the "status window".
 String Applet.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 void Applet.showStatus(String msg)
          Requests that the argument string be displayed in the "status window".
 Image Applet.getImage(URL url, String name)
          Returns an Image object that can then be painted on the screen.
 AudioClip Applet.getAudioClip(URL url, String name)
          Returns the AudioClip object specified by the URL and name arguments.
 void Applet.play(URL url, String name)
          Plays the audio clip given the URL and a specifier that is relative to it.
 String AppletStub.getParameter(String name)
          Returns the value of the named parameter in the HTML tag.
 

Uses of String in java.awt
 

Fields in java.awt declared as String
static String BorderLayout.NORTH
          The north layout constraint (top of container).
static String BorderLayout.SOUTH
          The south layout constraint (bottom of container).
static String BorderLayout.EAST
          The east layout constraint (right side of container).
static String BorderLayout.WEST
          The west layout constraint (left side of container).
static String BorderLayout.CENTER
          The center layout constraint (middle of container).
static String BorderLayout.BEFORE_FIRST_LINE
          The component comes before the first line of the layout's content.
static String BorderLayout.AFTER_LAST_LINE
          The component comes after the last line of the layout's content.
static String BorderLayout.BEFORE_LINE_BEGINS
          The component goes at the beginning of the line direction for the layout.
static String BorderLayout.AFTER_LINE_ENDS
          The component goes at the end of the line direction for the layout.
protected  String Font.name
          The logical name of this Font, as passed to the constructor.
protected  String Cursor.name
          The user-visible name of the cursor.
 

Methods in java.awt that return String
 String Component.getName()
          Gets the name of the component.
protected  String Component.paramString()
          Returns a string representing the state of this component.
 String Component.toString()
          Returns a string representation of this component and its values.
protected  String Container.paramString()
          Returns the parameter string representing the state of this container.
 String Component.AccessibleAWTComponent.getAccessibleName()
          Get the accessible name of this object.
 String Component.AccessibleAWTComponent.getAccessibleDescription()
          Get the accessible description of this object.
protected  String Event.paramString()
          Returns the parameter string representing this event.
 String Event.toString()
          Returns a representation of this event's values as a string.
 String CardLayout.toString()
          Returns a string representation of the state of this card layout.
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames()
          Returns an array containing the names of all font families available in this GraphicsEnvironment.
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
          Returns an array containing the localized names of all font families available in this GraphicsEnvironment.
 String ScrollPane.paramString()
           
protected  String Scrollbar.paramString()
          Returns the parameter string representing the state of this scroll bar.
 String MenuComponent.getName()
          Gets the name of the menu component.
protected  String MenuComponent.paramString()
          Returns the parameter string representing the state of this menu component.
 String MenuComponent.toString()
          Returns a representation of this menu component as a string.
 String MenuItem.getLabel()
          Gets the label for this menu item.
 String MenuItem.getActionCommand()
          Gets the command name of the action event that is fired by this menu item.
 String MenuItem.paramString()
          Returns the parameter string representing the state of this menu item.
 String Menu.paramString()
          Gets the parameter string representing the state of this menu.
 String MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
          Get the accessible name of this object.
 String MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
          Get the accessible description of this object.
 String MenuItem.AccessibleAWTMenuItem.getAccessibleName()
          Get the accessible name of this object.
 String MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String Checkbox.getLabel()
          Gets the label of this check box.
protected  String Checkbox.paramString()
          Returns the parameter string representing the state of this check box.
 String Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String FontMetrics.toString()
          Returns a representation of this FontMetrics object's values as a String.
 String Graphics.toString()
          Returns a String object representing this Graphics object's value.
 String MenuShortcut.toString()
          Returns an internationalized description of the MenuShortcut.
protected  String MenuShortcut.paramString()
           
abstract  String GraphicsDevice.getIDstring()
          Returns the identification string associated with this GraphicsDevice.
 String GridLayout.toString()
          Returns the string representation of this grid layout's values.
 String BorderLayout.toString()
          Returns a string representation of the state of this border layout.
 String Insets.toString()
          Returns a string representation of this Insets object.
 String Font.getFamily()
          Returns the family name of this Font.
 String Font.getFamily(Locale l)
          Returns the family name of this Font, localized for the specified locale.
 String Font.getPSName()
          Returns the postscript name of this Font.
 String Font.getName()
          Returns the logical name of this Font.
 String Font.getFontName()
          Returns the font face name of this Font.
 String Font.getFontName(Locale l)
          Returns the font face name of the Font, localized for the specified locale.
 String Font.toString()
          Converts this Font object to a String representation.
 String Window.getWarningString()
          Gets the warning string that is displayed with this window.
 String Dialog.getTitle()
          Gets the title of the dialog.
protected  String Dialog.paramString()
          Returns the parameter string representing the state of this dialog window.
 String FileDialog.getDirectory()
          Gets the directory of this file dialog.
 String FileDialog.getFile()
          Gets the selected file of this file dialog.
protected  String FileDialog.paramString()
          Returns the parameter string representing the state of this file dialog window.
 String RenderingHints.toString()
          Returns a rather long string representation of the hashmap which contains the mappings of keys to values for this RenderingHints object.
abstract  String[] Toolkit.getFontList()
          Deprecated. see GraphicsEnvironment.getAvailableFontFamilyNames()
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
 String Point.toString()
          Returns a string representation of this point and its location in the (xy) coordinate space.
 String Color.toString()
          Returns a string representation of this Color.
 String List.getItem(int index)
          Gets the item associated with the specified index.
 String[] List.getItems()
          Gets the items in the list.
 String List.getSelectedItem()
          Get the selected item on this scrolling list.
 String[] List.getSelectedItems()
          Get the selected items on this scrolling list.
protected  String List.paramString()
          Returns the parameter string representing the state of this scrolling list.
 String TextComponent.getText()
          Gets the text that is presented by this text component.
 String TextComponent.getSelectedText()
          Gets the selected text from the text that is presented by this text component.
protected  String TextComponent.paramString()
          Returns the parameter string representing the state of this text component.
 String TextComponent.AccessibleAWTTextComponent.getSelectedText()
          Returns the portion of the text that is selected.
 String TextComponent.AccessibleAWTTextComponent.getAtIndex(int part, int index)
          Returns the String at a given index.
 String TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part, int index)
          Returns the String after a given index.
 String TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part, int index)
          Returns the String before a given index.
 String CheckboxGroup.toString()
          Returns a string representation of this check box group, including the value of its current selection.
 String Cursor.getName()
          Returns the name of this cursor.
 String Cursor.toString()
          Returns a string representation of this cursor.
 String Dimension.toString()
          Returns a string representation of the values of this Dimension object's height and width fields.
 String Choice.getItem(int index)
          Gets the string at the specified index in this Choice menu.
 String Choice.getSelectedItem()
          Gets a representation of the current choice as a string.
protected  String Choice.paramString()
          Returns the parameter string representing the state of this choice menu.
 String Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
          Returns a description of the specified action of the object.
 String GridBagLayout.toString()
          Returns a string representation of this grid bag layout's values.
 String Frame.getTitle()
          Gets the title of the frame.
protected  String Frame.paramString()
          Returns the parameter String of this Frame.
 String PageAttributes.toString()
          Returns a string representation of this PageAttributes.
 String JobAttributes.getFileName()
          Specifies the file name for the output file for jobs using these attributes.
 String JobAttributes.getPrinter()
          Returns the destination printer for jobs using these attributes.
 String JobAttributes.toString()
          Returns a string representation of this JobAttributes.
 String AWTEvent.toString()
           
 String AWTEvent.paramString()
          Returns a string representing the state of this event.
 String Label.getText()
          Gets the text of this label.
protected  String Label.paramString()
          Returns the parameter string representing the state of this label.
 String Label.AccessibleAWTLabel.getAccessibleName()
          Get the accessible name of this object.
protected  String TextField.paramString()
          Returns the parameter string representing the state of this text field.
 String Rectangle.toString()
          Returns a String representing this Rectangle and its values.
 String FlowLayout.toString()
          Returns a string representation of this FlowLayout object and its values.
 String SystemColor.toString()
          Returns the String representation of this Color's values.
 String Button.getLabel()
          Gets the label of this button.
 String Button.getActionCommand()
          Returns the command name of the action event fired by this button.
protected  String Button.paramString()
          Returns the parameter string representing the state of this button.
 String Button.AccessibleAWTButton.getAccessibleName()
          Get the accessible name of this object.
 String Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
 String CheckboxMenuItem.paramString()
          Returns the parameter string representing the state of this check box menu item.
 String CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
          Return a description of the specified action of the object.
protected  String TextArea.paramString()
          Returns the parameter string representing the state of this text area.
 String Robot.toString()
          Returns a string representation of this Robot.
 

Methods in java.awt with parameters of type String
 void Component.setName(String name)
          Sets the name of the component to the specified string.
 void Component.addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Add a PropertyChangeListener for a specific property.
 void Component.removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Remove a PropertyChangeListener for a specific property.
protected  void Component.firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Support for reporting bound property changes.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 void CardLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void CardLayout.show(Container parent, String name)
          Flips to the component that was added to this layout with the specified name, using addLayoutComponent.
 void MenuComponent.setName(String name)
          Sets the name of the component to the specified string.
 void MenuItem.setLabel(String label)
          Sets the label for this menu item to the specified label.
 void MenuItem.setActionCommand(String command)
          Sets the command name of the action event that is fired by this menu item.
 void Menu.add(String label)
          Adds an item with the specified label to this menu.
 void Menu.insert(String label, int index)
          Inserts a menu item with the specified label into this menu at the specified position.
 void Checkbox.setLabel(String label)
          Sets this check box's label to be the string argument.
 int FontMetrics.stringWidth(String str)
          Returns the total advance width for showing the specified String in this Font.
 LineMetrics FontMetrics.getLineMetrics(String str, Graphics context)
          Returns the LineMetrics object for the specified String in the specified Graphics context.
 LineMetrics FontMetrics.getLineMetrics(String str, int beginIndex, int limit, Graphics context)
          Returns the LineMetrics object for the specified String in the specified Graphics context.
 Rectangle2D FontMetrics.getStringBounds(String str, Graphics context)
          Returns the bounds of the specified String in the specified Graphics context.
 Rectangle2D FontMetrics.getStringBounds(String str, int beginIndex, int limit, Graphics context)
          Returns the bounds of the specified String in the specified Graphics context.
abstract  void Graphics.drawString(String str, int x, int y)
          Draws the text given by the specified string, using this graphics context's current font and color.
abstract  void Graphics2D.drawString(String str, int x, int y)
          Renders the text of the specified String, using the current Font and Paint attributes in the Graphics2D context.
abstract  void Graphics2D.drawString(String s, float x, float y)
          Renders the text specified by the specified String, using the current Font and Paint attributes in the Graphics2D context.
protected  void AWTEventMulticaster.saveInternal(ObjectOutputStream s, String k)
           
protected static void AWTEventMulticaster.save(ObjectOutputStream s, String k, EventListener l)
           
 void GridLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void BorderLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
static Font Font.getFont(String nm)
          Returns a Font object from the system properties list.
static Font Font.decode(String str)
          Returns the Font that the str argument describes.
static Font Font.getFont(String nm, Font font)
          Gets the specified Font from the system properties list.
 int Font.canDisplayUpTo(String str)
          Indicates whether or not this Font can display a specified String.
 LineMetrics Font.getLineMetrics(String str, FontRenderContext frc)
          Returns a LineMetrics object created with the specified String and FontRenderContext.
 LineMetrics Font.getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 Rectangle2D Font.getStringBounds(String str, FontRenderContext frc)
          Returns the bounds of the specified String in the specified FontRenderContext.
 Rectangle2D Font.getStringBounds(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns the bounds of the specified String in the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, String str)
          Returns a new GlyphVector object created with the specified String and the specified FontRenderContext.
 void Window.applyResourceBundle(String rbName)
          Load the ResourceBundle with the given name using the default locale and apply its settings to this window.
 void Dialog.setTitle(String title)
          Sets the title of the Dialog.
 void FileDialog.setDirectory(String dir)
          Sets the directory of this file dialog window to be the specified directory.
 void FileDialog.setFile(String file)
          Sets the selected file for this file dialog window to be the specified file.
 void LayoutManager.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
protected abstract  java.awt.peer.FontPeer Toolkit.getFontPeer(String name, int style)
          Deprecated. see java.awt.GraphicsEnvironment#getAllFonts
abstract  Image Toolkit.getImage(String filename)
          Returns an image which gets pixel data from the specified file, whose format can be either GIF, JPEG or PNG.
abstract  Image Toolkit.createImage(String filename)
          Returns an image which gets pixel data from the specified file.
abstract  PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, Properties props)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
 PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, JobAttributes jobAttributes, PageAttributes pageAttributes)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
 Cursor Toolkit.createCustomCursor(Image cursor, Point hotSpot, String name)
          Creates a new custom cursor object.
static String Toolkit.getProperty(String key, String defaultValue)
          Gets a property with the specified key and default.
 Object Toolkit.getDesktopProperty(String propertyName)
          obtain a value for the specified desktop property.
protected  void Toolkit.setDesktopProperty(String name, Object newValue)
          set the named desktop property to the specified value and fire a property change event to notify any listeners that the value has changed
protected  Object Toolkit.lazilyLoadDesktopProperty(String name)
          an opportunity to lazily evaluate desktop property values.
 void Toolkit.addPropertyChangeListener(String name, PropertyChangeListener pcl)
          add the specified property change listener for the named desktop property If pcl is null, no exception is thrown and no action is performed.
 void Toolkit.removePropertyChangeListener(String name, PropertyChangeListener pcl)
          remove the specified property change listener for the named desktop property If pcl is null, no exception is thrown and no action is performed.
static Color Color.decode(String nm)
          Converts a String to an integer and returns the specified opaque Color.
static Color Color.getColor(String nm)
          Finds a color in the system properties.
static Color Color.getColor(String nm, Color v)
          Finds a color in the system properties.
static Color Color.getColor(String nm, int v)
          Finds a color in the system properties.
 void List.add(String item)
          Adds the specified item to the end of scrolling list.
 void List.addItem(String item)
          Deprecated. replaced by add(String).
 void List.add(String item, int index)
          Adds the specified item to the the scrolling list at the position indicated by the index.
 void List.addItem(String item, int index)
          Deprecated. replaced by add(String, int).
 void List.replaceItem(String newValue, int index)
          Replaces the item at the specified index in the scrolling list with the new string.
 void List.remove(String item)
          Removes the first occurrence of an item from the list.
 void TextComponent.setText(String t)
          Sets the text that is presented by this text component to be the specified text.
static Cursor Cursor.getSystemCustomCursor(String name)
           
 void Choice.add(String item)
          Adds an item to this Choice menu.
 void Choice.addItem(String item)
          Adds an item to this Choice.
 void Choice.insert(String item, int index)
          Inserts the item into this choice at the specified position.
 void Choice.remove(String item)
          Remove the first occurrence of item from the Choice menu.
 void Choice.select(String str)
          Sets the selected item in this Choice menu to be the item whose name is equal to the specified string.
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void Frame.setTitle(String title)
          Sets the title for this frame to the specified string.
 void JobAttributes.setFileName(String fileName)
          Specifies the file name for the output file for jobs using these attributes.
 void JobAttributes.setPrinter(String printer)
          Specifies the destination printer for jobs using these attributes.
 void Label.setText(String text)
          Sets the text for this label to the specified text.
 void TextField.setText(String t)
          Sets the text that is presented by this text component to be the specified text.
 void FlowLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void Button.setLabel(String label)
          Sets the button's label to be the specified string.
 void Button.setActionCommand(String command)
          Sets the command name for the action event fired by this button.
 void TextArea.insert(String str, int pos)
          Inserts the specified text at the specified position in this text area.
 void TextArea.insertText(String str, int pos)
          Deprecated. As of JDK version 1.1, replaced by insert(String, int).
 void TextArea.append(String str)
          Appends the given text to the text area's current text.
 void TextArea.appendText(String str)
          Deprecated. As of JDK version 1.1, replaced by append(String).
 void TextArea.replaceRange(String str, int start, int end)
          Replaces text between the indicated start and end positions with the specified replacement text.
 void TextArea.replaceText(String str, int start, int end)
          Deprecated. As of JDK version 1.1, replaced by replaceRange(String, int, int).
abstract  Object Image.getProperty(String name, ImageObserver observer)
          Gets a property of this image by name.
 

Constructors in java.awt with parameters of type String
AWTPermission(String name)
          Creates a new AWTPermission with the specified name.
AWTPermission(String name, String actions)
          Creates a new AWTPermission object with the specified name.
MenuItem(String label)
          Constructs a new MenuItem with the specified label and no keyboard shortcut.
MenuItem(String label, MenuShortcut s)
          Create a menu item with an associated keyboard shortcut.
Menu(String label)
          Constructs a new menu with the specified label.
Menu(String label, boolean tearOff)
          Constructs a new menu with the specified label, indicating whether the menu can be torn off.
Checkbox(String label)
          Creates a check box with the specified label.
Checkbox(String label, boolean state)
          Creates a check box with the specified label and sets the specified state.
Checkbox(String label, boolean state, CheckboxGroup group)
          Creates a check box with the specified label, in the specified check box group, and set to the specified state.
Checkbox(String label, CheckboxGroup group, boolean state)
          Constructs a Checkbox with the specified label, set to the specified state, and in the specified check box group.
FontFormatException(String reason)
          Report a FontFormatException fo