jtextarea
Why isn't my JScrollPane with a JTextArea visible when using null LayoutManager?
I\'m trying to display a JTextArea within a JScrollPane, but I just get an empty frame when I run my (simplified) program:[详细]
2023-02-23 04:44 分类:问答Using FileReader only displays Last Line of Text File?
I\'m trying to display the information from a text file in a JTextArea I\'ve created in a GUI. I\'ve figured out how to get the info from the file to the JTextArea, but it\'s only grabbing the last li[详细]
2023-02-23 03:57 分类:问答Want to display JList over the JTextArea
I want to disply JList over the JTex开发者_Python百科tArea but its showing it behind the JTextArea. I have attached two images to describe my problem through images.At runtime how can we set JList ove[详细]
2023-02-23 01:21 分类:问答cant append string to jtextarea
public class Main { private static void createAndShowGUI(){ JFrame frame1 = new JFrame(\"FINAL YEAR PROJECT VER 1.0\");[详细]
2023-02-22 11:57 分类:问答Include JTextArea or JTextPane in JSP?
I want to embed a text are to show the log information of my web application in my jsp file. I am totally new to JSP. I even don\'t know, which one is more suitable JTextArea, or JTexTPane. Users will[详细]
2023-02-21 23:30 分类:问答Why do JTextArea and TextLayout wrap words differently?
We have an app that draws text, but then displays a JTextArea for the user to edit the text when they click on the text. However, the wrapping between these two text-handling components differs. They[详细]
2023-02-21 19:07 分类:问答JTextArea does not show up
import net.htmlparser.jericho.*; import java.util.*; import java.awt.BorderLayout; import java.io.*; import java.net.*;[详细]
2023-02-20 03:16 分类:问答writing output to a textarea in a different class instead of using system.out.println
I have a GUI class called readGUI and a listener class called TopicS The aim is to print the output from TopicS in a textArea which is located in readGUI[详细]
2023-02-19 13:50 分类:问答Java JTextArea font
I have a custom font installed on my PC called \"BMW1\". I\'m trying to loop through all entries in this font and display them in a JTextArea.[详细]
2023-02-18 19:16 分类:问答How to get text from JTextArea?
I have a JTextArea on a JFrame and a JButton. When user types characters on the JTextArea textArea and presses the button, I want the information to be saved in a textFile.[详细]
2023-02-17 05:31 分类:问答