jtextarea
set background color from start to end char position
What would be an easy way to set the background color of all characters from some start to an end position in Java.[详细]
2023-03-19 06:12 分类:问答Reading text from JTextArea in java
I hav开发者_如何学Goe a JTextArea in my Java program... I want that if I write an asterix (*) in the JTextArea, the output will be ATX as a text... can someone help me please?you can do this[详细]
2023-03-18 06:33 分类:问答Java - Can't get getText in jTextArea to work properly
I have a seperate JFrame where there is a text box (jTextArea) that takes numbers as inputs, each separated with a new line. Upon closing the JFrame with the text box, the data is supposed to be store[详细]
2023-03-17 04:17 分类:问答How to set vertical scrollbar in jdialog?
i have a jdialog with a jpanel inside it.I have jlabels(pictures) on the jpanel.How can i get a vertical scrollbar in jdialog without using te开发者_Python百科xtarea?May be you should try adding your[详细]
2023-03-17 03:23 分类:问答Highlighting Text in java
We are developing a plagiarism detection framework. In there i have to highlight the possible plagiarized phrases in the docu开发者_如何学Cment. The document gets preprocessed with stop word removal,[详细]
2023-03-16 03:39 分类:问答appending text in a jTextBox
public void actionPerformed(ActionEvent evt) {// handle button event Object source = evt.getSource();[详细]
2023-03-15 16:02 分类:问答Java - checking if parseInt throws exception
I\'m wondering how to do something only if Integer.parseInt(whatever) doesn\'t fail. More specifically I have a jTextArea of user specified values seperated by line breaks.[详细]
2023-03-15 10:20 分类:问答How to limit the height of an auto-resizing JTtextArea
I have several text areas aligned vertically.I want them to expand as more text is typed, but put a limit on how tall they\'ll become.[详细]
2023-03-15 01:25 分类:问答Component for glass pane console-style text display
I\'m trying to provide a progress report for a slow operation, in the form of text scrolling up from the bottom of the screen with details on what\'s going on - it\'s an effect you may have seen a few[详细]
2023-03-14 06:27 分类:问答How to get highlighted text in a jtextarea
I have a jtextarea with some texts. I use java highligher to highlight some texts on that jtextarea. I want to print the content of that textarea to another textarea with the highlig开发者_如何学Pytho[详细]
2023-03-13 16:32 分类:问答
加载中,请稍侯......