Top "Jscrollbar" questions

JScrollBar is a Java Swing component to indicate the current position and the visible area size (by length of knob) if horizontal or vertical scrolling is involved so only part of the view is visible.

JTable with horizontal scrollbar

Is there any way to enable horizontal scroll-bar whenever necessary? The situation was as such: I've a JTable, one of …

java swing jtable jscrollpane jscrollbar
NetBeans: how to add ScrollBar to JPanel

I am developing a small desktop application in NetBeans. On my UI, I place a JPanel and put a single …

java swing netbeans jscrollpane jscrollbar
How to add scrollbar in JFrame with null layout?

I want to add a vertical scroll-bar on my JFrame with null layout. Is it possible or not? please help!

java swing jframe jscrollbar null-layout-manager
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 …

java swing layout jpanel jscrollbar
Automatically scroll to the bottom of a text area

I have a text area with scroll bar. At regular intervals, I am adding new lines of text to it. …

java swing jscrollpane jtextarea jscrollbar
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 …

java swing jscrollpane jtextarea jscrollbar
stop horizontal scrolling in JTextArea

I want to add a JTextArea to an application. Normally that textarea contains large content and both horizontal and vertical …

java swing jscrollpane jtextarea jscrollbar
JScrollPane Set Scroll Position

I have following code snippet query_area = new JTextArea(""); query_scroll_pane = new JScrollPane(query_area); query_scroll_pane.setSize(1000,80); …

java swing jscrollpane jscrollbar adjustment
How can I detect if a JScrollPane's scroll bar changes visibility?

I have JScrollPane that contains some images in a horizontal row. If the row of images is too long for …

java swing jscrollpane jscrollbar
Make a custom JScrollBar using an image

So I use Java Swing to build the UI for my app and use custom images to replace the ugly …

java swing custom-controls jscrollpane jscrollbar