Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [jscrollpane]

The tag jscrollpane could be used for questions about two topics: 1) a Java Swing component named JScrollPane, 2) a jQuery plugin. Please verify the companion tags to clarify the context of the question.

jscrollpane
598 questions with no upvoted or accepted answers
7 votes
1 answer
2k views

JLabel with wrapped HTML-text as JScrollPane client

A JLabel containing HTML-text automatically wraps lines using the available space. If one adds that JLabel to a JSrollPane he has to set the preferredSize to a decent value otherwise it won`t wrap. ...
user avatar
5 votes
1 answer
830 views

jQuery jScrollPane Plugin IE 8 scroll is very slow with large data/content

jQuery jScrollPane Plugin in IE 8 scroll is loading and scrolling very slowly. It was same in IE 9 also, but since i have applied the fix mentioned in jScrollPane causes slow script warning it is ...
user1654525's user avatar
4 votes
1 answer
103 views

Can't add component to panel in scrollPane in java

I'm working in desktop application in Java. I put a scroll pane and put a panel inside it to add a Label called name and an empty TextField and a button called more. What I want is when the button is ...
yoyo riri's user avatar
  • 121
4 votes
1 answer
1k views

JScrollPane content to image

I'm trying to save the main viewport and headers of a JScrollPane (larger than screen) to PNG image files. I created 3 classes extending JPanel (MainTablePanel, MapsHeaderPanel and ItemsHeaderPanel) ...
Sebastian Ikaros Rizzo's user avatar
4 votes
1 answer
3k views

jScrollPane jquery plugin, jspDrag doesn't exceed to end

After some time fiddling today I mocked up a quick modular slider for one of my client's website. I wanted to theme the scrollbars so went ahead and picked up the the jQuery plugin called "jScrollPane"...
Shad Asinger's user avatar
4 votes
1 answer
336 views

jScrollPane won't maintain its position when dynamic content is added or subracted (jQuery)

I'm adding content dynamically into my jScrollPane DIV, and I've finally made it expand the pane height or get rid of it depending on the amount of content, however I need it in this instance not to ...
Mr.2's user avatar
  • 155
4 votes
2 answers
680 views

jScrollPane Over Video in Safari Resulting in Distorted Text

My site: http://shuttersonthebeach.com My browser/os: Safari 5.0.4 +/Mac The issue: click on either 'calendar' or 'specials' in the masthead of the page. An overlay should reveal. Inside of that ...
morrisbret's user avatar
3 votes
1 answer
96 views

Updating Color of custom ScrollBar UI

How does one re-set the color of a ScrollBar with a custom BasicScrollBarUI ? I know I can use this to set the color the first time: protected void paintThumb(Graphics g, JComponent c, Rectangle ...
Lory A's user avatar
  • 530
3 votes
1 answer
779 views

jScrollpane not working with bootstrap selectpicker refresh method

I have tried to integrate jScrollpane custom scroll bar with bootstrap select picker dropdown. When we remove any option element from dropdown and refresh it using selectpicker refresh method/ ...
Tushar Pamar's user avatar
3 votes
0 answers
402 views

Java Scrolling Bar disappears when using BorderLayout NORTH

Problem and Code Summary:This will make sense if you run the code below. I'm using a JScrollPane and its scroll bar is disappearing when it is placed in a JPanel with a BorderLayout (NORTH). When the ...
akarshkumar0101's user avatar
3 votes
0 answers
340 views

JScrollPane only vertical and resize content Horizontal

I'm using the jre1.8.0_66, the newest JRE currently. I've the following problem with my code. I've a jpanel with a BoxLayout(Y_AXIS) into a JScrollPane, and when I resize the window I want my ...
Jorge Dacal Cantos's user avatar
3 votes
0 answers
245 views

JTextArea inside JPanel inside JScrollPane

I am creating a console and need to have two JTextAreas inside a JPanel inside a JScrollPane. Since setLineWrap(true) does not work when it is not directly inside the JScrollPane, I found a neat ...
Haeri's user avatar
  • 681
3 votes
1 answer
265 views

JOptionPane, JTextArea, and JScrollPane, Displaying ouput

This is a HW assignment given to the class and I believe I have everything working correctly but I am having trouble displaying all of the information I would need on the output. If you look at ...
DDNPresident's user avatar
3 votes
0 answers
133 views

Jscrollpane scroll div when not hovering over it

I have only one div that needs scrolling with Jscrollpane on a page. Currently the div is only scrollable when hovering over it.I want to be able to scroll that div even if the mouse is not over the ...
user avatar
3 votes
1 answer
4k views

JScrollPane Zoom view with components inside

Are there any methods which i want to zoom the view of the viewport but the location of the components inside does not change. The setting is that i have a big jpanel inside a jscrollpane in which i ...
Lore Jairus Camero's user avatar

15 30 50 per page
1
2 3 4 5
40