jscrollbar
stop horizontal scrolling in JTextArea
I want to add a JTextArea开发者_如何学JAVA to an application. Normally that textarea contains large content and both horizontal and vertical ScrollBars appear when running that application. I want to[详细]
2023-03-24 11:34 分类:问答Horizontal scroll bar doesn't show up?
JScrollBar _hor开发者_运维问答izontalScroll; _verticalScroll = new JScrollBar(JScrollBar.VERTICAL);[详细]
2023-03-20 06:33 分类:问答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 分类:问答How to add scrollbar to panel in java, without borderlayout?
Here is my code: //this is a JPanel, the gray panel behind the A4 paper public Panel(int w, int h) {//w=624, h=600[详细]
2023-02-15 22:20 分类:问答Java scrollbar option
If you can I would like someone to help me make my java interface with a开发者_如何学C scrollbar option,so I can go up and down my window.[详细]
2023-02-03 16:12 分类:问答JScrollBar Vertical/Horizontal setting problem- Java Swing
I am just trying to add a vertical scroll bar to my TextField and TextArea. I am using a ScrollPane and it should createavertical/horizontal scroll bar by default.[详细]
2023-01-29 23:56 分类:问答How to modify a JPanel's size inside a JScrollPane?
I just can\'t get this right. I have a slider to increase my JPanel\'s size (used as a canvas to draw on).[详细]
2023-01-25 05:02 分类:问答How to set jTextArea to have height that matches the size of a text it contains (to avoid scrollbars)
This problem looks trivial, but I can\'t find the solution. When I create a form it contains a JTextArea. I want to put large constant text in it. If the text is say 1000 lines long, I want my JText[详细]
2023-01-04 15:50 分类:问答encode html in Asp.net C# but leave tags intact
I need t开发者_运维百科o encode a whole text while leaving the < and > intact. example <p>Give me 100.000 €!</p>[详细]
2022-12-19 17:56 分类:问答