Here's the code I used to create the text area shown in Figure 3-2, which I then added to a panel: textNovel = new JTextArea(10, 25); JScrollPane scroll ...
確定! 回上一頁