//text.java
import java.awt.*;
public class text extends Frame{
TextField text1;
public text(){
setLayout(new FlowLayout()); //设置Frame的布局
text1=new TextField(20); //
package ch10.section07;
public class Text {
private String content;
public Text() {
}
public void SetContent(String str) {
content = str;
}
public String GetContent() {
# Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
!IF "$(CFG)" == ""
CFG=Text - Win32 Debug
!MESSAGE No co
--------------------Configuration: Text - Win32 Release--------------------
Begining build with project "H:\u004\prog\text.13\Text.dsp", at root.
Active configuration is Win32 (x86) Application (bas
-- Set Text Strings
-- For this example, keep the strings in a table, you could parse a textfile
textstrings = {}
textstrings[0] = "This is text string 0"
textstrings[1] = "Text string 1"
texts